Sorting favorites alphabetically (in FavouritesService.cpp) - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228) +---- Thread: Sorting favorites alphabetically (in FavouritesService.cpp) (/showthread.php?tid=338143) |
Sorting favorites alphabetically (in FavouritesService.cpp) - teriyaki - 2018-12-07 I do not want to have to install an addon just to have sorted favorites, so, would the right place to do this be in xbmc/favourites/FavouritesService.cpp? I was thinking in CFavouritesService::AddOrRemove. Is m_favourites the only consideration? And then something like "m_favourites.sort(SortBySortTitle, SortOrderAscending, SortAttributeNone)"? RE: Sorting favorites alphabetically (in FavouritesService.cpp) - DaVu - 2018-12-07 I would probably do it skin-wise https://github.com/xbmc/xbmc/blob/master/addons/skin.estuary/xml/DialogFavourites.xml#L32-L62 search for the include and take a look at the sortorder RE: Sorting favorites alphabetically (in FavouritesService.cpp) - teriyaki - 2018-12-07 Hi Davu, thanks for your reply. I tried looking into your suggestion but it seems the skin we use on our clients (Aeon Nox 5) is a bit different from estuary and I couldn't figure out what xml to edit, or how to even edit it. Can you think of anything else that may be helpful? It's amazing how such a seemingly simple task can be so frustrating! |