aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormontellese <montellese@xbmc.org>2011-09-25 16:54:21 +0200
committermontellese <montellese@xbmc.org>2011-09-25 16:54:21 +0200
commit9231d3fa5b3c1a4821de181caa1cede46b047087 (patch)
tree7a1a7c424663b3299fe4d78bcf8cf0cf08eb4ef8
parent28f3b593478a94c906f609f469b3adb01b869955 (diff)
jsonrpc: stop slideshow before clearing the picture playlist (fixes #11994)
-rw-r--r--xbmc/interfaces/json-rpc/PlaylistOperations.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/xbmc/interfaces/json-rpc/PlaylistOperations.cpp b/xbmc/interfaces/json-rpc/PlaylistOperations.cpp
index 219f887127..79831b5dcb 100644
--- a/xbmc/interfaces/json-rpc/PlaylistOperations.cpp
+++ b/xbmc/interfaces/json-rpc/PlaylistOperations.cpp
@@ -200,6 +200,7 @@ JSON_STATUS CPlaylistOperations::Clear(const CStdString &method, ITransportLayer
slideshow = (CGUIWindowSlideShow*)g_windowManager.GetWindow(WINDOW_SLIDESHOW);
if (!slideshow)
return FailedToExecute;
+ g_application.getApplicationMessenger().SendAction(CAction(ACTION_STOP), WINDOW_SLIDESHOW);
slideshow->Reset();
break;
}