mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
Fixes a small issue with playing web sounds (#32379)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user