mirror of
https://github.com/jeffvli/sonixd.git
synced 2026-04-29 10:42:40 -04:00
Fix song fetch from music directory
This commit is contained in:
@@ -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);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user