@
scott967 No, they aren't all compilations. If they are by a single album artist (generally true, but not necessarily always) then they aren't (in Kodi's processing) a compilation. A better description, at least for me, is that they are generally anthologies and tend to consist of re-releases of previous work that is either re-mastered or exactly the same as the original release but often with added extras such as various re-mixes and/or demo's and previously unreleased versions.
Quote:Filter on "boxset" as a type of release
- Already working via a new node. You can also filter via the jsonrpc by querying
{"jsonrpc": "2.0", "id": 1, "method": "AudioLibrary.GetAlbums","params":{"properties":["artist", "description", "albumlabel","genre","compilation"],"boxset":true}}
. That will only return albums that are marked as boxsets. Alternatively, you can add "boxset" as a property and do something like
{"jsonrpc": "2.0", "id": 1, "method": "AudioLibrary.GetAlbums","params":{"properties":["artist", "boxset"], "filter":{"field":"artist","operator":"is","value":"Erasure"}}}
which will return all the albums that Erasure feature on and whether or not the album is marked as a boxset.
From a skinning point of view, there are two new labels
ListItem.DiscName
and
MusicPlayer.DiscName
. In my slightly modified Estuary skin, in the first node ListItem.DiscName shows the name of each of the discs in the set unless there is an album description (nowhere else to fit that information in), in the song view it shows the name of the disc you are currently viewing. MusicPlayer.DiscName contains the name of the disc you are currently listening to, if one exists. Even for albums that aren't marked as boxsets, those labels will be filled if there was a disc subtitle present in the tags.
The boxset node will not appear if there aren't any boxsets.
Technical bit coming for those that don't want to read it.
I need to figure out why AudioLibrary.GetAlbumDetails doesn't return the boxset property even though it is returned in CAlbum from the database. Not sure what I've missed there, perhaps its a field naming issue as AudioLibrary.GetAlbums has some mapping going on between the JSON properties and the db fields and GetAlbumDetails doesn't. Unlikely to be today though as I'm with a client for most of the day.