diff options
| author | Fraxinas <andreas.frisch@multimedia-labs.de> | 2008-11-07 09:21:24 +0100 |
|---|---|---|
| committer | Fraxinas <andreas.frisch@multimedia-labs.de> | 2008-11-07 09:21:24 +0100 |
| commit | cef8f42aa76d0ebf17b5b7ddf9883d6d6128c280 (patch) | |
| tree | fca583fe3163fa92a2f3097bb493712444a3f390 /lib/python | |
| parent | 35d025bd394476f31a195cff83b26cc614fe1a5d (diff) | |
| download | enigma2-cef8f42aa76d0ebf17b5b7ddf9883d6d6128c280.tar.gz enigma2-cef8f42aa76d0ebf17b5b7ddf9883d6d6128c280.zip | |
refresh playlist when adding playlist via filelist. when copying directory to playlist, only add media files and no playlist files
Diffstat (limited to 'lib/python')
| -rw-r--r-- | lib/python/Plugins/Extensions/MediaPlayer/plugin.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/python/Plugins/Extensions/MediaPlayer/plugin.py b/lib/python/Plugins/Extensions/MediaPlayer/plugin.py index ed1a8874..2233998c 100644 --- a/lib/python/Plugins/Extensions/MediaPlayer/plugin.py +++ b/lib/python/Plugins/Extensions/MediaPlayer/plugin.py @@ -632,7 +632,7 @@ class MediaPlayer(Screen, InfoBarBase, InfoBarSeek, InfoBarAudioSelection, InfoB if x[0][1] == True: #isDir if recursive: self.copyDirectory(x[0][0]) - else: + elif filelist.getServiceRef().type != 4098: self.playlist.addFile(x[0][0]) self.playlist.updateList() @@ -646,6 +646,7 @@ class MediaPlayer(Screen, InfoBarBase, InfoBarSeek, InfoBarAudioSelection, InfoB list = playlist.open(ServiceRef.getPath()) for x in list: self.playlist.addFile(x.ref) + self.playlist.updateList() else: self.playlist.addFile(self.filelist.getServiceRef()) self.playlist.updateList() |
