mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-10 06:12:43 +02:00
refactor Genre domain type to include serverType and serverId
This commit is contained in:
@@ -504,6 +504,8 @@ const normalizeGenre = (
|
||||
server: null | ServerListItem,
|
||||
): Genre => {
|
||||
return {
|
||||
_serverId: server?.id || '',
|
||||
_serverType: ServerType.JELLYFIN,
|
||||
albumCount: undefined,
|
||||
id: item.Id,
|
||||
imageUrl: getGenreCoverArtUrl({ baseUrl: server?.url || '', item, size: 200 }),
|
||||
|
||||
Reference in New Issue
Block a user