2019-04-26, 15:52
Nevermind how this worked prior to Kodi 18, I'm very confused by it but all that really matter is fixing it now!
Openwebif introduced a new API in version 1.3.5 that contains the channel number. I had this in an old branch and it never got added. The next release will have this added.
Note that the channel number will be used for the first occurrence when read from the set top box. So if you use a master list make sure it's the first bouquet read.
If you want to check the bouquet order you can check the openwebif api:
or the json api
You will only see the channel number (called "pos") in the json api.
Openwebif introduced a new API in version 1.3.5 that contains the channel number. I had this in an old branch and it never got added. The next release will have this added.
Note that the channel number will be used for the first occurrence when read from the set top box. So if you use a master list make sure it's the first bouquet read.
If you want to check the bouquet order you can check the openwebif api:
Code:
http://<you-ip>/web/getservices
or the json api
Code:
http://<you-ip>/api/getservices?provider=1&picon=1
You will only see the channel number (called "pos") in the json api.