2013-10-23, 02:15
I've found a workaround, but i don't know what this effects:
The xbmc.log says:
So i've changed ChannelList.py to this and it works:
The xbmc.log says:
Code:
File "C:\Users\pünktchen\AppData\Roaming\XBMC\addons\script.pseudotv.live\resources\lib\ChannelList.py", line 1707, in buildLiveTVFileList
tmpstr = str(dur) + ',' + title + "//" + "LiveTV" + "//" + description + "//" + '\n' + url
UnboundLocalError: local variable 'dur' referenced before assignment
So i've changed ChannelList.py to this and it works:
Code:
if tvdbid > 0:
dur = (stopDate - startDate).seconds
# tmpstr = str(dur) + ',' + title + "//" + "LiveTV" + "//" + description + "//" + str(tvposterurl) + '\n' + url
tmpstr = str(dur) + ',' + title + "//" + "LiveTV" + "//" + description + "//" + '\n' + url
elif imdbid > 0:
dur = (stopDate - startDate).seconds
# tmpstr = str(dur) + ',' + title + "//" + "LiveMovie" + "//" + description + "//" + str(moviePosterUrl) + '\n' + url
tmpstr = str(dur) + ',' + title + "//" + "LiveMovie" + "//" + description + "//" + '\n' + url
else:
dur = (stopDate - startDate).seconds
tmpstr = str(dur) + ',' + title + "//" + "LiveTV" + "//" + description + "//" + '\n' + url