From c6553d99c6e0e127a4246eaf14e1d85fb1db33ce Mon Sep 17 00:00:00 2001 From: Tzahi12345 Date: Sun, 10 May 2020 05:20:53 -0400 Subject: [PATCH] Hotfix for bug that prevented large twitch videos from downloading --- backend/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app.js b/backend/app.js index dbeaf17..fc274db 100644 --- a/backend/app.js +++ b/backend/app.js @@ -1892,7 +1892,7 @@ app.post('/api/tomp4', optionalJwt, async function(req, res) { const is_playlist = url.includes('playlist'); let result_obj = null; - if (is_playlist || options.customQualityConfiguration || options.customArgs || options.selectedHeight) + if (is_playlist || options.customQualityConfiguration || options.customArgs || options.selectedHeight || url.includes('twitch')) result_obj = await downloadFileByURL_exec(url, 'video', options, req.query.sessionID); else result_obj = await downloadFileByURL_normal(url, 'video', options, req.query.sessionID);