Navigation: Correct channel number when userbouquet was searched
authorLittlesat <littlesat99@yahoo.com>
Sat, 9 Nov 2013 21:19:34 +0000 (22:19 +0100)
committerLittlesat <littlesat99@yahoo.com>
Sat, 9 Nov 2013 21:19:34 +0000 (22:19 +0100)
Navigation.py

index eaeca6f..f9ff93f 100644 (file)
@@ -82,7 +82,8 @@ class Navigation:
                                self.currentlyPlayingServiceReference = playref
                                self.currentlyPlayingServiceOrGroup = ref
                                if InfoBarInstance is not None:
-                                       InfoBarInstance.servicelist.servicelist.setCurrent(ref)
+                                       if InfoBarInstance.servicelist.servicelist.setCurrent(ref):
+                                               self.currentlyPlayingServiceOrGroup = InfoBarInstance.servicelist.servicelist.getCurrent()
                                if self.pnav.playService(playref):
                                        print "Failed to start", playref
                                        self.currentlyPlayingServiceReference = None