refactor Genre domain type to include serverType and serverId

This commit is contained in:
jeffvli
2025-11-13 21:50:11 -08:00
parent 4f1d39d3c4
commit 173e00af3d
6 changed files with 25 additions and 6 deletions
@@ -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 }),