v4l_tuner.py:
def get_bouquet_list(self):
"""
Return bouquets as a list
"""
bl = []
log.info('DEVICE %s'%len(self.channels.values()))
for c in self.channels.values():
bl.append([])
bl[-1].append(c.tunerid)
return bl
self.channels.values() is 0
I think I found the problem, it lines in the __init__ of v4l_tuner.py
Around line 180 there is an "if" statement:
When I run this; neither of the if statements are hit, so channels never gets populated which is where the bouquet starts from.I think I found the problem, it lines in the __init__ of v4l_tuner.py
Around line 180 there is an "if" statement:
self.channels = {}
log.info('CHANNELS %s'%channels)
if channels:
if type(channels) == ListType:
log.info('PARSE')
self.parse_channels(channels)
elif os.path.exists(channels):
log.info('LOAD')
self.load_channels(channels)
log.info('CHANNELS %s'%channels)
I've got a feeling at a valid channels.conf will solve this problem but I haven't tested it yet but I will. But I doubt that's the correct answer to this problem; maybe you could have help.
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Freevo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freevo-devel
