Allows MP3 files to be uploaded to the TGchat player - renames play internet sound (#28575)

* first commit

* review

* review again

* renames adds alert

* updates alert

---------

Co-authored-by: Bmon <no@email.com>
This commit is contained in:
Bm0n
2025-07-06 21:45:32 +00:00
committed by GitHub
co-authored by Bmon
parent 69ce6aee7f
commit dc529f084f
3 changed files with 125 additions and 96 deletions
-2
View File
@@ -22,8 +22,6 @@
/datum/tgui_panel/proc/play_music(url, extra_data)
if(!is_ready())
return
if(!findtext(url, GLOB.is_http_protocol))
return
var/list/payload = list()
if(length(extra_data) > 0)
for(var/key in extra_data)