aboutsummaryrefslogtreecommitdiff
path: root/Navigation.py
diff options
context:
space:
mode:
Diffstat (limited to 'Navigation.py')
-rw-r--r--Navigation.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Navigation.py b/Navigation.py
index 7e7c0f21..c453c6c7 100644
--- a/Navigation.py
+++ b/Navigation.py
@@ -30,6 +30,10 @@ class Navigation:
def playService(self, ref):
self.currentlyPlayingServiceReference = None
+ if ref is None:
+ self.stopService()
+ return 0
+
if not self.pnav.playService(ref):
self.currentlyPlayingServiceReference = ref
return 0