fix incorrect imageId assignments (#1456)

This commit is contained in:
jeffvli
2025-12-30 15:18:03 -08:00
parent 6ddaf0366c
commit 4a025f82e4
13 changed files with 28 additions and 23 deletions
@@ -232,7 +232,7 @@ const normalizeAlbum = (
_itemType: LibraryItem.ALBUM,
_serverId: server?.id || '',
_serverType: ServerType.JELLYFIN,
albumArtistName: item.AlbumArtist || '',
albumArtistName: item.AlbumArtist,
albumArtists:
item.AlbumArtists.map((entry) => ({
id: entry.Id,
+1 -8
View File
@@ -225,15 +225,8 @@ export type AlbumArtist = {
userRating: null | number;
};
export type Artist = {
export type Artist = Omit<AlbumArtist, '_itemType'> & {
_itemType: LibraryItem.ARTIST;
_serverId: string;
_serverType: ServerType;
biography: null | string;
createdAt: string;
id: string;
name: string;
updatedAt: string;
};
export type AuthenticationResponse = {