jsonrpc: only close the specified player (fixes #13936)
[vuplus_xbmc] / xbmc / interfaces / json-rpc / PlayerOperations.cpp
index fb2b5e4..89f7b87 100644 (file)
@@ -262,7 +262,7 @@ JSONRPC_STATUS CPlayerOperations::Stop(const CStdString &method, ITransportLayer
   {
     case Video:
     case Audio:
-      CApplicationMessenger::Get().SendAction(CAction(ACTION_STOP));
+      CApplicationMessenger::Get().MediaStop(true, parameterObject["playerid"].asInteger());
       return ACK;
 
     case Picture: