Skip to content

Commit

Permalink
jsonrpc: stop slideshow before clearing the picture playlist (fixes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
Montellese committed Sep 25, 2011
1 parent 28f3b59 commit 9231d3f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xbmc/interfaces/json-rpc/PlaylistOperations.cpp
Expand Up @@ -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;
}
Expand Down

0 comments on commit 9231d3f

Please sign in to comment.