X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/abf92f8e291a1b4515926085ef34f41362133217..5a809fb2179992658911f8b2f074e60dac53454c:/Navigation.py 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