I think you should also check the logs to see if it shows that the playlist tracks were loaded.
The log also displays "0" on the line "Loaded tracks from the playlist window: 0".
I went back to the Scheduler and my "Generate Multiple Playlists" event. I noticed quotation marks at the beginning of the command, whereas there aren't any in the other "Generate a Playlist" events using Playlist Generator:
run "PlaylistGeneratorPro.exe" "-preset=…
I removed the quotation marks to get this command:
run PlaylistGeneratorPro.exe "-preset=…
This allows the tracks in the playlist window to be taken into account.
And the line "Loaded tracks from the playlist window:" correctly indicates the number of tracks in the playlist.
The problem to fix: remove the quotation marks when using "Generate Multiple Playlists".
-------------------------//-------------------------
Now that the tracks in the Playlist window are taken into account when "Generate Multiple Playlist," I've discovered other problems that also appear with "Generate a Playlist."
Tracks in the Playlist window, after the currently playing track, are considered to be tracks that will be played at the same time as the "Start Time," and not tracks that will be played according to the schedule displayed in the Playlist window.
And according to the "Maximum number of minutes to check."
Example (with the same Preset):
Preset generation time: 5:50 PM
Start time: 11:30 PM
Number of tracks in the playlist: 13 (6 of which are among the 10 selectable tracks)
Reminder of my Preset settings:
10 tracks can be selected.
The artist cannot be played within 60 minutes of its last playback.
Repeat protection with consideration for tracks in the playlist window:
Maximum number of playlist tracks to check: 15
Maximum number of minutes to check: 30
Take into account expected track start time: box checked
The behavior I expect from the Playlist Generator:
The 13 tracks should start playing in the Playlist window at 5:50 PM.
From approximately 7:30 PM, all these tracks should be selectable again.
The "Start Time" is much later: 11:30 PM.
What's happening:
4 tracks are in the ".m3u8" file. Normally, there should be 6.
Error message in the log:
PlGen Warning: 1 (error while creating a playlist; please see the log for details) preset: "Test2026_1980"
And in the Playlist Generator log, the following messages are displayed:
Error: No suitable track found (rule: dayparting). Category: "1980_15h"
! Interrupted to prevent endless loop [global]
> 20 errors.
Total time spent: 00:01
Completed. Playlist duration: 15:44
The playlist duration is incorrect: 15:44 instead of 20 minutes (minimum).
The ".m3u8" file only contains 4 tracks instead of the usual 6.
My conclusion: The tracks in the Playlist window are correctly registered.
But not at the right time: they are registered as if they were going to be played at 11:30 PM.
Further tests #01
This time, I only modified one setting in Playlist Generator:
Repeat protection with consideration for tracks in the playlist window:
- Maximum number of playlist tracks to check: 30
- Maximum number of minutes to check: 90
Take into account expected track start time: box checked
Number of tracks in the playlist window: 28
Playlist duration: 94 minutes.
The 6 selectable tracks are played at the beginning of the playlist window.
Start Time: 11:30 PM
Result: no errors.
Everything seems correct.
Further tests#02
This time, the Start Time is 6:15 PM.
Result: no errors.
And this time, it's not normal. The 6 selectable tracks in the Playlist window will play between 5:50 PM and 6:10 PM.
And they cannot be played within the next 60 minutes according to the rule against repetition.
At least two of them are selected even though they will play within 5 to 25 minutes.
My conclusion: Regardless of the "Start Time" setting, the entire 90-minute Playlist window is counted.
The Start Time setting is not used for the "Generate a Playlist" and "Generate Multiple Playlist" events.
These behaviors/results are not good for me.
What would be desirable:
- Take into account the actual scheduled playback time of the track in the playlist window;
- Take into account the "Start Time".
This will allow for proper handling of the repeat protection.
-------------------------//-------------------------
Manual "Generate" Button (Playlist Generator)
When using the manual "Generate" button in the Playlist Generator, it does not support Start Time, meaning Dayparting and same-time repeat protection will not work.
This is what you explained to me.
Can you integrate Start Time into this manual "Generate" function of the Playlist Generator?