Fixes a small issue with playing web sounds (#32379)

This commit is contained in:
AffectedArc07
2026-08-02 14:12:11 +00:00
committed by GitHub
parent c32f9a12a0
commit 6451fe164d
+5
View File
@@ -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