From: Andreas Monzner Date: Thu, 18 Jan 2007 00:20:13 +0000 (+0000) Subject: do not play running service again X-Git-Tag: 2.6.0~2435 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/0b891b6bb8643fc0a82025fa5227caf61368ee8c?ds=sidebyside do not play running service again --- diff --git a/Navigation.py b/Navigation.py index 06d47ac4..0262a465 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