diff --git a/src/shared/api/jellyfin/jellyfin-normalize.ts b/src/shared/api/jellyfin/jellyfin-normalize.ts index 0803ede2a..8a31a5799 100644 --- a/src/shared/api/jellyfin/jellyfin-normalize.ts +++ b/src/shared/api/jellyfin/jellyfin-normalize.ts @@ -173,17 +173,18 @@ const normalizeSong = ( : undefined, } : null, - genres: item.GenreItems?.map((entry) => ({ - _itemType: LibraryItem.GENRE, - _serverId: server?.id || '', - _serverType: ServerType.JELLYFIN, - albumCount: null, - id: entry.Id, - imageId: null, - imageUrl: null, - name: entry.Name, - songCount: null, - })), + genres: + item.GenreItems?.map((entry) => ({ + _itemType: LibraryItem.GENRE, + _serverId: server?.id || '', + _serverType: ServerType.JELLYFIN, + albumCount: null, + id: entry.Id, + imageId: null, + imageUrl: null, + name: entry.Name, + songCount: null, + })) || null, id: item.Id, imageId: getSongImageId(item), imageUrl: null,