aboutsummaryrefslogtreecommitdiff
path: root/Navigation.py
diff options
context:
space:
mode:
Diffstat (limited to 'Navigation.py')
-rw-r--r--Navigation.py3
1 files changed, 3 insertions, 0 deletions
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