Kodi Community Forum
Live TV Channels - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+--- Thread: Live TV Channels (/showthread.php?tid=201618)



Live TV Channels - ddlldr - 2014-08-07

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.


RE: Live TV Channels - Lunatixz - 2014-08-07

Try using open.player and use link like this:
"pvr://channels/tv/All TV channels/##.pvr" ## = Channel number