Project

General

Profile

Channel ID and channel ordering in kodi

Added by nanns ssj4 about 9 years ago

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 ?


Replies (4)

RE: Channel ID and channel ordering in kodi - Added by Gary Brown about 9 years ago

inside kodi go to settings -> TV and enable "Use channel order/numbers from backend"

RE: Channel ID and channel ordering in kodi - Added by Harold Hehinger over 7 years ago

I am having a simular issue. I use the the OTA channel numbers (5.1, 5.2, 5.3, etc). The Kodi installation on Linux imported correctly, but the installation on a Windows machine did not.

Any suggestions..?

Thanks.

RE: Channel ID and channel ordering in kodi - Added by Harold Hehinger over 7 years ago

I made the suggested change, and it did not change the channel numbers.

One note, the Linux version is Kodi 17.1, but Windows is Kodi 17.3. Not sure that would cause an issue.

Thanks

RE: Channel ID and channel ordering in kodi - Added by Lance Gilbert about 7 years ago

Not sure if this is applicable to your case, but I had trouble enabling this setting because I overlooked that recent Windows versions of Kodi default to Standard mode in Options. After I switched to Advanced in System --> PVR & Live TV settings, the option to "Use channel order from backend(s)" became available.

If in Standard mode, only "Use channel order from backend(s)" is available ...

Regards,

    (1-4/4)