Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

jsonrpc: fix return value of "volume" property in Application.GetProp…

…erties
  • Loading branch information...
commit 2b458e08378553ff986fe82c5f70059367572c53 1 parent 40000ac
@Montellese Montellese authored
View
2  xbmc/interfaces/json-rpc/ApplicationOperations.cpp
@@ -109,7 +109,7 @@ JSONRPC_STATUS CApplicationOperations::Quit(const CStdString &method, ITransport
JSONRPC_STATUS CApplicationOperations::GetPropertyValue(const CStdString &property, CVariant &result)
{
if (property.Equals("volume"))
- result = g_application.GetVolume();
+ result = (int)g_application.GetVolume();
else if (property.Equals("muted"))
result = g_application.IsMuted();
else if (property.Equals("name"))
View
2  xbmc/interfaces/json-rpc/ServiceDescription.h
@@ -22,7 +22,7 @@
namespace JSONRPC
{
const char* const JSONRPC_SERVICE_ID = "http://www.xbmc.org/jsonrpc/ServiceDescription.json";
- const char* const JSONRPC_SERVICE_VERSION = "6.5.0";
+ const char* const JSONRPC_SERVICE_VERSION = "6.5.1";
const char* const JSONRPC_SERVICE_DESCRIPTION = "JSON-RPC API of XBMC";
const char* const JSONRPC_SERVICE_TYPES[] = {
Please sign in to comment.
Something went wrong with that request. Please try again.