From 129e3e0b0d05297b6ad3465d288594b46c225bba Mon Sep 17 00:00:00 2001 From: Moritz Venn Date: Wed, 14 Oct 2009 12:26:52 +0000 Subject: [PATCH] fix result in mediaplayerwrite --- webinterface/src/WebComponents/Sources/MP.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webinterface/src/WebComponents/Sources/MP.py b/webinterface/src/WebComponents/Sources/MP.py index 0df9013..f8f04cc 100644 --- a/webinterface/src/WebComponents/Sources/MP.py +++ b/webinterface/src/WebComponents/Sources/MP.py @@ -142,7 +142,9 @@ class MP(Source): if mp is None: return (False, "mediaplayer not installed") + fullPath = resolveFilename(SCOPE_CONFIG, filename) mp.playlistIOInternal.save(resolveFilename(SCOPE_CONFIG, filename)) + return (True, "playlist saved to %s" % fullPath) def command(self, param): # TODO: fix error handling -- 2.7.4