Hi @Coen,
I have tested your mldb, regarding one folder. I would like to explain you (and the community ) how it works.
These are your scheduler settings:
I will show you the examples from the folder “01_ROCK_HIT_A”, which is used multiple times in the music block. It contains 300 items.
000656 Pick random item from folder "01_ROCK_HIT_A" (2), item count: 300, pick idx: 1
pick idx: 1
means: Pick the second matching item (index 0 = 1, index 1 = 2 and so on). Best is overall penalty = 0.
Let’s start:
000656 1/300: ID 171, artist "QUEEN", title "SOMEBODY TO LOVE"
000656 Last use: 2022-04-17 13:00
000656 Track separation is 92
000656 Artist separation for "QUEEN" is 9
000656 Title separation for "SOMEBODY TO LOVE" is 9
000656 Artist separation penalty is 36
000656 Overall penalty is 36
000656 Maximum penalty of 27 exceeded, skipping
Item is skipped, because overall penalty of 36 is above your limit of 27.
We will see it later again.
000656 2/300: ID 138, artist "NEW ORDER", title "BLUE MONDAY (ALBUM VERSIE)"
000656 Hour restrictions are not satisifed
000656
000656 3/300: ID 636, artist "HERMAN BROOD & HIS WILD ROMANCE", title "SATURDAY NIGHT (VINYL VERSIE)"
000656 Hour restrictions are not satisifed
Okay, I think you have set hour restrictions that item #2 is only allowed to be played on Monday, #3 on Saturday…
We continue searching for the second item (pick idx: 1) with the lowest overall penalty, best would be 0
.
000656 4/300: ID 2011, artist "BOB DYLAN", title "ALL ALONG THE WATCHTOWER"
000656 Last use: 2022-04-18 11:00
000656 Track separation is 70
000656 Artist separation for "BOB DYLAN" is 3
000656 Artist separation penalty is 0
000656 Title separation for "ALL ALONG THE WATCHTOWER" is 27
000656 Artist separation penalty is 18
000656 Overall penalty is 18
000656
000656 5/300: ID 117, artist "MADNESS", title "OUR HOUSE"
000656 Last use: 2022-04-18 17:00
000656 Track separation is 64
000656 Artist separation for "MADNESS" is 1
000656 Artist separation penalty is 4
000656 Title separation for "OUR HOUSE" is 23
000656 Artist separation penalty is 22
000656 Overall penalty is 26
000656
000656 6/300: ID 132, artist "MICHAEL JACKSON", title "SMOOTH CRIMINAL"
000656 Last use: 2022-04-19 13:00
000656 Track separation is 44
000656 Track separation penalty is 1
000656 Artist separation for "MICHAEL JACKSON" is 2
000656 Artist separation penalty is 2
000656 Title separation for "SMOOTH CRIMINAL" is 44
000656 Artist separation penalty is 1
000656 Overall penalty is 4
// Comment: That looks good...
000656 7/300: ID 216, artist "THE BEATLES", title "PENNY LANE"
000656 Last use: 2022-04-19 13:00
000656 Track separation is 44
000656 Track separation penalty is 1
000656 Artist separation for "THE BEATLES" is 3
000656 Artist separation penalty is 0
000656 Title separation for "PENNY LANE" is 44
000656 Artist separation penalty is 1
000656 Overall penalty is 2
// Comment: This is better. We keep an overall penalty of 2 as the lowest in mind for the moment.
000656 8/300: ID 1873, artist "NINA SIMONE", title "I WISH I KNEW HOW IT WOULD FEEL TO BE FREE"
000656 Last use: 2022-04-19 13:00
000656 Track separation is 44
000656 Track separation penalty is 1
000656 Artist separation for "NINA SIMONE" is 2
000656 Artist separation penalty is 2
000656 Title separation for "I WISH I KNEW HOW IT WOULD FEEL TO BE FREE" is 44
000656 Artist separation penalty is 1
000656 Overall penalty is 4
000656
000656 9/300: ID 16, artist "THE BEATLES", title "WE CAN WORK IT OUT"
000656 Last use: 2022-04-19 14:00
000656 Track separation is 43
000656 Track separation penalty is 2
000656 Artist separation for "THE BEATLES" is 3
000656 Artist separation penalty is 0
000656 Title separation for "WE CAN WORK IT OUT" is 43
000656 Artist separation penalty is 2
000656 Overall penalty is 4
000656
000656 10/300: ID 146, artist "OUTKAST", title "HEY YA"
000656 Last use: 2022-04-19 14:00
000656 Track separation is 43
000656 Track separation penalty is 2
000656 Artist separation for "OUTKAST" is 43
000656 Title separation for "HEY YA" is 43
000656 Artist separation penalty is 2
000656 Overall penalty is 4
000656
000656 11/300: ID 215, artist "THE BEATLES", title "LUCY IN THE SKY WITH DIAMONDS"
000656 Last use: 2022-04-19 15:00
000656 Track separation is 42
000656 Track separation penalty is 3
000656 Artist separation for "THE BEATLES" is 3
000656 Artist separation penalty is 0
000656 Title separation for "LUCY IN THE SKY WITH DIAMONDS" is 42
000656 Artist separation penalty is 3
000656 Overall penalty is 6
000656
000656 End of search, i=11, Count=300, minPenalty=2, minPenaltyListCount=1
Why does the scheduler stop searching here?
Look at this:
Track separation penalty is 3
Please remember: The penalty is the difference of the expected separation in the Mini Scheduler configuration and the real track separation.
Here: Track separation is 42, expected: 45, multiplied with penalty of 1: Penalty = 3
Here’s the trick: The list of items is sorted by “last planned”. Look at the track separation from the top:
92
70
64
44 -1
(…)
43 -2
(…)
42 -3
… the track separation is getting smaller, the penalty getting higher from item to item.
When the track separation is higher than the lowest track overall penalty at this time, the scheduler stops:
It won’t get better!
End of search, i=11, Count=300, minPenalty=2, minPenaltyListCount=1
So it stops here, because the track separation is 3 while the lowest overall penalty is 2.
And we don’t have to wait for a second item with the same or lower overall penalty: It won’t happen in this list for now.
000656 Picked: ID 216, artist "THE BEATLES", title "PENNY LANE"
I know, it’s complicated. But its very fine adjusted and you have all the possibilities to check it and make your own corrections.
Next time the scheduler had to pick an item from this folder:
001125 Pick random item from folder "01_ROCK_HIT_A" (2), item count: 300, pick idx: 3
001125
001125 1/300: ID 171, artist "QUEEN", title "SOMEBODY TO LOVE"
001125 Last use: 2022-04-17 13:00
001125 Track separation is 92
001125 Artist separation for "QUEEN" is 9
001125 Title separation for "SOMEBODY TO LOVE" is 9
001125 Artist separation penalty is 36
001125 Overall penalty is 36
001125 Maximum penalty of 27 exceeded, skipping
001125
001125 2/300: ID 138, artist "NEW ORDER", title "BLUE MONDAY (ALBUM VERSIE)"
001125 Hour restrictions are not satisifed
001125
001125 3/300: ID 636, artist "HERMAN BROOD & HIS WILD ROMANCE", title "SATURDAY NIGHT (VINYL VERSIE)"
001125 Hour restrictions are not satisifed
// Comment: Well known from the first time...
001125 4/300: ID 2011, artist "BOB DYLAN", title "ALL ALONG THE WATCHTOWER"
001125 Last use: 2022-04-18 11:00
001125 Track separation is 70
001125 Artist separation for "BOB DYLAN" is 3
001125 Artist separation penalty is 0
001125 Title separation for "ALL ALONG THE WATCHTOWER" is 27
001125 Artist separation penalty is 18
001125 Overall penalty is 18
001125
001125 5/300: ID 117, artist "MADNESS", title "OUR HOUSE"
001125 Last use: 2022-04-18 17:00
001125 Track separation is 64
001125 Artist separation for "MADNESS" is 1
001125 Artist separation penalty is 4
001125 Title separation for "OUR HOUSE" is 23
001125 Artist separation penalty is 22
001125 Overall penalty is 26
001125
001125 6/300: ID 132, artist "MICHAEL JACKSON", title "SMOOTH CRIMINAL"
001125 Last use: 2022-04-19 13:00
001125 Track separation is 44
001125 Track separation penalty is 1
001125 Artist separation for "MICHAEL JACKSON" is 2
001125 Artist separation penalty is 2
001125 Title separation for "SMOOTH CRIMINAL" is 44
001125 Artist separation penalty is 1
001125 Overall penalty is 4
001125
001125 7/300: ID 1873, artist "NINA SIMONE", title "I WISH I KNEW HOW IT WOULD FEEL TO BE FREE"
001125 Last use: 2022-04-19 13:00
001125 Track separation is 44
001125 Track separation penalty is 1
001125 Artist separation for "NINA SIMONE" is 2
001125 Artist separation penalty is 2
001125 Title separation for "I WISH I KNEW HOW IT WOULD FEEL TO BE FREE" is 44
001125 Artist separation penalty is 1
001125 Overall penalty is 4
001125
001125 8/300: ID 16, artist "THE BEATLES", title "WE CAN WORK IT OUT"
001125 Last use: 2022-04-19 14:00
001125 Track separation is 43
001125 Track separation penalty is 2
001125 Artist separation for "THE BEATLES" is 0
001125 Artist separation penalty is 6
001125 Title separation for "WE CAN WORK IT OUT" is 43
001125 Artist separation penalty is 2
001125 Overall penalty is 10
001125
001125 9/300: ID 146, artist "OUTKAST", title "HEY YA"
001125 Last use: 2022-04-19 14:00
001125 Track separation is 43
001125 Track separation penalty is 2
001125 Artist separation for "OUTKAST" is 43
001125 Title separation for "HEY YA" is 43
001125 Artist separation penalty is 2
001125 Overall penalty is 4
001125
001125 10/300: ID 215, artist "THE BEATLES", title "LUCY IN THE SKY WITH DIAMONDS"
001125 Last use: 2022-04-19 15:00
001125 Track separation is 42
001125 Track separation penalty is 3
001125 Artist separation for "THE BEATLES" is 0
001125 Artist separation penalty is 6
001125 Title separation for "LUCY IN THE SKY WITH DIAMONDS" is 42
001125 Artist separation penalty is 3
001125 Overall penalty is 12
001125
001125 11/300: ID 194, artist "SIMPLY RED", title "STARS"
001125 Last use: 2022-04-19 15:00
001125 Track separation is 42
001125 Track separation penalty is 3
001125 Artist separation for "SIMPLY RED" is 17
001125 Title separation for "STARS" is 42
001125 Artist separation penalty is 3
001125 Overall penalty is 6
001125
001125 12/300: ID 104, artist "KATRINA & THE WAVES", title "WALKING ON SUNSHINE"
001125 Last use: 2022-04-19 15:00
001125 Track separation is 42
001125 Track separation penalty is 3
001125 Artist separation for "KATRINA" is 42
001125 Artist separation for "THE WAVES" is 42
001125 Title separation for "WALKING ON SUNSHINE" is 42
001125 Artist separation penalty is 3
001125 Overall penalty is 6
001125
001125 13/300: ID 68, artist "ELTON JOHN", title "I'M STILL STANDING"
001125 Last use: 2022-04-19 15:00
001125 Track separation is 42
001125 Track separation penalty is 3
001125 Artist separation for "ELTON JOHN" is 10
001125 Title separation for "I'M STILL STANDING" is 42
001125 Artist separation penalty is 3
001125 Overall penalty is 6
001125
001125 14/300: ID 226, artist "THE POLICE", title "ROXANNE"
001125 Last use: 2022-04-19 16:00
001125 Track separation is 41
001125 Track separation penalty is 4
001125 Artist separation for "THE POLICE" is 8
001125 Title separation for "ROXANNE" is 41
001125 Artist separation penalty is 4
001125 Overall penalty is 8
001125
001125 15/300: ID 1897, artist "THE BEATLES", title "ALL YOU NEED IS LOVE"
001125 Last use: 2022-04-19 16:00
001125 Track separation is 41
001125 Track separation penalty is 4
001125 Artist separation for "THE BEATLES" is 0
001125 Artist separation penalty is 6
001125 Title separation for "ALL YOU NEED IS LOVE" is 41
001125 Artist separation penalty is 4
001125 Overall penalty is 14
001125
001125 16/300: ID 214, artist "THE BEATLES", title "HERE COMES THE SUN"
001125 Last use: 2022-04-19 16:00
001125 Track separation is 41
001125 Track separation penalty is 4
001125 Artist separation for "THE BEATLES" is 0
001125 Artist separation penalty is 6
001125 Title separation for "HERE COMES THE SUN" is 41
001125 Artist separation penalty is 4
001125 Overall penalty is 14
001125
001125 17/300: ID 212, artist "THE BEATLES", title "A HARD DAYS NIGHT"
001125 Last use: 2022-04-19 16:00
001125 Track separation is 41
001125 Track separation penalty is 4
001125 Artist separation for "THE BEATLES" is 0
001125 Artist separation penalty is 6
001125 Title separation for "A HARD DAYS NIGHT" is 41
001125 Artist separation penalty is 4
001125 Overall penalty is 14
001125
001125 18/300: ID 38, artist "THE CRANBERRIES", title "ZOMBIE"
001125 Last use: 2022-04-19 16:00
001125 Track separation is 41
001125 Track separation penalty is 4
001125 Artist separation for "THE CRANBERRIES" is 21
001125 Title separation for "ZOMBIE" is 41
001125 Artist separation penalty is 4
001125 Overall penalty is 8
001125
001125 19/300: ID 131, artist "MICHAEL JACKSON", title "BLACK OR WHITE"
001125 Last use: 2022-04-19 17:00
001125 Track separation is 40
001125 Track separation penalty is 5
001125 Artist separation for "MICHAEL JACKSON" is 2
001125 Artist separation penalty is 2
001125 Title separation for "BLACK OR WHITE" is 40
001125 Artist separation penalty is 5
001125 Overall penalty is 12
001125
001125 End of search, i=19, Count=300, minPenalty=4, minPenaltyListCount=3
001125
001125 Picked: ID 146, artist "OUTKAST", title "HEY YA"
Got it?
“pick idx:3”, item number 4 with the lowest overall penalty would be the candidate.
The lowest overall penalty was 4 before it stopped at item 19, where track separation penalty was 5… unfortunately there were only 3 items with an overall penalty of 4, so this was picked.
Next try:
001171 Pick random item from folder "01_ROCK_HIT_A" (2), item count: 300, pick idx: 0
001171
001171 1/300: ID 171, artist "QUEEN", title "SOMEBODY TO LOVE"
001171 Last use: 2022-04-17 13:00
001171 Track separation is 92
001171 Artist separation for "QUEEN" is 9
001171 Title separation for "SOMEBODY TO LOVE" is 9
001171 Artist separation penalty is 36
001171 Overall penalty is 36
001171 Maximum penalty of 27 exceeded, skipping
001171
001171 2/300: ID 138, artist "NEW ORDER", title "BLUE MONDAY (ALBUM VERSIE)"
001171 Hour restrictions are not satisifed
001171
001171 3/300: ID 636, artist "HERMAN BROOD & HIS WILD ROMANCE", title "SATURDAY NIGHT (VINYL VERSIE)"
001171 Hour restrictions are not satisifed
001171
001171 4/300: ID 2011, artist "BOB DYLAN", title "ALL ALONG THE WATCHTOWER"
001171 Last use: 2022-04-18 11:00
001171 Track separation is 70
001171 Artist separation for "BOB DYLAN" is 3
001171 Artist separation penalty is 0
001171 Title separation for "ALL ALONG THE WATCHTOWER" is 27
001171 Artist separation penalty is 18
001171 Overall penalty is 18
001171
001171 5/300: ID 117, artist "MADNESS", title "OUR HOUSE"
001171 Last use: 2022-04-18 17:00
001171 Track separation is 64
001171 Artist separation for "MADNESS" is 1
001171 Artist separation penalty is 4
001171 Title separation for "OUR HOUSE" is 23
001171 Artist separation penalty is 22
001171 Overall penalty is 26
001171
001171 6/300: ID 132, artist "MICHAEL JACKSON", title "SMOOTH CRIMINAL"
001171 Last use: 2022-04-19 13:00
001171 Track separation is 44
001171 Track separation penalty is 1
001171 Artist separation for "MICHAEL JACKSON" is 2
001171 Artist separation penalty is 2
001171 Title separation for "SMOOTH CRIMINAL" is 44
001171 Artist separation penalty is 1
001171 Overall penalty is 4
001171
001171 7/300: ID 1873, artist "NINA SIMONE", title "I WISH I KNEW HOW IT WOULD FEEL TO BE FREE"
001171 Last use: 2022-04-19 13:00
001171 Track separation is 44
001171 Track separation penalty is 1
001171 Artist separation for "NINA SIMONE" is 2
001171 Artist separation penalty is 2
001171 Title separation for "I WISH I KNEW HOW IT WOULD FEEL TO BE FREE" is 44
001171 Artist separation penalty is 1
001171 Overall penalty is 4
001171
001171 8/300: ID 16, artist "THE BEATLES", title "WE CAN WORK IT OUT"
001171 Last use: 2022-04-19 14:00
001171 Track separation is 43
001171 Track separation penalty is 2
001171 Artist separation for "THE BEATLES" is 0
001171 Artist separation penalty is 6
001171 Title separation for "WE CAN WORK IT OUT" is 43
001171 Artist separation penalty is 2
001171 Overall penalty is 10
001171
001171 9/300: ID 215, artist "THE BEATLES", title "LUCY IN THE SKY WITH DIAMONDS"
001171 Last use: 2022-04-19 15:00
001171 Track separation is 42
001171 Track separation penalty is 3
001171 Artist separation for "THE BEATLES" is 0
001171 Artist separation penalty is 6
001171 Title separation for "LUCY IN THE SKY WITH DIAMONDS" is 42
001171 Artist separation penalty is 3
001171 Overall penalty is 12
001171
001171 10/300: ID 194, artist "SIMPLY RED", title "STARS"
001171 Last use: 2022-04-19 15:00
001171 Track separation is 42
001171 Track separation penalty is 3
001171 Artist separation for "SIMPLY RED" is 17
001171 Title separation for "STARS" is 42
001171 Artist separation penalty is 3
001171 Overall penalty is 6
001171
001171 11/300: ID 104, artist "KATRINA & THE WAVES", title "WALKING ON SUNSHINE"
001171 Last use: 2022-04-19 15:00
001171 Track separation is 42
001171 Track separation penalty is 3
001171 Artist separation for "KATRINA" is 42
001171 Artist separation for "THE WAVES" is 42
001171 Title separation for "WALKING ON SUNSHINE" is 42
001171 Artist separation penalty is 3
001171 Overall penalty is 6
001171
001171 12/300: ID 68, artist "ELTON JOHN", title "I'M STILL STANDING"
001171 Last use: 2022-04-19 15:00
001171 Track separation is 42
001171 Track separation penalty is 3
001171 Artist separation for "ELTON JOHN" is 10
001171 Title separation for "I'M STILL STANDING" is 42
001171 Artist separation penalty is 3
001171 Overall penalty is 6
001171
001171 13/300: ID 226, artist "THE POLICE", title "ROXANNE"
001171 Last use: 2022-04-19 16:00
001171 Track separation is 41
001171 Track separation penalty is 4
001171 Artist separation for "THE POLICE" is 8
001171 Title separation for "ROXANNE" is 41
001171 Artist separation penalty is 4
001171 Overall penalty is 8
001171
001171 14/300: ID 1897, artist "THE BEATLES", title "ALL YOU NEED IS LOVE"
001171 Last use: 2022-04-19 16:00
001171 Track separation is 41
001171 Track separation penalty is 4
001171 Artist separation for "THE BEATLES" is 0
001171 Artist separation penalty is 6
001171 Title separation for "ALL YOU NEED IS LOVE" is 41
001171 Artist separation penalty is 4
001171 Overall penalty is 14
001171
001171 15/300: ID 214, artist "THE BEATLES", title "HERE COMES THE SUN"
001171 Last use: 2022-04-19 16:00
001171 Track separation is 41
001171 Track separation penalty is 4
001171 Artist separation for "THE BEATLES" is 0
001171 Artist separation penalty is 6
001171 Title separation for "HERE COMES THE SUN" is 41
001171 Artist separation penalty is 4
001171 Overall penalty is 14
001171
001171 16/300: ID 212, artist "THE BEATLES", title "A HARD DAYS NIGHT"
001171 Last use: 2022-04-19 16:00
001171 Track separation is 41
001171 Track separation penalty is 4
001171 Artist separation for "THE BEATLES" is 0
001171 Artist separation penalty is 6
001171 Title separation for "A HARD DAYS NIGHT" is 41
001171 Artist separation penalty is 4
001171 Overall penalty is 14
001171
001171 17/300: ID 38, artist "THE CRANBERRIES", title "ZOMBIE"
001171 Last use: 2022-04-19 16:00
001171 Track separation is 41
001171 Track separation penalty is 4
001171 Artist separation for "THE CRANBERRIES" is 21
001171 Title separation for "ZOMBIE" is 41
001171 Artist separation penalty is 4
001171 Overall penalty is 8
001171
001171 18/300: ID 131, artist "MICHAEL JACKSON", title "BLACK OR WHITE"
001171 Last use: 2022-04-19 17:00
001171 Track separation is 40
001171 Track separation penalty is 5
001171 Artist separation for "MICHAEL JACKSON" is 2
001171 Artist separation penalty is 2
001171 Title separation for "BLACK OR WHITE" is 40
001171 Artist separation penalty is 5
001171 Overall penalty is 12
001171
001171 End of search, i=18, Count=300, minPenalty=4, minPenaltyListCount=2
001171
001171 Picked: ID 132, artist "MICHAEL JACKSON", title "SMOOTH CRIMINAL"
Do you think you can figure it out by yourself?
That’s how the Mini Scheduler works, based on your personal settings. If you want to adjust it, use the MiniSchedulerLog in order to find out why a special item isn’t played or played too often.
Now let’s think about it in this way: How often in one hour / a day the folder is used to choose items from? 4 times in one hour, 8 hours a day, 5 days a week? Okay, it’s 160 items from this folder, theoretically.
It might work… but do you really need these restrictions? When you plan next week, try it with standards and look at the playlists. I think, it should work, too. You have enough items in your folders.