AutoStart Sams Decks

You can auto start your Decks in Sams Broadcaster by making the following pal script,  paste this code using notepad and make sure your extension is .pal

 var P    : TPlayer;
var Song : TSongInfo;
{## Wait for 3 seconds}
PAL.WaitForTime('+00:00:03');
{## Detect the empty player and queue a station ID in it}
P := IdlePlayer;
if P <> nil then
begin
Song := CAT['Station IDs (All)'].ChooseSong(smRandom,NoRules);
if Song <> nil then P.QueueSong(Song);
{## Detect the active player and start the fade-out}
P := QueuedPlayer;
if P <> nil then P.Play;
end;


Make sure AutoDJ is in Queue or Autodj mode. At least one deck must be empty for this script to work

 

Was dit antwoord nuttig? 107 gebruikers vonden dit artikel nuttig