2015-11-29, 20:55
I'm trying to open a given PVR channel with json and use
where %s is the placeholder for the movie channel. But the player opens the radio channel with the given number instead. I'm shure there must be an additional parameter (as item is mixed) but I don't found anything...
Ups, found out that the channelid is not the same as the channelnumber used as a property in ListItem.ChannelNumberLabel. So how can I determine from ChannelName (which is unique) to the channelid with JSON RPC?
Code:
{"jsonrpc": "2.0", "id":"1", "method": "Player.Open","params":{"item":{"channelid":%s}}}
Ups, found out that the channelid is not the same as the channelnumber used as a property in ListItem.ChannelNumberLabel. So how can I determine from ChannelName (which is unique) to the channelid with JSON RPC?