mirror of
https://github.com/jeffvli/sonixd.git
synced 2026-05-19 06:08:59 -04:00
Set albums isDir to false (for navidrome)
This commit is contained in:
@@ -268,6 +268,7 @@ export const getAlbums = async (
|
||||
image: getCoverArtUrl(entry, coverArtSize),
|
||||
starred: entry.starred || undefined,
|
||||
type: 'album',
|
||||
isDir: false,
|
||||
index,
|
||||
uniqueId: nanoid(),
|
||||
})),
|
||||
@@ -306,6 +307,7 @@ export const getAlbumsDirect = async (
|
||||
image: getCoverArtUrl(entry, coverArtSize),
|
||||
starred: entry.starred || undefined,
|
||||
type: 'album',
|
||||
isDir: false,
|
||||
index,
|
||||
uniqueId: nanoid(),
|
||||
}));
|
||||
@@ -361,6 +363,7 @@ export const getAllAlbums = (
|
||||
image: getCoverArtUrl(entry, coverArtSize),
|
||||
starred: entry.starred || undefined,
|
||||
type: 'album',
|
||||
isDir: false,
|
||||
index,
|
||||
uniqueId: nanoid(),
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user