newsscript

You have a question or need an advice about how to do something? Ask it here!
Post Reply
User avatar
rockdj
Posts: 23
Joined: 25 Feb 2013 16:44
newsscript

Post by rockdj »

Hello Bernd,

I have a question regarding scripts. Is it possible in PF to make a script that automaticly plays (every hour) a newsjingle, than load a newsbulletin and after that a stationjingle?

Regards,
Folkert
rockfiles.nl 110% rock radio!!
the no.1 rock & metal station!!
User avatar
radio42
Site Admin
Posts: 8341
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: newsscript

Post by radio42 »

Sure. You might either use a regular Program Scheduler entry for this or you might use the Overlay Scheduler (which I would prefer in your case).
E.g. define a new overlay entry within the Overlay Scheduler and specify a 'Script' to play with this overlay. The overlay entry might get a respective recurrence pattern to be started at the desired time(s) - e.g. hourly.
As a script you might then for example specify the following script-line:
1. Random, NewsJingle-Lib, Count=1
2. LoadFolder, NewsFolder, Count=1
3. Random, StationJingle-Lib, Count=1
The script might also look differntly, e.g.:
1. LoadTrack, NewsJingle-Track, Count=1
2. Random, News-Lib, Count=1
3. LoadTrack, StationJingle-Lib, Count=1
...

Post Reply