handle additional arguments
[enigma2.git] / lib / python / Screens / ChannelSelection.py
index 0870232e59dcc898f5f494b45dfe6b0e1493388f..a52fd36772b08e0fae054feb9178f3a72c1ecf1f 100644 (file)
@@ -1032,6 +1032,20 @@ class ChannelSelection(ChannelSelectionBase, ChannelSelectionEdit, ChannelSelect
                        self.lastservice.value = refstr
                        self.lastservice.save()
 
+       def setCurrentServicePath(self, path):
+               hlen = len(self.history)
+               if hlen > 0:
+                       self.history[self.history_pos] = path
+               else:
+                       self.history.append(path)
+               self.setHistoryPath()
+
+       def getCurrentServicePath(self):
+               hlen = len(self.history)
+               if hlen > 0:
+                       return self.history[self.history_pos]
+               return None
+
        def recallPrevService(self):
                hlen = len(self.history)
                if hlen > 1: