2014-05-20, 16:58
(2014-05-20, 14:24)Lunatixz Wrote:(2014-05-20, 04:41)Dec64 Wrote: @Lunatixz
Getting errors on creating channels for certain live tv channels.
Code:03:38:01 T:140257737672448 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.ValueError'>
Error Contents: invalid literal for int() with base 10: 'I316.751025.microsoft.com'
Traceback (most recent call last):
File "/home/declan/.xbmc/addons/script.pseudotv.live-master/resources/lib/Overlay.py", line 289, in onInit
if self.readConfig() == False:
File "/home/declan/.xbmc/addons/script.pseudotv.live-master/resources/lib/Overlay.py", line 407, in readConfig
self.channels = self.channelList.setupList()
File "/home/declan/.xbmc/addons/script.pseudotv.live-master/resources/lib/ChannelList.py", line 158, in setupList
self.setupChannel(i + 1, False, makenewlists, False)
File "/home/declan/.xbmc/addons/script.pseudotv.live-master/resources/lib/ChannelList.py", line 512, in setupChannel
if self.channels[channel - 1].setPlaylist(CHANNELS_LOC + 'channel_' + str(channel) + '.m3u') == True:
File "/home/declan/.xbmc/addons/script.pseudotv.live-master/resources/lib/Channel.py", line 48, in setPlaylist
return self.Playlist.load(filename)
File "/home/declan/.xbmc/addons/script.pseudotv.live-master/resources/lib/Playlist.py", line 217, in load
tmpitem.duration = int(line[8:index])
ValueError: invalid literal for int() with base 10: 'I316.751025.microsoft.com'
-->End of Python script error report<--
What xmltv source are you using?
use mc2xml to generate my xml files. Never had this issue with it before. I removed the channels causing the issue just so i could get it to load. Now when it loads it's only showing about half the channels, as if it can not read the xmltv data from the others.
settings2.xml
xmltv.xml