Insert Y Every X Song Plays PAL Script

(1 customer review)

$0.00

I’m often asked for a PAL script that will play a commercial, radio drop, station ID or promo after every x songs.

SAM Broadcaster used to come with that PAL but maybe that is no longer the case.

Anyway here is the PAL script.
You can make copies of it just rename each copy so that they can be used at the same time.

Rename the PAL to whatever works for you.

Example:
Play-Ad-Every-5-Songs.pal
Play-ID-Every-10-Songs.pal
Play-Promo-Every-3-Songs.pal

You must change the variables in the PAL to fit your needs. The instructions are in the PAL itself.

Pal scripts can be edited using Windows Notepad or from within SAM Broadcaster itself.
To edit them in SAM you must first load it into SAM via the PAL Script window.
Once inside, you will see two places that need to be changed to fit your needs:

const WaitCount = 4; <– this varible is the “x” varible and it determines how many songs to play before the rest of the PAL script continues.

Cat[‘CREATE A CATEGORY TO PULL FROM’].QueueTop(smRandom, EnforceRules); <– You must change CREATE A CATEGORY TO PULL FROM to the actual category you created.

1 review for Insert Y Every X Song Plays PAL Script

  1. rocroc1 (verified owner)

    Great Job

Only logged in customers who have purchased this product may leave a review.