diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2008-11-07 14:38:13 +0100 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2008-11-07 14:38:13 +0100 |
| commit | f8d344bcac5f2a6dd17032e6ca3d3fa9b96291b3 (patch) | |
| tree | db33254d33e0c074d34c68076b670e7a36d1cc58 /lib/python/Components/MediaPlayer.py | |
| parent | 613447d89ad124aa6fb52627dd7c98085cdd8d31 (diff) | |
| parent | f5dc0e14397ef85ad77df165de061264dd2166fd (diff) | |
| download | enigma2-f8d344bcac5f2a6dd17032e6ca3d3fa9b96291b3.tar.gz enigma2-f8d344bcac5f2a6dd17032e6ca3d3fa9b96291b3.zip | |
Merge branch 'master' of git.opendreambox.org:/git/enigma2
Diffstat (limited to 'lib/python/Components/MediaPlayer.py')
| -rw-r--r-- | lib/python/Components/MediaPlayer.py | 3 |
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: |
