fix playing file when adding to the playlist
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Fri, 24 Mar 2006 09:29:07 +0000 (09:29 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Fri, 24 Mar 2006 09:29:07 +0000 (09:29 +0000)
lib/python/Screens/MediaPlayer.py

index d2f3c08..2ae53fa 100644 (file)
@@ -284,7 +284,7 @@ class MediaPlayer(Screen, InfoBarSeek):
                self.playlist.addFile(self.filelist.getServiceRef())
                self.playlist.updateList()
                if len(self.playlist) == 1:
-                       self.playEntry()
+                       self.changeEntry(0)
 
        def nextEntry(self):
                next = self.playlist.getCurrentIndex() + 1