radioshoutcast.txt is auto-updated weekly, if you want something close to that, then you'll have to do a bit of custom list creation.
Your best bet is to create a custom station list called either shoutcastcustom.txt (This will load alongside ShoutCast mode in the base menu - Under Custom Stations) or radiovolume.txt (Which is the stations utilising a volume wrapper).
Using my site radio.dubbeh.net it's quite easy to find that info.
Navigate to
https://radio.dubbeh.net/index.php?sid=1576 with your web browser.
Now you need to view the page-source and look for this piece of code:
Code:
$(document).ready(function()
{
var stream = {title: "Dance Wave!",
mp3: "http://stream.dancewave.online:8080/dance.mp3"},
}
The mp3: is most important bit, just copy and past that into a new file called radiovolume.txt
so it ends up looking something like this:
Code:
"Radio Stations"
{
"Off Page" "about:blank"
"Volume Wrapper" "https://radio.dubbeh.net/rvw.html"
"Volume Track Query" "https://radio.dubbeh.net/trackquery.php"
"Use Genres" "0"
"Dance Wave! 128k MP3"
{
"Stream URL" "http://stream.dancewave.online:8080/dance.mp3"
}
"Sleep Radio Stream 128k MP3"
{
"Stream URL" "http://37.59.28.208:8722/stream/;"
}
}
Also, did the Sleep Radio using the same method as above. You can now either save this as radiovolume.txt or shoutcastcustom.txt depending on config type:
sm_radio_play_type - 1/3 - "Play type for Radio, 1 = Direct, 2 = Volume Wrapper, 3 = ShoutCast Powered"
sm_radio_shoutcast_custom - 0/1 - Append custom stations using the wrapper page under ShoutCast mode from shoutcastcustom.txt
Keeping ShoutCast Stations with a custom stations menu:
sm_radio_play_type "3"
sm_radio_shoutcast_custom "1"
Keeps the list of ShoutCast stations in a seperate menu but has a new "Custom Stations" menu for server admins to add what they want. Loaded from "addons/sourcemod/configs/shoutcastcustom.txt".
Dropping ShoutCast Stations and using Volume Wrapper Mode:
Another option without ShoutCast included and only them two stations from the list above:
sm_radio_play_type "2" - This ignores the sm_radio_shoutcast_custom setting, because ShoutCast mode is turned off. Stations are loaded from "addons/sourcemod/configs/radiovolume.txt" and using the standard volume wrapper page.
It's really easy to setup once you understand the settings options and if you're still confused, give me a shout on whisper and I'll try to explain more.
Note with Audio still playing on disconnect:
There's no way in the Source Engine to really issue a server command reliably for a client pre-disconnecting to stop the station playing.
Will need to type "!roff" to stop the audio playing, more of a problem in CS:GO than anything else and the way stations need to be loaded using a silent MOTD (Blame Hidden-Path).
__________________