Skip to content

Commit

Permalink
[pvr] - json GetTimers to return broadcast id as it is now the unique…
Browse files Browse the repository at this point in the history
… epg identifier
  • Loading branch information
phunkyfish committed Dec 23, 2020
1 parent 9aafe58 commit 15f4e4b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions xbmc/interfaces/json-rpc/schema/types.json
Original file line number Diff line number Diff line change
Expand Up @@ -1139,7 +1139,7 @@
"weekdays", "priority", "startmargin", "endmargin", "state",
"file", "directory", "preventduplicateepisodes", "startanytime",
"endanytime", "epgsearchstring", "fulltextepgsearch", "recordinggroup",
"maxrecordings", "epguid", "isreadonly", "isreminder", "clientid" ]
"maxrecordings", "epguid", "isreadonly", "isreminder", "clientid", "broadcastid" ]
}
},
"PVR.Details.Timer": {
Expand Down Expand Up @@ -1177,7 +1177,8 @@
"epguid": { "type": "integer" },
"isreadonly": { "type": "boolean" },
"isreminder": { "type": "boolean" },
"clientid": { "$ref": "Library.Id" }
"clientid": { "$ref": "Library.Id" },
"broadcastid": { "$ref": "Library.Id" }
}
},
"PVR.Fields.Recording": {
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 11.20.1
JSONRPC_VERSION 11.21.1
1 change: 1 addition & 0 deletions xbmc/pvr/timers/PVRTimerInfoTag.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ void CPVRTimerInfoTag::Serialize(CVariant& value) const
value["recordinggroup"] = m_iRecordingGroup;
value["maxrecordings"] = m_iMaxRecordings;
value["epguid"] = m_iEpgUid;
value["broadcastid"] = m_epgTag ? m_epgTag->DatabaseID() : -1;
value["serieslink"] = m_strSeriesLink;

value["clientid"] = m_iClientId;
Expand Down

0 comments on commit 15f4e4b

Please sign in to comment.