Additional script custom option

You are missing a feature or need an enhancement? Post your suggestion here!
Post Reply
csaba1986
Posts: 23
Joined: 15 Nov 2023 17:51
Additional script custom option

Post by csaba1986 »

Hi there,

I know there was lots of conversation around this topic but would be great if the script can be restricted for time as well.
Additional fields:
- Script max lenght (definied in seconds)
- Flexibility of the lenght (definied in seconds how much flexibility Propprexx has to generate the script.
- Additional Option: Ignore Script max lenght if the Script line items and their filtering (in that line item, mostly songs lenght) won't make possible to generate the script.

Or is there any option to skip line items in the script if it reach a maximum time.

My scenario: I don't want to make a script for each hour but let's say every 4. Within that 4h I would like to have a rule to have the line item 1 always at top of the hour.

Many thanks
User avatar
radio42
Site Admin
Posts: 8595
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Additional script custom option

Post by radio42 »

Are you talking about a script-line or a general script option?

Pls explain the ‚Flexibility‘ - I seem to not understand this request.

Note the existing LoopLine option, to ensure, that initial lines are only executed at the very beginnnng…start of the script.
csaba1986
Posts: 23
Joined: 15 Nov 2023 17:51
Re: Additional script custom option

Post by csaba1986 »

Let's say you create a general a script, including 15 songs, which is about 1h music but with this you can go above or under the 1h as the system can pick songs in any length range. But if we could tell to the script to build that 1h (before start the loop) to create this around a time frame, this issue could be resolved.

I know there is option to filter on each song a length range to create this as well but that option would exclude always any song which is not in that length range.

Flexibility: let's say I have this script with 15 songs and I want the total script length for 59 min, I could provide the tool a flexibility to create this script. Let;s say I setup the flexibility for 30sec. So the script has the possibility to create the full playlist between 58:30 and 59:30 so ensure it won't pick the same songs.

With this I could ensure that I will setup a Fix element as a top of the hour and the very first line item (which would be the same song category) will be played after. With this function actual hour templates could be created on the fly.
User avatar
radio42
Site Admin
Posts: 8595
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Additional script custom option

Post by radio42 »

1/ it would not make sense to „ tell to the script“ to fill the full hour - as looping is absolutely no problem - else add more script-line, eg. 20 line should always be fine. That’s the way to tell the script to add tracks. Or simply let it loop…

Use the program‘s TryEnsureExactLength option to ensure an almost exact length of the related program!
You can also use the BridgeTrack to fill any possible short gap, if you like.

2/ The requested flexibility is already there, see all the available program options… AllowStartEarly, MaxEarly, MaxLaze, MaxDelay etc. with these options, you can pretty much add exactly that flexibility.
It is just not on the script level, but the program level.

3/ The TOTH line you describe can already well be used.

Post Reply