Page 1 of 1

Weird Playlist script behaviour

Posted: 20 Mar 2026 13:11
by Thijmen
Hi there,

Sometimes I experience some issue with playlist script generation.
I hope you can help me.

What I am seeing is two things:

1. Sometimes playlist does not generate at all
I assume that the "engine" then cannot generate the first entry and just stops then.
If I then use a PROGRAM_STARTSCRIPT with the _same_ script directly, it opens a new playlist (with that same script), it will generate fine.

2. Sometimes, when a new playlist is opened, I see less tracks
For example, I just had that it would only show 3 tracks in the playlist. After playing the first one, I can see the others being added.
Playlist lookahead is on the script 0 and 6 configured in the global settings.

If there is some logs available for me to debug this, I would've done this but I need some guidance here.

Re: Weird Playlist script behaviour

Posted: 20 Mar 2026 16:44
by radio42
1. No, it might skip that script line. So I guess there is some other issue. But I can not tell here which one. Any hint or exception the the logs? See the ribbon tab.

2. Maybe it is the same issue?
Yes, you can use the „Test…“ function of the script to see, if you maybe have a history issue?

Re: Weird Playlist script behaviour

Posted: 20 Mar 2026 19:08
by Thijmen
1. No, nothing in the error log. Last exception dates from january.

2. No errors pop up from there, and work properly.

Re: Weird Playlist script behaviour

Posted: 20 Mar 2026 19:29
by radio42
The "Test..." function always produces an output - so it is impossible 'nothing pop up'.
The full output in this window (bottom part) is interesting...

Re: Weird Playlist script behaviour

Posted: 20 Mar 2026 19:47
by Thijmen
I've send you the log via Email

Re: Weird Playlist script behaviour

Posted: 20 Mar 2026 19:55
by radio42
That log returned script entries / tracks.
As you said, it seems, that it only under certain conditions produces errors resp. has issues.
So this is indeed hard to measure it tell from here.
So you would need to monitor it when you discover the error. I assume it is a history issue.

Re: Weird Playlist script behaviour

Posted: 20 Mar 2026 21:26
by Thijmen
>So you would need to monitor it when you discover the error. I assume it is a history issue.

I understand. What can I do in that situation? Would the script scheduler output some debug log somewhere, perhaps something that I can toggle?

Re: Weird Playlist script behaviour

Posted: 20 Mar 2026 22:17
by radio42
No. When the error occurs you might run the test script.
Or you enable the Debug Logging in the general settings and you can take a look once the issue occurred.

It is really difficult to find the reason.
How often do you have the issue?

Re: Weird Playlist script behaviour

Posted: 20 Mar 2026 23:13
by Thijmen
I think this happens maybe 2-3 times a week? I have every hour a new script in the scheduler.

I don't think it's due to to the scripting being wrong, since starting a new program with the PROGRAM_STARTSCRIPT works directly. Odd, isn't it?

I've enabled the debug logging - once this happens again I'll take a look to see what's going on.

Re: Weird Playlist script behaviour

Posted: 20 Mar 2026 23:21
by radio42
No, I also guess the script is not the issue.
Hence my guess it might be related to the history.