Late Start Loop line

You are missing a feature or need an enhancement? Post your suggestion here!
User avatar
hdradio
Posts: 625
Joined: 10 Apr 2012 17:36
Location: Crete, Hellas
Late Start Loop line

Post by hdradio »

I think that "Late Start Loop line" option should be script specific and not global.
User avatar
radio42
Site Admin
Posts: 8349
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Late Start Loop line

Post by radio42 »

Can you explain this in more detail - or is this just a feeling?
User avatar
hdradio
Posts: 625
Joined: 10 Apr 2012 17:36
Location: Crete, Hellas
Re: Late Start Loop line

Post by hdradio »

There are scripts that have to start from the first line and scripts that should start at the line last stopped.
Having a global option you have not that flexibility.
User avatar
hdradio
Posts: 625
Joined: 10 Apr 2012 17:36
Location: Crete, Hellas
Re: Late Start Loop line

Post by hdradio »

I 've made a mistake here.
I started again pf today for test and the script started from line 3.
Now I understood that it calculates what song were to play if the script had started at it's own time.

But I still believe that it's better to have this option for every script.
A live show might delay finish and the next program has to play from the first line when the dj runs scheduler and leaves studio.
But some other scripts have to start at a later line.
User avatar
radio42
Site Admin
Posts: 8349
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Late Start Loop line

Post by radio42 »

After a bit more thinking I guess only two options are needed to achieve all scenarios (which can be turned on/off per script):
- ForceLateStartBeginning
- SupressLateStartRollForward

You can then set the global "Late Start with Loop-Line" option (which is set by default anyhow).
With a new "ForceLateStartBeginning" you might then toggle that option per script
And as the Roll-Forward option is anyhow applied by default, you might use a new "SupressLateStartRollForward" to also toggle that option per script.

Guess that might be implemented to the next release.
User avatar
hdradio
Posts: 625
Joined: 10 Apr 2012 17:36
Location: Crete, Hellas
Re: Late Start Loop line

Post by hdradio »

I 'll give you also an idea.
I have sample script playing :
1. pop X2
2. pop ballads X2
3. Soul X1
4. Rock X2
5. Rock ballads X1
6. Dance X2

I have set this script playing everyday at 20:00
So everyday at 20:00 it plays in turn lines 1.2.3.4.5.6. 1.2.3.4.5.6 1.2.3.4.5.6.
Suppose this script stops at line 3. because another program starts.
It would be nice to have an option, the next day the same script at 20:00 to start at line 4. so the next days program might look different.
User avatar
radio42
Site Admin
Posts: 8349
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Late Start Loop line

Post by radio42 »

What about setting the whole script mode to 'Random' instead of 'Sequential'?
Random means the script lines are picked randomly...so that the program always looks different?
Is that what you are looking for?

Since in your scenario it would be for example:
Day 1: 1.2.3.4.5.6. 1.2.3.4.5.6. 1.2.3.
Day2: 4.5.6. 1.2.3.4.5.6. 1.2.3.4.5.
Day3: 6. 1.2.3.4.5.6. 1.2.3.4.5.6. 1.2.
...
Which would still be the same sequence, just starting a different offset.
Instead of remembering the last script-line per execution I might add an option to start a script at a random line even when in sequential mode?
Or isn't the 'Random' mode good enough?
User avatar
radio42
Site Admin
Posts: 8349
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Late Start Loop line

Post by radio42 »

The "Late Start LoopLine" option (when evaluated) defines where the related script should start (with the 1st script-line or with the resp. Loop-Line).
The "Late Start LoopLine" option will currently anyhow ONLY be evaluated when the scheduler is initially started and as such the initial (current) program starts late.
For all programs which are regular triggered by the scheduler (on time) the "Late Start Loop" option is NEVER considered.
Regardless of this option: if a program is started late, it will be rolled-forward.
This is how it works today.

So I guess in a future release the following options might come handy per Script (if a script is started late!):
a) Default : use the global "Late Start LoopLine" option
b) Beginning: when started late, always force to start from the beginning
c) LoopLine: when started late, always force to start from the Loop-Line
PLUS an addition "Supress Roll-Forward" option.
Again: A script triggered regular (on time) will ALWAYS start from the beginning and doesn't roll-forward!
User avatar
hdradio
Posts: 625
Joined: 10 Apr 2012 17:36
Location: Crete, Hellas
Re: Late Start Loop line

Post by hdradio »

Random is good but starting at a random line is also good because the programs follows the script lines.
This is useful for example if you have a script like this:
1. pop
2. pop ballads
3. rock ballads
4. rock
5. hard rock.
If you use random it might play 2 and 5 back to back which is not good.
But starting at a random line is better because will follow 2.3.4.5.

A question about current scripts:
Suppose Exec. Mode = Random.
If you have assigned a script line to play something count 3 , will play it 3 times that line and then go to the other random line ?
User avatar
radio42
Site Admin
Posts: 8349
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Late Start Loop line

Post by radio42 »

If you have assigned a script line to play something count 3 , will play it 3 times that line and then go to the other random line ?
Yes!
Each script-line is evaluated as one unit using the line Count value (if the action is 'Random', 'Sequential, 'Cardwall', 'Execute', 'News', 'LoadFolder'; for the other modes the count parameter is ignored and has no meaning).
E.g. it will randomly pick 3 tracks and schedule these to the playlist.

As such the following is basically the same:
A)
1. Random, Lib1, Count=1
2. Random, Lib1, Count=1
B)
1. Random, Lib1, Count=2

And this line would really pick 3 random tracks from any of the random given category libs:
1. Random, CATEGORY:Cat1, Count=3
or
1. Random, ANYOF:Lib1, Lib2, Lib3 Lib4, Count=3

Post Reply