PVR Channel switch timer
#1
I would like to see that I can set timers to switch to a channel when a program starts. Right now, I have made cronjobs that handle this. Now I'm not an XBMC developer but isn't implementing this as easy as adjusting the code for scheduling recordings and, instead of sending a command to the pvr frontend to schedule a recording, add a cronjob (or something simmilar) to switch channels? Those are just my thoughts.

For the people wondering, this is the command I added as a cronjob:

curl --data-binary '{"jsonrpc": "2.0", "id":"1", "method": "Player.Open","params":{"item":{"channelid":1}}}' -H "Upgrade:websocket" -H 'content-type: application/json;' http://hostname:httpport/jsonrpc

Where "channelid":1 is the channel number you want to switch to.
Reply

Logout Mark Read Team Forum Stats Members Help
PVR Channel switch timer0