Hi All,
I was trying to get the channel ID and channel ordering same in Kodi. But it seems that kodi is changing the channelid.
For Example -
Suppose I have 6 channels viz.,channel1, channel2, channel3, channel4, channel5, channel6
I am able to get the following order in Kodi -
channel1
channel2
channel3
channel4
channel5
channel6
But their ids are in different order -
{"id":1,"jsonrpc":"2.0","result":{"channels":[{"channelid":3,"label":"channel1"},{"channelid":4,"label":"channel2"},{"channelid":5,"label":"channel3"},{"channelid":1,"label":"channel4"},{"channelid":6,"label":"channel5"},{"channelid":2,"label":"channel6"}],"limits":{"end":6,"start":0,"total":6}}}
How can this be resolved ?