Freevo Help
After installing the tv listings with the new tv_grab_na_dd and configuring and copying to the tv.xml file when i try to run Freevo I get this error
File
"/usr/local/freevo/runtime/lib/python2.3/site-packages/mmpython/disc/dvdinfo.py",
line 35, in ?
import config
File "/usr/local/freevo/src/config.py", line 767, in
?
TV_CHANNELS = detect_channels()
File "/usr/local/freevo/src/config.py", line 725, in
detect_channels
xmltv_channels =
sortchannels(xmltv_channels,'display-name')
File "/usr/local/freevo/src/config.py", line 663, in
sortchannels
nlist = map(lambda x, key=key: (int(x[key][1][0]),
x), list)
File "/usr/local/freevo/src/config.py", line 663, in
<lambda>
nlist = map(lambda x, key=key: (int(x[key][1][0]),
x), list)
ValueError: invalid literal for int(): 1 SNPR
NY31566:X
this is the portion of the config.py file where it is failing:
def sortchannels(list, key):
# This should be more generic, but I couldn't get
it
# to sort properly without specifying the nested
array
# index for the tunerid and forcing 'int'
for l in list:
if len(l[key]) == 1:
l[key].append(('0',))
nlist = map(lambda x, key=key: (int(x[key][1][0]),
x), list)
nlist.sort()
return map(lambda (key, x): x, nlist)
Does anyone know how to fix this? I am running Mandrake 9.2
|