Fix song fetch from music directory

This commit is contained in:
jeffvli
2021-11-25 02:53:22 -08:00
parent 1715c0be62
commit 1586ea2e72

View File

@@ -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);
}
});
});