2018-04-13, 15:19
(2018-04-13, 13:49)wigee Wrote: Since the change to XML i cannot get it to work on any device...You have something weird in your m3u file at byte number 1966.
I tried with seperate m3u file and via the config of Simple iptv.
Also tried with the use of the links of xtream editor ->NOK
Also tried the nuke option -> NOK
Can you please check?
Here is the logfile:
13:38:32.263 T:1676 ERROR: C:\Users\surf\AppData\Roaming\Kodi\addons\script.module.urllib3\lib\urllib3\connectionpool.py:858: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest...l-warnings
InsecureRequestWarning)
13:39:44.650 T:16272 WARNING: Skin has invalid include:
13:40:13.941 T:4400 WARNING: Previous line repeats 4 times.
13:40:13.941 T:4400 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
13:40:13.953 T:4400 NOTICE: [xbmcswift2] Request for "/" matches rule for function "index"
13:40:13.953 T:4400 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
13:40:15.836 T:14524 WARNING: Previous line repeats 3 times.
13:40:15.836 T:14524 NOTICE: [xbmcswift2] Request for "/groups" matches rule for function "groups"
13:40:15.838 T:14524 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
13:40:17.078 T:13096 WARNING: Previous line repeats 1 times.
13:40:17.078 T:13096 NOTICE: [xbmcswift2] Request for "/group/All+Channels" matches rule for function "group"
13:40:17.079 T:13096 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
13:40:18.473 T:13120 WARNING: Previous line repeats 2 times.
13:40:18.473 T:13120 NOTICE: [xbmcswift2] Request for "/groups" matches rule for function "groups"
13:40:18.474 T:13120 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
13:40:19.774 T:6564 WARNING: Previous line repeats 1 times.
13:40:19.774 T:6564 NOTICE: [xbmcswift2] Request for "/" matches rule for function "index"
13:40:19.775 T:6564 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
13:41:26.795 T:16272 WARNING: Previous line repeats 2 times.
13:41:26.795 T:16272 ERROR: Control 50 in window 10025 has been asked to focus, but it can't
13:41:27.157 T:10472 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
13:41:27.168 T:10472 NOTICE: [xbmcswift2] Request for "/" matches rule for function "index"
13:41:27.169 T:10472 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
13:41:30.058 T:15052 WARNING: Previous line repeats 3 times.
13:41:30.058 T:15052 NOTICE: [xbmcswift2] Request for "/nuke" matches rule for function "nuke"
13:41:36.896 T:15052 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
13:41:36.928 T:15052 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnicodeDecodeError'>
Error Contents: 'utf8' codec can't decode byte 0xe9 in position 1966: invalid continuation byte
Traceback (most recent call last):
File "C:\Users\surf\AppData\Roaming\Kodi\addons\plugin.video.iptv.recorder\main.py", line 2070, in <module>
plugin.run()
File "C:\Users\surf\AppData\Roaming\Kodi\addons\script.module.xbmcswift2\lib\xbmcswift2\plugin.py", line 332, in run
items = self._dispatch(self.request.path)
File "C:\Users\surf\AppData\Roaming\Kodi\addons\script.module.xbmcswift2\lib\xbmcswift2\plugin.py", line 306, in _dispatch
listitems = view_func(**items)
File "C:\Users\surf\AppData\Roaming\Kodi\addons\plugin.video.iptv.recorder\main.py", line 1954, in nuke
full_service()
File "C:\Users\surf\AppData\Roaming\Kodi\addons\plugin.video.iptv.recorder\main.py", line 1521, in full_service
xmltv()
File "C:\Users\surf\AppData\Roaming\Kodi\addons\plugin.video.iptv.recorder\main.py", line 1741, in xmltv
data = f.read().decode("utf8")
File "C:\Program Files (x86)\Kodi\system\python\Lib\encodings\utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe9 in position 1966: invalid continuation byte
-->End of Python script error report<--
13:41:36.987 T:16272 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.iptv.recorder/nuke
13:41:36.988 T:16272 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.iptv.recorder/nuke) failed
13:41:37.320 T:15096 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
13:41:37.333 T:15096 NOTICE: [xbmcswift2] Request for "/" matches rule for function "index"
13:41:37.333 T:15096 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
It can't decode 0xe9 as a utf8 character.
Is your file encoded as utf8 or something more exotic?
You could try changing whatever the name is to something more ascii if possible.
Try to change this line
https://github.com/primaeval/plugin.vide...n.py#L1741
to
Code:
data = f.read()
unicode and utf8 are always the major problems with these addons.