How to get a fixed end tune into a script

You have a question or need an advice about how to do something? Ask it here!
Post Reply
XTended
How to get a fixed end tune into a script

Post by XTended »

Hi Bernd,

For my non-stop XTended radioshow (no dj show) I like to put a fixed endtune in my script.
So each hour has to end with that tune (just to fill in the last seconds till minutes of the hour).
Is that possible and how to do that?

Attached my script
Attachments
Script-settings_XTended.jpg
Script-settings_XTended.jpg (186.93 KiB) Viewed 6623 times
XTended
Re: How to get a fixed end tune into a script

Post by XTended »

Thanks for your fast answer.
So I created a new XTended-Non-Stop-EndTune PFS script and an overlay.
Are these settings correct (see attachments) ?
Attachments
Overlay_editor_settings.jpg
Overlay_editor_settings.jpg (139.74 KiB) Viewed 6619 times
EndTune-PFS.jpg
EndTune-PFS.jpg (144.62 KiB) Viewed 6619 times
User avatar
radio42
Site Admin
Posts: 8926
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: How to get a fixed end tune into a script

Post by radio42 »

Yes, if you want that overlay playback to end at exactly16:59:00 - yes.
But I wouldn't set the 'LockPlaylist' option with that overlay?!
XTended
Re: How to get a fixed end tune into a script

Post by XTended »

OK will switch LockPlaylist off.
Commercials will turn on at 16:58:00.
So this new EndTune overlay must be 16:57:59 ?
XTended
Re: How to get a fixed end tune into a script

Post by XTended »

Yes thats correct, I referring to that point.
Ok will test it Bernd!
Have a nice weekend.
User avatar
radio42
Site Admin
Posts: 8926
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: How to get a fixed end tune into a script

Post by radio42 »

It can also directly 'EndAt' 16:58:00!

(I guess you refer to the point that I said, that 2 overlays can not start at exactly the same time)
This is in general true - even if effectively I mean: 'StartTime' minus 'ShowInAdvance' should not be the same.
So if your EndTune-Overlay has a bigger Show in Advance value than your Commercials overlay - all is fine.
User avatar
radio42
Site Admin
Posts: 8926
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: How to get a fixed end tune into a script

Post by radio42 »

There is no way to get an end tune/track into a script; as a script by itself has no 'knowledge' about any time.
A script loops forever until ended either manually by the user or automatically by the scheduler.

So if you want to plan an extra (fixed) end tune to be played at certain hour(s); you need to schedule it (via the Program or Overlay Scheduler).
E.g. when using the Overlay Scheduler you can use the 'EndsAt' start type...you might then also use the 'AsPlaylistInsert' option...

Post Reply