From 488ea8b1ecbe3e51e1f76c34abc6811e8a8f3a09 Mon Sep 17 00:00:00 2001 From: hyperdefined Date: Wed, 17 Jul 2024 21:29:17 -0400 Subject: [PATCH] undo these testing things --- src/modules/processing/match.js | 2 -- src/modules/processing/matchActionDecider.js | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/modules/processing/match.js b/src/modules/processing/match.js index 72d5b9a0..d9cbe5a4 100644 --- a/src/modules/processing/match.js +++ b/src/modules/processing/match.js @@ -206,8 +206,6 @@ export default async function(host, patternMatch, lang, obj) { }); } - console.log(r) - if (r.isAudioOnly) isAudioOnly = true; let isAudioMuted = isAudioOnly ? false : obj.isAudioMuted; diff --git a/src/modules/processing/matchActionDecider.js b/src/modules/processing/matchActionDecider.js index 10167326..ddc07d1e 100644 --- a/src/modules/processing/matchActionDecider.js +++ b/src/modules/processing/matchActionDecider.js @@ -99,8 +99,7 @@ export default function(r, host, userFormat, isAudioOnly, lang, isAudioMuted, di case "video": switch (host) { - case "bilibili": - case "newgrounds": + case "bilibili": params = { type: "render" }; break; case "youtube": @@ -137,6 +136,7 @@ export default function(r, host, userFormat, isAudioOnly, lang, isAudioMuted, di case "pinterest": case "streamable": case "loom": + responseType = "redirect"; break; } break;