kodi-pvr / pvr.nextpvr

Kodi's NextPVR client addon
GNU General Public License v2.0
22 stars 33 forks source link

Adjust channel group logic #222

Closed emveepee closed 1 year ago

emveepee commented 1 year ago

Nexus changed logic and channel groups are now loaded before channels. Group logic in pvr.nextpvr requires the channels to be loaded first to classify Radio and TV groups. The calling order of these calls was not documented and this will be safer but it will also mean backend channel lists will be called 2 additional times. GetChannelGroupAmount() is still assumed after the group loads to save an additional call.

This change could impact load time of very large IPTV lists and users might need to be advised to disable Radio when they they are only using TV.