X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=Navigation.py;h=c453c6c71ca0dcba1141070e180fe470c9c4a4b4;hb=7f6e964b3c956b93ac7097127e0c1da7afd3df6c;hp=7e7c0f218d72235fbfc6bf90bd7c7b2e67c04d48;hpb=abf92f8e291a1b4515926085ef34f41362133217;p=vuplus_dvbapp diff --git a/Navigation.py b/Navigation.py index 7e7c0f2..c453c6c 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