Jump to content

PAL Script to play random jingle and play from an URL at fixed time


SmEcHeRiT

Recommended Posts

Hello, I need a PAL script to play an random jingle after 3 songs and at fixed time play from an URL (.pls .ogg ).

For example:

After 3 songs play an random jingle

At 13:00 play from an URL and at 13:15 play a jingle and after this jingle play normaly from sam (not from URL)

How I can set up this?

I don`t know how to make a PAL script, can somebody help me with this?

Thx a lot

Link to comment
Share on other sites

First of all you can do this by using a specific "clockwheel"

This clockwheel can be activated by your Event Sheduler

 

Secondly you can setup a playlist by using a "new event" at your Event Sheduler

 

Third ... check my sticky topics about PAL scripts at BW :

check : http://forums.broadcastingworld.net/showthread.php?t=7199

Pick a PAL who fix to your needs and change the content if needed

Link to comment
Share on other sites

OK, I found this pal script it works but how I can modify after the url is stop to play normaly from playlist?

 

{ CONFIGURATION }

{================================================= =}

const ShowURL = 'http://86.122.132.36:8000/RadioCraiovaLive.ogg'; //

const StartTime = '14:09:00'; //

const EndTime = '14:10:00'; //

{ IMPLEMENTATION }

{--------------------------------------------------}

begin

{Wait for the show to start}

PAL.WaitForTime(StartTime);

Queue.Clear;

Queue.AddURL(ShowURL,ipTop);

Queue.AddURL(ShowURL,ipTop);

DeckB.Eject;

DeckA.Play;

DeckA.Next;

Queue.AddURL(ShowURL,ipTop);

Queue.AddURL(ShowURL,ipTop);

Queue.AddURL(ShowURL,ipTop);

Queue.AddURL(ShowURL,ipTop);

Queue.AddURL(ShowURL,ipTop);

Queue.AddURL(ShowURL,ipTop);

Queue.AddURL(ShowURL,ipTop);

PAL.WaitForTime(EndTime);

Queue.Clear;

DeckA.Eject;

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...