2018-03-24, 21:15
Hello,
I'm using your addon on Android TV but I have an issue while selecting a channel
The date format (starttime) returned by the jsonrpc looks good, eg: 2018-03-24 05:15:00
I'm on CET timezone if it can matter
I'm using your addon on Android TV but I have an issue while selecting a channel
Code:
19:40:20.167 T:18446744073046853936 NOTICE: [xbmcswift2] Request for "/channel/MyChannel/1" matches rule for function "channel"
19:40:20.407 T:18446744073046853936 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.OverflowError'>
Error Contents: mktime argument out of range
Traceback (most recent call last):
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.iptv.recorder/main.py", line 970, in <module>
plugin.run()
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 332, in run
items = self._dispatch(self.request.path)
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 306, in _dispatch
listitems = view_func(**items)
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.iptv.recorder/main.py", line 562, in channel
start = str2dt(starttime)
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.iptv.recorder/main.py", line 112, in str2dt
return utc2local(res)
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.iptv.recorder/main.py", line 102, in utc2local
epoch = time.mktime(utc.timetuple())
OverflowError: mktime argument out of range
-->End of Python script error report<--
19:40:20.512 T:18446744073432856880 ERROR: GetDirectory - Error getting plugin://plugin.video.iptv.recorder/channel/MyChannel/1
19:40:20.516 T:18446744073432856880 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.iptv.recorder/channel/MyChannel/1) failed
The date format (starttime) returned by the jsonrpc looks good, eg: 2018-03-24 05:15:00
I'm on CET timezone if it can matter