mzanetti / kodimote

Kodimote is a remote control application for Kodi
GNU General Public License v3.0
20 stars 9 forks source link

[sailfish] Weird sorting for add-ons lists #56

Open paulvt opened 9 years ago

paulvt commented 9 years ago

The list of add-ons are sorted in a way that I cannot determine, for example my video add-ons are listed in the following order: XBMC Online TV, NOS, Vimeo, HD-trailers.net, Youtube, Nederland 24 I don't know what sorting is used here. Also if there are lists inside some add-on, it has the same problem (for example in XBMC Online TV I have: Title with 'O', Titles with 'A', Titles with 'H', and so on).

I am using kodimote 2.0.2 on Sailfish OS.

RobertMe commented 9 years ago

Hi, I'm currently not in a position to validate this. But normaly we ask Kodi to order the list based on the title. But for add-ons this means we lose the order as defined by the add-on (for example with normal menus, like the YouTube add-ons search, recommended, categories etc) . So for add-ons we don't let Kodi do the ordering (nor do it ourself). So this means the ordering should be the same as in Kodi (which indeed means it isn't necessarily the alphabetical order on the title). Would you be able to validate this? If the order in Kodimote is the same as displayed in Kodi itself.

paulvt commented 9 years ago

So, the within the Youtube-add-on it seems to be ok, the main list has the same order as in Kodi itself (sort order option is greyed out in the skin). If I enter "My Watched Later" and "My History" the list is indeed the same as in Kodi (sort order is set to "default"). Other simple add-ons such as "Nederland 24", "Vimeo", "HD-Trailers.net" seem to be in sync too indeed.

The main problem seems to be with the XBMC Online TV, the sort order seems arbitrary, regardless whether I set it to "date", "name" or "default". Given that it's not in the official repository maybe this issue shouldn't have any priority then.

What is weird still is that the list of music/video add-ons themselves is also ordered weirdly... I would assume that this list could still be ordered by name/title.

RobertMe commented 9 years ago

Thanks for the quick feedback and testing :smile: I will check XOT then, if there is anything we can do.

The list of addons themself is also 'unordered', so we indeed might want to ask Kodi to order them by their name.