mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-08 13:00:13 +02:00
Cover art support for folder view (Subsonic servers only) (#1608)
* add coverArt support for subsonic folders
This commit is contained in:
@@ -399,6 +399,8 @@ const normalizeFolder = (
|
||||
songs: results?.songs || [],
|
||||
},
|
||||
id: item.id.toString(),
|
||||
imageId: item.coverArt?.toString() || null,
|
||||
imageUrl: null,
|
||||
name: item.title,
|
||||
parentId: item.parent,
|
||||
};
|
||||
|
||||
@@ -613,6 +613,7 @@ const getIndexes = z.object({
|
||||
.object({
|
||||
artist: z
|
||||
.object({
|
||||
coverArt: z.string().optional(),
|
||||
id: z.string(),
|
||||
name: z.string(),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user