ChannelNumber: Fix for services start by timer and possibly also PIP
authorLittlesat <littlesat99@yahoo.com>
Thu, 26 Jul 2012 23:14:06 +0000 (01:14 +0200)
committerLittlesat <littlesat99@yahoo.com>
Thu, 26 Jul 2012 23:14:06 +0000 (01:14 +0200)
Navigation.py
lib/python/Screens/ChannelSelection.py

index 168fada..6869314 100644 (file)
@@ -8,6 +8,7 @@ import SleepTimer
 import Screens.Standby
 import NavigationInstance
 import ServiceReference
+from Screens.InfoBar import InfoBar
 
 # TODO: remove pNavgation, eNavigation and rewrite this stuff in python.
 class Navigation:
@@ -65,6 +66,7 @@ class Navigation:
                if ref is None:
                        self.stopService()
                        return 0
+               InfoBar.instance.servicelist.servicelist.setCurrent(ref)
                if not checkParentalControl or parentalControl.isServicePlayable(ref, boundFunction(self.playService, checkParentalControl = False)):
                        if ref.flags & eServiceReference.isGroup:
                                if not oldref:
index 81a59cd..a71bfc2 100644 (file)
@@ -1451,7 +1451,6 @@ class ChannelSelection(ChannelSelectionBase, ChannelSelectionEdit, ChannelSelect
                cur_root = self.getRoot()
                if cur_root and cur_root != root:
                        self.setRoot(root)
-               self.servicelist.setCurrent(ref)
                self.session.nav.playService(ref)
                if self.dopipzap:
                        self.setCurrentSelection(self.session.pip.getCurrentService())