aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins/Extensions
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2009-10-06 09:37:50 +0200
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2009-10-06 09:37:50 +0200
commit56e21b732a65d9b548f77167230223bb586e82c2 (patch)
tree64a9172747b01ebe5cb5f3b970ce0bdc5d0bacd3 /lib/python/Plugins/Extensions
parent1afe4083af2355924c810b478f0655d695e50c45 (diff)
parent29eeffa0512e1ea22f1bbb2ae486c58e2e529ff6 (diff)
downloadenigma2-56e21b732a65d9b548f77167230223bb586e82c2.tar.gz
enigma2-56e21b732a65d9b548f77167230223bb586e82c2.zip
Merge branch 'master' of git.opendreambox.org:/git/enigma2
Diffstat (limited to 'lib/python/Plugins/Extensions')
-rw-r--r--lib/python/Plugins/Extensions/MediaPlayer/plugin.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/python/Plugins/Extensions/MediaPlayer/plugin.py b/lib/python/Plugins/Extensions/MediaPlayer/plugin.py
index c535e1b1..596f2d5a 100644
--- a/lib/python/Plugins/Extensions/MediaPlayer/plugin.py
+++ b/lib/python/Plugins/Extensions/MediaPlayer/plugin.py
@@ -241,7 +241,10 @@ class MediaPlayer(Screen, InfoBarBase, InfoBarSeek, InfoBarAudioSelection, InfoB
for x in self.playlist.list:
self.playlistIOInternal.addService(ServiceReference(x[0]))
if self.savePlaylistOnExit:
- self.playlistIOInternal.save(resolveFilename(SCOPE_CONFIG, "playlist.e2pls"))
+ try:
+ self.playlistIOInternal.save(resolveFilename(SCOPE_CONFIG, "playlist.e2pls"))
+ except IOError:
+ print "couldn't save playlist.e2pls"
if config.mediaplayer.saveDirOnExit.getValue():
config.mediaplayer.defaultDir.setValue(self.filelist.getCurrentDirectory())
config.mediaplayer.defaultDir.save()