This thread is old, so I would assume that the solutions offered work in all versions of SAM since ShoutCast V2 has been implemented. However such doesn't seem to be the case;
Our radio doesn't make use of AutoDJ, so we must rely on a Pal script kicker that this thread has helped me implement for our DJs. Funny thing is, it works fine in SAM Pro 2020 but not in Pro 2017, the two versions present in our organization.
Any idea why that would be?
Here is the script I use, a small adaptation of the generic one provided with SAM;
Code:
{ CONFIGURATION }
{==================================================}
const pass = 'server password';
const host = 'ex.url; mesradiosweb.ca/radio';
const port = 'input port ex; 8000';
{==================================================}
{ IMPLEMENTATION }
{--------------------------------------------------}
{ Build URL used to send command to SHOUTcast server }
var URL : String;
URL := 'https://'+host+'/'+port+'/admin.cgi?sid=1&mode=kicksrc&pass='+pass;
{ Kick source from SHOUTcast server }
WebToFile('c:\dummy.txt',URL);
{TIP: This assumes you only have one encoder }
{ NOTE: Use this to start a specific encoder: }
Encoders[0].Start;
{Now start & connect all encoders}
{Encoders.StartAll}
{--------------------------------------------------}