From 1ed7e74773a644f2e697300a58a4d7ce665d0acd Mon Sep 17 00:00:00 2001 From: jj Date: Sun, 22 Dec 2024 14:09:14 +0000 Subject: [PATCH] api/match-action: pass isHLS when muting audio fixes a bug where HLS status would be ignored if a muted video was downloaded with HLS enabled --- api/src/processing/match-action.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/src/processing/match-action.js b/api/src/processing/match-action.js index 8d2c1e38..5c728626 100644 --- a/api/src/processing/match-action.js +++ b/api/src/processing/match-action.js @@ -68,7 +68,8 @@ export default function({ r, host, audioFormat, isAudioOnly, isAudioMuted, disab } params = { type: muteType, - url: Array.isArray(r.urls) ? r.urls[0] : r.urls + url: Array.isArray(r.urls) ? r.urls[0] : r.urls, + isHLS: r.isHLS } if (host === "reddit" && r.typeId === "redirect") { responseType = "redirect";