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 9f90d1b20212236b850275e80b2cce2026dea4de..b69c8b372f0a540dce950f84fdd8a597ae0c6ea9 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)"""))
 
+               self.session.nav.playService(eServiceReference(config.tv.lastservice.value))
+
                class ChannelActionMap(NumberActionMap):
                        def action(self, contexts, action):
                                if not self.csel.enterBouquet(action):