X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=Navigation.py;h=0262a4652f780fc4cc2488d5171d577e6a571ff8;hp=06d47ac4fcad6f6cf83de246bde15670c52942a3;hb=0b891b6bb8643fc0a82025fa5227caf61368ee8c;hpb=bf5a085bb50970bb6d1e4e6b4a8b4dbce33a7ba3 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