mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-02 19:01:40 +00:00
include album artist song/album count for jellyfin, and disable playing/adding playinsts for artists with no albums
This commit is contained in:
parent
6f7cb468b2
commit
5d9906b8f2
4 changed files with 20 additions and 5 deletions
|
|
@ -284,7 +284,7 @@ const normalizeAlbumArtist = (
|
|||
) || [];
|
||||
|
||||
return {
|
||||
albumCount: null,
|
||||
albumCount: item.AlbumCount ?? null,
|
||||
backgroundImageUrl: null,
|
||||
biography: item.Overview || null,
|
||||
duration: item.RunTimeTicks / 10000,
|
||||
|
|
@ -308,7 +308,7 @@ const normalizeAlbumArtist = (
|
|||
serverId: server?.id || '',
|
||||
serverType: ServerType.JELLYFIN,
|
||||
similarArtists,
|
||||
songCount: null,
|
||||
songCount: item.SongCount ?? null,
|
||||
userFavorite: item.UserData?.IsFavorite || false,
|
||||
userRating: null,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue