From 1586ea2e726b56fc8eddbb1e1fe2fc1365a4f351 Mon Sep 17 00:00:00 2001 From: jeffvli Date: Thu, 25 Nov 2021 02:53:22 -0800 Subject: [PATCH] Fix song fetch from music directory --- src/api/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/api.ts b/src/api/api.ts index a572312..8535186 100644 --- a/src/api/api.ts +++ b/src/api/api.ts @@ -712,7 +712,7 @@ export const getMusicDirectorySongs = async (options: { id: string }, data: any[ (data || []).forEach((song: any) => { (song?.child || []).forEach((entry: any) => { if (entry.isDir === false) { - songs.push(normalizeSong(entry)); + songs.push(entry); } }); });