Kodi Community Forum

Full Version: Live TV Channels
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am a newbie to the JSON RPC and am trying to figure out the code for sending a command to XBMC that will tune to a specific channel (favorite). I have figured out how to show the LiveTV OSD by reading through some threads here on the forum and using the following code:

{"jsonrpc":"2.0","id": 1,"method":"GUI.ActivateWindow", "params": {"window":"pvrosdchannels"}, "id": "1"}}

However, I need help with writing the code that will actually tune to the specific (favorite) channel. Any help would be appreciated.
Try using open.player and use link like this:
"pvr://channels/tv/All TV channels/##.pvr" ## = Channel number