I am planning on writing a simple TTT round music addon, but am wondering the best way to retrieve songs. Would it be best to have a table of song names and their URLs, and use sound.PlayURL? I could pause it by setting a global with the IGModAudioChannel value in the callback. Or would it be better downloading the small MP3 files to the client? There would be around 30 <1MB files.
Stream the URLs.
Streaming is a good way to do it but streaming is also pretty unreliable. It is still better then downloading 50mb of music though.
Not really unreliable. You are just trusting that the client has flash installed, and that the webhost is stable.
They don’t need flash, I just stream mine directly from mp3s on my website.