
Untitled
By: a guest on
Apr 22nd, 2012 | syntax:
Diff | size: 0.77 KB | hits: 14 | expires: Never
diff --git a/xbmc/interfaces/json-rpc/PlayerOperations.cpp b/xbmc/interfaces/json-rpc/PlayerOperations.cpp
index e02d1f0..1ba78b7 100644
--- a/xbmc/interfaces/json-rpc/PlayerOperations.cpp
+++ b/xbmc/interfaces/json-rpc/PlayerOperations.cpp
@@ -534,10 +534,12 @@ JSONRPC_STATUS CPlayerOperations::Open(const CStdString &method, ITransportLayer
for (int index = 0; index < list.Size(); index++)
slideshow->Add(list[index].get());
+ int flags = 0;
if (optionShuffled.isBoolean() && optionShuffled.asBoolean())
- slideshow->Shuffle();
+ flags |= 2;
- return StartSlideshow();
+ CGUIMessage msg(GUI_MSG_START_SLIDESHOW, 0, 0, flags);
+ slideshow->OnMessage(msg);
}
else
{