From 0b891b6bb8643fc0a82025fa5227caf61368ee8c Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Thu, 18 Jan 2007 00:20:13 +0000 Subject: [PATCH] do not play running service again --- Navigation.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Navigation.py b/Navigation.py index 06d47ac..0262a46 100644 --- a/Navigation.py +++ b/Navigation.py @@ -42,6 +42,9 @@ class Navigation: def playService(self, ref, checkParentalControl = True): oldref = self.currentlyPlayingServiceReference + if ref and oldref and ref == oldref: + print "ignore request to play already running service" + return 0 print "playing", ref and ref.toString() self.currentlyPlayingServiceReference = None self.currentlyPlayingService = None -- 2.7.4