self.servicelist.setPlayableIgnoreService(eServiceReference())
def setMode(self):
+ self.rootChanged = True
self.restoreRoot()
lastservice=eServiceReference(self.lastservice.value)
if lastservice.valid():
config.radio.lastroot.save()
def restoreRoot(self):
- tmp = [x for x in self.lastroot.value.split(';') if x != '']
+ tmp = [x for x in config.radio.lastroot.value.split(';') if x != '']
current = [x.toString() for x in self.servicePath]
if tmp != current or self.rootChanged:
cnt = 0