Compilation support for Jellyfin artist albums, misc other album filter fixes

- Jellyfin will use `ContributingArtistsId` (compilation), `AlbumArtistIds` (compilation is false), or `ArtistIds` (unspecified; all)
- Jellyfin can filter by compilation _only_ on the artist discography page
- Navidrome album filter fix for `defaultValue` display and prevent showing `tagQuery` 0 when querying
- Subsonic can filter by one or more artists in the album page. Sort is also applied on these items
- Bump genre/tag cache/stale time to 2/1 minutes
- Fix various cases where the album filter would display as active when it wasn't
This commit is contained in:
Kendall Garner
2025-07-02 07:44:57 -07:00
parent 6f5dd4881a
commit 176a95a946
7 changed files with 167 additions and 47 deletions
@@ -316,8 +316,10 @@ export const SubsonicController: ControllerEndpoint = {
return artist.body.artist.album ?? [];
});
const items = albums.map((album) => ssNormalize.album(album, apiClientProps.server));
return {
items: albums.map((album) => ssNormalize.album(album, apiClientProps.server)),
items: sortAlbumList(items, query.sortBy, query.sortOrder),
startIndex: 0,
totalRecordCount: albums.length,
};