Latest News

Two Tier3+ Datacenters

With Every Amenity

Click here to read more about our data center facilities.

SAM PAL Script to Schedule, Queue and Play Jingles


Spacial Audio’s SAM (Streaming Audio Manager) is one of the most powerful and flexible radio automation software packages.  One of its key features is called ‘PAL Scripting’.  It allows unlimited control of your play list schedule.

The following will play a track from the ‘Jingles’ category every 30 minutes - simply place your ads or liners in the ‘Jingles’ category or change the category name in the script to the category you have them stored in.

PAL.Loop := True;
Pal.WaitForTime(T['XX:00:00']);
CAT['Jingles'].QueueTop(smRandomEnforceRules);
Pal.WaitForTime(T['XX:30:00']);
CAT['Jingles'].QueueTop(smRandomEnforceRules); 

The script can be easily modified to your requirements - the following will play a track from the ‘Jingles’ category every 15 minutes.

PAL.Loop := True;
Pal.WaitForTime(T['XX:00:00']);
CAT['Jingles'].QueueTop(smRandomEnforceRules);
Pal.WaitForTime(T['XX:15:00']);
CAT['Jingles'].QueueTop(smRandomEnforceRules); 
Pal.WaitForTime(T['XX:30:00']);
CAT['Jingles'].QueueTop(smRandomEnforceRules); 
Pal.WaitForTime(T['XX:45:00']);
CAT['Jingles'].QueueTop(smRandomEnforceRules); 

Share the Love

Back to Streaming Media