mirror of
https://github.com/jeffvli/feishin.git
synced 2024-11-20 06:27:09 +01:00
fix(jellyfin): return "Appears On" section to artist page (#812)
Exclude 'AlbumArtistIds' when querying "Appears On" items, which, if put together with 'ContributingArtistIds', returns an empty list.
This commit is contained in:
parent
993841ddbf
commit
61d7e7c390
@ -293,10 +293,14 @@ export const JellyfinController: ControllerEndpoint = {
|
||||
userId: apiClientProps.server?.userId,
|
||||
},
|
||||
query: {
|
||||
AlbumArtistIds: query.artistIds
|
||||
? formatCommaDelimitedString(query.artistIds)
|
||||
: undefined,
|
||||
ContributingArtistIds: query.compilation ? query.artistIds?.[0] : undefined,
|
||||
...(!query.compilation &&
|
||||
query.artistIds && {
|
||||
AlbumArtistIds: formatCommaDelimitedString(query.artistIds),
|
||||
}),
|
||||
...(query.compilation &&
|
||||
query.artistIds && {
|
||||
ContributingArtistIds: query.artistIds[0],
|
||||
}),
|
||||
GenreIds: query.genres ? query.genres.join(',') : undefined,
|
||||
IncludeItemTypes: 'MusicAlbum',
|
||||
IsFavorite: query.favorite,
|
||||
|
Loading…
Reference in New Issue
Block a user