Skip to content

Commit

Permalink
Merge pull request xbmc#10927 from hudokkow/json_fixes
Browse files Browse the repository at this point in the history
Json fixes
  • Loading branch information
hudokkow committed Nov 15, 2016
2 parents f9d600a + d5d06a7 commit b812296
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions xbmc/interfaces/json-rpc/InputOperations.cpp
Expand Up @@ -145,12 +145,12 @@ JSONRPC_STATUS CInputOperations::ShowCodec(const std::string &method, ITransport
return MethodNotFound;
}

JSONRPC_STATUS CInputOperations::ShowPlayerProcessInfo(const std::string &method, ITransportLayer *transport, IClient *client, const CVariant &parameterObject, CVariant &result)
JSONRPC_STATUS CInputOperations::ShowOSD(const std::string &method, ITransportLayer *transport, IClient *client, const CVariant &parameterObject, CVariant &result)
{
return SendAction(ACTION_PLAYER_PROCESS_INFO);
return SendAction(ACTION_SHOW_OSD);
}

JSONRPC_STATUS CInputOperations::ShowOSD(const std::string &method, ITransportLayer *transport, IClient *client, const CVariant &parameterObject, CVariant &result)
JSONRPC_STATUS CInputOperations::ShowPlayerProcessInfo(const std::string &method, ITransportLayer *transport, IClient *client, const CVariant &parameterObject, CVariant &result)
{
return SendAction(ACTION_SHOW_OSD);
return SendAction(ACTION_PLAYER_PROCESS_INFO);
}
2 changes: 1 addition & 1 deletion xbmc/interfaces/json-rpc/InputOperations.h
Expand Up @@ -43,8 +43,8 @@ namespace JSONRPC
static JSONRPC_STATUS Home(const std::string &method, ITransportLayer *transport, IClient *client, const CVariant &parameterObject, CVariant &result);

static JSONRPC_STATUS ShowCodec(const std::string &method, ITransportLayer *transport, IClient *client, const CVariant &parameterObject, CVariant &result);
static JSONRPC_STATUS ShowPlayerProcessInfo(const std::string &method, ITransportLayer *transport, IClient *client, const CVariant &parameterObject, CVariant &result);
static JSONRPC_STATUS ShowOSD(const std::string &method, ITransportLayer *transport, IClient *client, const CVariant &parameterObject, CVariant &result);
static JSONRPC_STATUS ShowPlayerProcessInfo(const std::string &method, ITransportLayer *transport, IClient *client, const CVariant &parameterObject, CVariant &result);

static JSONRPC_STATUS SendAction(int actionID, bool wakeScreensaver = true, bool waitResult = false);

Expand Down
2 changes: 1 addition & 1 deletion xbmc/interfaces/json-rpc/schema/methods.json
Expand Up @@ -2071,7 +2071,7 @@
"transport": "Response",
"permission": "ControlPVR",
"params": [
{ "name": "broadcastid", "$ref": "Library.Id", "required": true, "description": "the broadcast id of the item to toggle a onetime timer or time rule for" }
{ "name": "broadcastid", "$ref": "Library.Id", "required": true, "description": "the broadcast id of the item to toggle a onetime timer or time rule for" },
{ "name": "timerrule", "type": "boolean", "default": false, "description": "controls whether to create / delete a timer rule or a onetime timer" }
],
"returns": "string"
Expand Down
2 changes: 1 addition & 1 deletion xbmc/interfaces/json-rpc/schema/version.txt
@@ -1 +1 @@
7.22.2
7.22.3

0 comments on commit b812296

Please sign in to comment.