mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-14 00:02:18 +02:00
fix incorrect imageId assignments (#1456)
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user