Posts: 3
Joined: May 2018
Reputation:
0
Hi,
I getting the following error:
20:04:13.289 T:1858073504 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.AttributeError'>
Error Contents: 'NoneType' object has no attribute 'timetuple'
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.video.iptv.recorder/main.py", line 2839, in <module>
plugin.run()
File "/storage/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 332, in run
items = self._dispatch(self.request.path)
File "/storage/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 306, in _dispatch
listitems = view_func(**items)
File "/storage/.kodi/addons/plugin.video.iptv.recorder/main.py", line 1465, in channel
return listing(programmes, scroll=True)
File "/storage/.kodi/addons/plugin.video.iptv.recorder/main.py", line 1577, in listing
starttime = utc2local(start)
File "/storage/.kodi/addons/plugin.video.iptv.recorder/main.py", line 169, in utc2local
timestamp = calendar.timegm(utc.timetuple())
AttributeError: 'NoneType' object has no attribute 'timetuple'
-->End of Python script error report<--
Where could be the problem ?
The channels and epg seems to be loaded correctly.
Thanks in advance
Gonçalo
Posts: 52
Joined: Feb 2018
Reputation:
4
One more thing: I have multiple channels like TVN24, TVN24HD, TVN24FHD. They all have the same tvg-id as they're the same channel but different quality. IPTV recorder is showing only one instance: TVN24.
Posts: 3,101
Joined: Apr 2014
Reputation:
270
You might have to force an update of my repo to get 0.0.52.
Sometimes you even have to remove my repo and re-add it.
I've never got to the bottom of how Kodi caches repo update checks and when it tries again.
"MiniMini+ HD" doesn't match "Minimini+ HD".
That might be the problem.
The channel names have to be url encoded internally for kodi to handle them.
If it's not that I'll see if I can recreate the problem and have another look.
Only Windows has the option to use an external scheduler so far.
I started work on systemd timers and it got complicated very quickly.
Does macos use systemd or cron or something else?
The default is just to use the internal Kodi timer mechanism.
Maybe there is a problem with that on macos.
Have a look in the jobs folder in
userdata\addon_data\plugin.video.iptv.recorder\jobs
You should get a .py file when the job is created with how it is going to run ffmpeg.
When the ffmpeg recording starts you should get a .pid file with the process id in it.
If you turn on
Settings \ Debug \ debug ffmpeg stdout/stderr
you should get the output of ffmpeg when it runs in .stdout and .stderr files.
Let me know if any of those files gets created for your future program recordings.
Posts: 3,101
Joined: Apr 2014
Reputation:
270
Don't worry about those warnings.
I'll have a deeper look at the +.
Different streams with the same tvg-id used to work. I'll see if I can repair that.
Posts: 3,101
Joined: Apr 2014
Reputation:
270
Channels with multiple resolution streams should work now except in the Full EPG.
The Full EPG is just the xmltv's view of the world.