You should download these files, unzip them and add them to your SAM Broadcaster library. For this script to work, you should create a playlist entitled 'Live365-60' and drop all of the tracks from the 60.zip file into this playlist. You should also ensure these tracks are categorized as adverts. To achieve this, right-click on each track, select Song Info and ensure the Type is set to A.

Follow the instructions in this Help Center guide to create a new PAL Script. If you are planning on using different advert options, you might want to give this PAL script a meaningful name to help identify the script, for example, 'Live365-60.pal'.

Once you have created the PAL script, copy and paste this code into the script and don't forget to save the script:

Live365 60-Second Advert Script PAL Script to play four 60-Second Adverts for Live365 Broadcasters This will only work when the adverts provided by Live365 are added to a Playlist entitled Live365-60 and categorized as Adverts

One, 60-second adverts will be added to the top of the queue at the following numbers of minutes past the hour: 10, 20, 40 & 50

Live365 customers must include 4 minutes of adverts each hourNo support is provided with this script which is used at your own risk

// Check for the Active Player Player1 := ActivePlayer; // Assign the Active Player to Player1 If Player1 = DeckB Then Player2 := DeckA; // Assign the Idle Player to Player 2

// Add the required number of adverts to the top of the queue for AdCount := 1 to AdTotal do begin CAT['Live365-60'].QueueTop(smLRP,NoRules); writeln(AdCount); end;

// Capture the Track Information from the Active Player P3Track := ActivePlayer.GetSongInfo;

// Count the Adverts while (AdCount < AdTotal) AND (P3Track['songtype'] <> 'S') do begin PAL.WaitForPlayCount(1); // Wait for the Advert to Play P3Track := ActivePlayer.GetSongInfo; // Capture the next Track Information end; // end for the While loop