Skip to content

Commit

Permalink
jsonrpc: fix return value of "volume" property in Application.GetProp…
Browse files Browse the repository at this point in the history
…erties
  • Loading branch information
Montellese committed May 3, 2013
1 parent 40000ac commit 2b458e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion xbmc/interfaces/json-rpc/ApplicationOperations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down
2 changes: 1 addition & 1 deletion xbmc/interfaces/json-rpc/ServiceDescription.h
Original file line number Diff line number Diff line change
Expand Up @@ -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[] = {
Expand Down

0 comments on commit 2b458e0

Please sign in to comment.