margro / TVServerXBMC

Kodi/XBMC pvr backend plugin for MediaPortal's TVServer
http://www.scintilla.utwente.nl/~marcelg/xbmc/tvserverxbmc.html
20 stars 18 forks source link

Wrong order for channels in EPG and channel list #15

Open emaijala opened 7 years ago

emaijala commented 7 years ago

Looks like TVServerKodi is displaying the channels in the order they are mapped to the first TV tuner (TV Channels -> TV Mapping in MediaPortal's TV Server Configuration). I believe it should use the order of the channels in the main channel list (TV Channels in config), since that's the one where the channels can be reordered and that's also the order MediaPortal itself is using. Thi sis with MediaPortal v1.15 and TVServerKodi v1.15.0.137.

margro commented 7 years ago

The problem is that the TVServer supports different ordering for different groups. This is not supported by Kodi. Kodi can only sort by backend channel number or based on the order of the total list of channels that it receives. The TVServerKodi plugin uses by default the "All channels" ordering for that.