2015-11-30, 21:31
You are mixing too many things And maybe Razze explanation was not very clear
You need to query "PVR.GetChannels" to get the list of channels, find what is your channel in this list with the name then use than channelId in {"jsonrpc": "2.0", "id":"1", "method": "Player.Open","params":{"item":{"channelid":%s}}}
the channelIds are internal to Kodi and not the ids from the backend.
You can use filters to limit the returns of "PVR.GetChannels" there's example out there, but maybe it's out of the scope of your needs.
You need to query "PVR.GetChannels" to get the list of channels, find what is your channel in this list with the name then use than channelId in {"jsonrpc": "2.0", "id":"1", "method": "Player.Open","params":{"item":{"channelid":%s}}}
the channelIds are internal to Kodi and not the ids from the backend.
You can use filters to limit the returns of "PVR.GetChannels" there's example out there, but maybe it's out of the scope of your needs.