self.serviceLevel.remove(service)
def isServicePlayable(self, service, callback):
- if not config.ParentalControl.configured.value or not config.ParentalControl.setuppinactive.value:
+ if not config.ParentalControl.configured.value or not config.ParentalControl.servicepinactive.value:
return True
#print "whitelist:", self.whitelist
#print "blacklist:", self.blacklist
file = open(resolveFilename(SCOPE_CONFIG, "whitelist"), 'r')
lines = file.readlines()
for x in lines:
- self.whitelist.append(x.strip())
+ self.whitelist.append(x.strip().upper())
file.close
except:
pass
file = open(resolveFilename(SCOPE_CONFIG, "blacklist"), 'r')
lines = file.readlines()
for x in lines:
- self.blacklist.append(x.strip())
+ self.blacklist.append(x.strip().upper())
file.close
except:
pass