Skip to content

Commit

Permalink
Merge pull request #15093 from ksooo/jsonrpc-pvr-record
Browse files Browse the repository at this point in the history
[json-rpc][pvr] Fix 'PVR.Record'.
  • Loading branch information
ksooo committed Dec 20, 2018
2 parents 5c54d25 + 61e737e commit 738f4f8
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/PVROperations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ JSONRPC_STATUS CPVROperations::Record(const std::string &method, ITransportLayer

if (toggle)
{
if (!CServiceBroker::GetPVRManager().GUIActions()->SetRecordingOnChannel(pChannel, pChannel->IsRecording()))
if (!CServiceBroker::GetPVRManager().GUIActions()->SetRecordingOnChannel(pChannel, !pChannel->IsRecording()))
return FailedToExecute;
}

Expand Down
2 changes: 1 addition & 1 deletion xbmc/interfaces/json-rpc/schema/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
JSONRPC_VERSION 10.0.0
JSONRPC_VERSION 10.0.1

0 comments on commit 738f4f8

Please sign in to comment.