From d29dad2c2d56f1664fd7bedf08b5e45ceb85d47c Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Tue, 10 Oct 2006 13:46:16 +0000 Subject: use service compare strings instead of eServiceReferences in parental control --- Navigation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Navigation.py') diff --git a/Navigation.py b/Navigation.py index 9ba0afc5..f8c84173 100644 --- a/Navigation.py +++ b/Navigation.py @@ -41,7 +41,7 @@ class Navigation: self.stopService() return 0 - if not checkParentalControl or parentalControl.isServicePlayable(ref, boundFunction(self.playService, checkParentalControl = False)): + if not checkParentalControl or parentalControl.isServicePlayable(ref.toCompareString(), boundFunction(self.playService, checkParentalControl = False)): if self.pnav and not self.pnav.playService(ref): self.currentlyPlayingServiceReference = ref return 0 -- cgit v1.2.3