remove same entries in simpleScan
[enigma2.git] / lib / python / Screens / ChannelSelection.py
index c8bfb2cb4021a43cef90e2a10eb219d4b8c3167d..6abb52d9351a1241876d7a9346fffab2b4540917 100644 (file)
@@ -2,7 +2,7 @@ from Screen import Screen
 from Components.Button import Button
 from Components.ServiceList import ServiceList
 from Components.ActionMap import ActionMap
-
+from EpgSelection import EPGSelection
 from enigma import eServiceReference
 
 from Screens.FixedMenu import FixedMenu
@@ -81,12 +81,15 @@ class ChannelSelection(Screen):
                                "ok": self.channelSelected,
                                "mark": self.doMark,
                                "contextMenu": self.doContext,
-                               "showFavourites": self.showFavourites
+                               "showFavourites": self.showFavourites,
+                               "showEPGList": self.showEPGList
                        })
                self["actions"].csel = self
 
+       def showEPGList(self):
+               self.session.open(EPGSelection, self["list"].getCurrent())
+
        #  marked edit mode
-       
        def startMarkedEdit(self):
                self.bouquet_mark_edit = True
                self.clearMarks()
@@ -155,9 +158,6 @@ class ChannelSelection(Screen):
                else:
                        self.movemode = True
 
-       def getCurrent(self):
-               return self["list"].getCurrent()
-
        def showFavourites(self):
                l = self["list" ]
                l.setRoot(eServiceReference('1:0:1:0:0:0:0:0:0:0:(provider == "fav")'))