![]() |
Artist Sort Order - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116) +---- Forum: Kodi Remote for iOS Official Forum (https://forum.kodi.tv/forumdisplay.php?fid=193) +---- Thread: Artist Sort Order (/showthread.php?tid=360362) |
Artist Sort Order - dawsonjw - 2021-02-07 Hi, thanks for the update. It is very much appreciated. Noticed that artist sort order seems a bit screwy. It shows correctly in Kodi itself cheers John RE: Artist Sort Order - Buschel - 2021-02-07 Hi John, as this works (with exception of German Umlauts) perfectly fine for me: What exactly is the problem? Can you share screenshots from the App, from Kodi and also share few more details on the Kodi setup you use (version, sort tokens defined)? Thanks! RE: Artist Sort Order - dawsonjw - 2021-02-11 Hi Thanks for replying. For the like of me I can’t work out how to post a photo in this forum. Can you give me a hint. 😀 RE: Artist Sort Order - Buschel - 2021-02-11 Sure. You choose one of the picture/image hosters (e.g. abload.de), upload the screenshot and then place a link here. RE: Artist Sort Order - dawsonjw - 2021-02-11 (2021-02-11, 08:29)Buschel Wrote: Sure. You choose one of the picture/image hosters (e.g. abload.de), upload the screenshot and then place a link here. https://photos.app.goo.gl/PQ72gswt1aLXMhcUA https://photos.app.goo.gl/RQAzyiLjtHc1cdDw5 These links should show screen shots of weird sorting cheers John RE: Artist Sort Order - Buschel - 2021-02-11 Thanks, this looks unexpected. The Remote App is just asking the Kodi Server to send back a sorted list. The App itself does not sort. Can you try to clean the library and rebuild it? I would rather suspect the database or an issue with the server. Btw, which Kodi server version do you use? RE: Artist Sort Order - dawsonjw - 2021-02-12 (2021-02-11, 13:42)Buschel Wrote: Thanks, this looks unexpected. The Remote App is just asking the Kodi Server to send back a sorted list. The App itself does not sort. Can you try to clean the library and rebuild it? I would rather suspect the database or an issue with the server.Hi, ok will delete the musicdb and rebuild it. As mentioned before Kodi shows everything in the correct order. I am using Kodi 18.9. Will get back to you on outcome cheers John RE: Artist Sort Order - dawsonjw - 2021-02-12 (2021-02-12, 02:08)dawsonjw Wrote:Hi,(2021-02-11, 13:42)Buschel Wrote: Thanks, this looks unexpected. The Remote App is just asking the Kodi Server to send back a sorted list. The App itself does not sort. Can you try to clean the library and rebuild it? I would rather suspect the database or an issue with the server.Hi, I deleted the database and rebuilt it with the same result. I have uploaded my database to the following link if this helps https://www.dropbox.com/s/9q9em0a2jr530nj/MyMusic72.db?dl=0 regards John RE: Artist Sort Order - Buschel - 2021-02-12 Wow, interesting. I just copied your database under a fresh installation of Kodi (18.6 Debian version), and I can see similar problems. Obviously the Remote App asks for sorting by "label" instead of "artist". It was like this before as well ... When changing it to request sort by "artist" all looks good at a first glance. I am not sure why the App asked for "label". @howie-f, are or were there good reasons (maybe for backwards compatibility to older Kodi server versions) to sort by "label" instead of "artist" for the method "AudioLibrary.GetArtists"? RE: Artist Sort Order - howie-f - 2021-02-14 @Buschel could be this is an oversight from old times. honestly not sure. but it‘s fine if adjusted now for current versions RE: Artist Sort Order - Buschel - 2021-02-14 (2021-02-14, 18:19)howie-f Wrote: @Buschel could be this is an oversight from old times. honestly not sure. but it‘s fine if adjusted now for current versionsHmm, is there any chance to figure out from which version on this was supported? In the Wiki I cannot see these details even for JSON-RPC/v8 (which definitely supports sort by "artist", I still use a Kodi 17.6 Server here for Music playback). The code for the methods/parameters to sort the response for "AudioLibrary.GetArtists" was not changed since more than 9 years ... Ideally we can make the change for all versions. RE: Artist Sort Order - howie-f - 2021-02-14 @Buschel you could look at the git blame for https://github.com/xbmc/xbmc/blob/master/xbmc/interfaces/json-rpc/schema/methods.json when this was introduced and which api bump happened there EDIT... https://github.com/xbmc/xbmc/blob/master/xbmc/interfaces/json-rpc/schema/types.json is the correct file to look at RE: Artist Sort Order - howie-f - 2021-02-14 from a quick glance it looks like the artists-option for List.Sort was introduced with this commit https://github.com/xbmc/xbmc/commit/5fc16bd9cb1ec94ceee189b524d5881f20cc4aab that is nine years old. RE: Artist Sort Order - Buschel - 2021-02-14 (2021-02-14, 20:19)howie-f Wrote: @BuschelThanks, looks like "artist" was supported from the very first version of this file (10 years back). Safe enough, I guess. ![]() RE: Artist Sort Order - dawsonjw - 2021-02-21 Thanks for fixing it Cheers John |