The way Kodi’s media is displayed in the media browser seems to be quite strange.
It seems its somewhat alphabetical but the most recently added media seems to be at the bottom (atleast in Movies and Television)
My media library is formatted like this:
Music/Artist/Album/song.mp3
TV/Title/Season/Episode.mkv
Movies/Title/Movie.mkv
Ideally you’d get access to Kodi’s sort options like when accessing Kodi via UPNP would be ideal as I use different sort options for different media types.
Examples of Kodi sort options
TV:
Title/Episodes/Date Added/Year/My Rating
Movies:
Title/Year/Rating/My Rating/MPAA Rating/Date Added/Play Count
Music
Album/Artist/Artist-Year/Year/Date Added/Play Count/Last Played/Rating/My Rating
Each of these also can be sorted either in ascending order or descending order
In terms of feasibility of implementing this it seems it can all be handled by the JSON-RPC request