aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorFraxinas <andreas.frisch@multimedia-labs.de>2008-11-07 08:58:21 +0100
committerFraxinas <andreas.frisch@multimedia-labs.de>2008-11-07 08:58:21 +0100
commit8c5e8f7163867e2e8bfc07784904dc14a9ebaa86 (patch)
tree2291ca04c5052b25a0d834a4cc4224c948db0e49 /lib/python
parentbe71c7f9fddf86a831914bc5096a1339d331d91d (diff)
downloadenigma2-8c5e8f7163867e2e8bfc07784904dc14a9ebaa86.tar.gz
enigma2-8c5e8f7163867e2e8bfc07784904dc14a9ebaa86.zip
move selection index on EOS (this will scroll through playlist instead of always displaying the uppermost page)
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Components/MediaPlayer.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/python/Components/MediaPlayer.py b/lib/python/Components/MediaPlayer.py
index 791274fc..87ba977c 100644
--- a/lib/python/Components/MediaPlayer.py
+++ b/lib/python/Components/MediaPlayer.py
@@ -40,7 +40,7 @@ def PlaylistEntryComponent(serviceref, state):
if png is not None:
res.append((eListboxPythonMultiContent.TYPE_PIXMAP_ALPHATEST, 5, 0, 16, 16, png))
-
+
return res
class PlayList(MenuList):
@@ -76,6 +76,7 @@ class PlayList(MenuList):
def setCurrentPlaying(self, index):
self.oldCurrPlaying = self.currPlaying
self.currPlaying = index
+ self.moveToIndex(index)
def updateState(self, state):
if len(self.list) > self.oldCurrPlaying and self.oldCurrPlaying != -1: