X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/85209b4213f85d7b5f9f46ee5cfc1c6115c51828..af3c70e61bf4e7e2e0afc51b0e3a0cd717c20f54:/lib/python/Components/EpgList.py?ds=sidebyside diff --git a/lib/python/Components/EpgList.py b/lib/python/Components/EpgList.py index 30f566fd..8a7c8d45 100644 --- a/lib/python/Components/EpgList.py +++ b/lib/python/Components/EpgList.py @@ -284,6 +284,12 @@ class EPGList(HTMLComponent, GUIComponent): x = self.l.getCurrentSelection() return x and x[1] + def moveToService(self,serviceref): + for x in range(len(self.list)): + if self.list[x][1] == serviceref.toString(): + self.instance.moveSelectionTo(x) + break + def moveToEventId(self, eventId): index = 0 for x in self.list: