Browse Source

Fix song fetch from music directory

master
jeffvli 3 years ago
parent
commit
1586ea2e72
  1. 2
      src/api/api.ts

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

Loading…
Cancel
Save