I tried out the new function to add PVR Timers but wasn’t able to add a new timer. I don’t know if it is a bug or if I am doing something wrong.
First I retrieving a list of broadcasts
Code:
http://127.0.0.1:8080/jsonrpc?request={"jsonrpc":"2.0","method":"PVR.GetBroadcasts","params":{"channelid":11,"limits":{"end":3,"start":0}},"id":29}
Which returns some broadcasts
Code:
{
"broadcasts": [
{
"broadcastid": 217163,
"label": "La meilleure boulangerie de France"
},
{
"broadcastid": 217165,
"label": "Chasseurs d'appart'"
},
{
"broadcastid": 217167,
"label": "Meteo"
}
],
"limits": {
"end": 3,
"start": 0,
"total": 61
}
}
Then I tried to add a timer using a broadcast id
Code:
http://127.0.0.1:8080/jsonrpc?request={"jsonrpc":"2.0","method":"PVR.AddTimer","params":{"broadcastid":217163},"id":33}
It returns an error message
Code:
{
"code": -32602,
"message": "Invalid params."
}
I tested using Kodi 17.0-BETA3 from the Ubuntu ppa and as PVR backend I am using tvheadend.