2018-05-29, 13:04
If i make a title non-ascii it will error and won't get into epg.
i.e.:
i.e.:
Code:
#EXTINF:-1 tvg-id="TVN Fabula PL" tvg-name="TVN Fabuła FHD" ,TVN Fabuła FHD
Code:
12:03:26.088 T:123145480544256 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnicodeEncodeError'>
Error Contents: 'ascii' codec can't encode character u'\u0142' in position 8: ordinal not in range(128)
Traceback (most recent call last):
File "/Users/tbrek/Library/Application Support/Kodi/addons/plugin.video.iptv.recorder/main.py", line 2890, in <module>
plugin.run()
File "/Users/tbrek/Library/Application Support/Kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 332, in run
items = self._dispatch(self.request.path)
File "/Users/tbrek/Library/Application Support/Kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 306, in _dispatch
listitems = view_func(**items)
File "/Users/tbrek/Library/Application Support/Kodi/addons/plugin.video.iptv.recorder/main.py", line 1497, in channel
add_favourite_channel(channelname, channelid, thumbnail)
File "/Users/tbrek/Library/Application Support/Kodi/addons/plugin.video.iptv.recorder/main.py", line 1746, in add_favourite_channel
channelname = channelname.decode("utf8")
File "/Users/Shared/jenkins/workspace/OSX-64/tools/depends/xbmc-depends/macosx10.10_x86_64-target/lib/python2.7/encodings/utf_8.py", line 16, in decode
UnicodeEncodeError: 'ascii' codec can't encode character u'\u0142' in position 8: ordinal not in range(128)
-->End of Python script error report<--