From 6451fe164d3c7139251b53c894d804186573962e Mon Sep 17 00:00:00 2001 From: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com> Date: Sun, 2 Aug 2026 15:12:11 +0100 Subject: [PATCH] Fixes a small issue with playing web sounds (#32379) --- code/modules/admin/verbs/playsound.dm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/modules/admin/verbs/playsound.dm b/code/modules/admin/verbs/playsound.dm index 02ccc423a16..90508d6dd18 100644 --- a/code/modules/admin/verbs/playsound.dm +++ b/code/modules/admin/verbs/playsound.dm @@ -136,6 +136,11 @@ USER_VERB(play_sound_tgchat, R_SOUNDS, "Play Global Sound", "Play a sound to be // Prepare the body var/list/request_body = list("url" = web_sound_input) + // Patch around the YTDLP server breaking in its current form + // Making these empty dicts overrides the default on the YTDLP server where it tries to parse with invalid args + request_body["opts"] = alist() + request_body["opts"]["extractor_args"] = alist() + // Send the request off var/datum/http_request/media_poll_request = new() // The fact we are using GET with a body offends me