restore last channel
authorRonny Strutz <ronny.strutz@multimedia-labs.de>
Tue, 29 Nov 2005 03:15:38 +0000 (03:15 +0000)
committerRonny Strutz <ronny.strutz@multimedia-labs.de>
Tue, 29 Nov 2005 03:15:38 +0000 (03:15 +0000)
lib/python/Screens/ChannelSelection.py

index 9f90d1b..b69c8b3 100644 (file)
@@ -314,6 +314,8 @@ class ChannelSelection(ChannelSelectionBase, ChannelSelectionEdit):
                if config.tv.lastroot.value == "":
                        self.servicelist.setRoot(eServiceReference("""1:0:1:0:0:0:0:0:0:0:(type == 1)"""))
 
                if config.tv.lastroot.value == "":
                        self.servicelist.setRoot(eServiceReference("""1:0:1:0:0:0:0:0:0:0:(type == 1)"""))
 
+               self.session.nav.playService(eServiceReference(config.tv.lastservice.value))
+
                class ChannelActionMap(NumberActionMap):
                        def action(self, contexts, action):
                                if not self.csel.enterBouquet(action):
                class ChannelActionMap(NumberActionMap):
                        def action(self, contexts, action):
                                if not self.csel.enterBouquet(action):