Fixed bug that prevented soundcloud audio files from downloading correctly

This commit is contained in:
Tzahi12345
2020-05-10 04:56:21 -04:00
parent 3487813cb5
commit 8bf3680b6f

View File

@@ -1316,7 +1316,7 @@ async function downloadFileByURL_normal(url, type, options, sessionID = null) {
const ext = is_audio ? '.mp3' : '.mp4';
var fileFolderPath = is_audio ? audioFolderPath : videoFolderPath;
if (is_audio) options.skip_audio_args = true;
if (is_audio && url.includes('youtu')) { options.skip_audio_args = true; }
// prepend with user if needed
let multiUserMode = null;