From b6f4d61af671cdea8c270a2ba39b9308de04280a Mon Sep 17 00:00:00 2001 From: dumbmoron Date: Wed, 17 Jan 2024 15:34:31 +0100 Subject: [PATCH] matchActionDecider: reprioritize gif action above audio settings --- src/modules/processing/matchActionDecider.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/processing/matchActionDecider.js b/src/modules/processing/matchActionDecider.js index f015ea13..7aa154bd 100644 --- a/src/modules/processing/matchActionDecider.js +++ b/src/modules/processing/matchActionDecider.js @@ -18,10 +18,10 @@ export default function(r, host, userFormat, isAudioOnly, lang, isAudioMuted, di if (r.isPhoto) action = "photo"; else if (r.picker) action = "picker" + else if (r.isGif && toGif) action = "gif"; else if (isAudioMuted) action = "muteVideo"; else if (isAudioOnly) action = "audio"; else if (r.isM3U8) action = "singleM3U8"; - else if (r.isGif && toGif) action = "gif"; else action = "video"; if (action === "picker" || action === "audio") {