From 8bf3680b6f339c339cbf57117d18e27ca7479954 Mon Sep 17 00:00:00 2001 From: Tzahi12345 Date: Sun, 10 May 2020 04:56:21 -0400 Subject: [PATCH] Fixed bug that prevented soundcloud audio files from downloading correctly --- backend/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app.js b/backend/app.js index e2f44a2..dbeaf17 100644 --- a/backend/app.js +++ b/backend/app.js @@ -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;