mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-11 21:58:31 +00:00
add aif to list of supported audio file endings
This commit is contained in:
parent
4ade86f75c
commit
5e4eefa553
@ -30,7 +30,7 @@ async function getFilesInDirectory(directory) {
|
||||
}
|
||||
try {
|
||||
const subFiles = (await getFilesInDirectory(fullPath)).filter((f) =>
|
||||
['wav', 'mp3', 'ogg'].includes(f.split('.').slice(-1)[0].toLowerCase()),
|
||||
['wav', 'mp3', 'ogg', 'aif'].includes(f.split('.').slice(-1)[0].toLowerCase()),
|
||||
);
|
||||
files = files.concat(subFiles);
|
||||
LOG && console.log(`${dirent.name} (${subFiles.length})`);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user