From f17441aa74577e9d1ec9cd0e5bccdc4188f2bf0d Mon Sep 17 00:00:00 2001 From: jeffvli Date: Mon, 25 Oct 2021 12:36:45 -0700 Subject: [PATCH] Set albums isDir to false (for navidrome) --- src/api/api.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/api/api.ts b/src/api/api.ts index 5ca89c6..02fa4dc 100644 --- a/src/api/api.ts +++ b/src/api/api.ts @@ -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(), }));