From 64b4b5a2b48b3a02cae1df72e0bb4d9127e214ad Mon Sep 17 00:00:00 2001 From: Isaac Abadi Date: Thu, 23 Jun 2022 01:44:55 -0400 Subject: [PATCH] Fixed #600, where selecting a max resolution for subscriptions was broken --- backend/downloader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/downloader.js b/backend/downloader.js index 91fcb98..1ac0260 100644 --- a/backend/downloader.js +++ b/backend/downloader.js @@ -421,7 +421,7 @@ exports.generateArgs = async (url, type, options, user_uid = null, simulated = f if (customQualityConfiguration) { qualityPath = ['-f', customQualityConfiguration, '--merge-output-format', 'mp4']; } else if (selectedHeight && selectedHeight !== '' && !is_audio) { - qualityPath = ['-f', `'(mp4)[height=${selectedHeight}'`]; + qualityPath = ['-f', `'(mp4)[height=${selectedHeight}]`]; } else if (is_audio) { qualityPath = ['--audio-quality', maxBitrate ? maxBitrate : '0'] }