StationVoiceBefore

You have a question or need an advice about how to do something? Ask it here!
John2103
Posts: 40
Joined: 11 Nov 2019 16:32
StationVoiceBefore

Post by John2103 »

It seems I’m becoming quite an active user of this forum 😉 — sorry about that.

I’m running into the following problem. I use the following to play an "artist" jingle before a song:

Adele - Skyfall.StationVoiceBefore.mp3
Adele - Skyfall.mp3

The relevant jingle is not included in the cartwall and is only located in the song’s folder.

The above works in about 60 percent of the cases, but sometimes the song is not placed after the corresponding jingle, i.e. the song is skipped. This can, for example, lead to the following situations in the playlist:

Adele - Skyfall.StationVoiceBefore.mp3
Imagine Dragons - It's Time.mp3

Or

Adele - Skyfall.StationVoiceBefore.mp3
Jingle
Imagine Dragons - It's Time.mp3

Is there a solution for this? Thanks in advance!
User avatar
radio42
Site Admin
Posts: 8951
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: StationVoiceBefore

Post by radio42 »

Are you using any global script rules, which might suppress or defer those tracks?
John2103
Posts: 40
Joined: 11 Nov 2019 16:32
Re: StationVoiceBefore

Post by John2103 »

No, I only use the “ApplySuppressFilter” in the overlay editor, but there is no upcoming overlay when this happens.
User avatar
radio42
Site Admin
Posts: 8951
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: StationVoiceBefore

Post by radio42 »

I double checked it, and it is only Script Rules which might modify and suppress such entries.
I might even change that order in the next version, so that StationVoice files are even applied after the Script Rules (which might make sense).

But other than that, I see no chance, that StationVoice files are suppressed.
But note, that the processing of StationVoice files is by default disabled with each new program start!
I.e. you must manually enable it for each and ever program via the SCHEDULER_CHECKSTATIONVOICEFILES_ON command - else they will not be checked!
Can this be your issue?

You can check, if it is enabled via the SCHEDULER_CHECKSTATIONVOICEFILES_GET command.
John2103
Posts: 40
Joined: 11 Nov 2019 16:32
Re: StationVoiceBefore

Post by John2103 »

Yes, SCHEDULER_CHECKSTATIONVOICEFILES_ON is enabled. However, the issue is not that the StationVoice files are being suppressed. The problem is that sometimes the song following the StationVoice file is missing.

In about 60 percent of the cases, it works correctly:

Adele - Skyfall.StationVoiceBefore.mp3
Adele - Skyfall.mp3

But in some cases, the following occurs: the song “Adele – Skyfall” that should play after the StationVoice file is missing, and the next song in the playlist, “Imagine Dragons – It's Time”, is played instead, as shown below:

Adele - Skyfall.StationVoiceBefore.mp3
Imagine Dragons - It's Time.mp3

Thanks for your help.
User avatar
radio42
Site Admin
Posts: 8951
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: StationVoiceBefore

Post by radio42 »

Oki, if the track is sometimes missing you might have some ScriptRules defined. Else this is logically not possible. And i am also not able to reproduce the issue.
Are you sure there are no Rules or Restrictions defined?!
John2103
Posts: 40
Joined: 11 Nov 2019 16:32
Re: StationVoiceBefore

Post by John2103 »

There are no rules or restrictions defined. As you can see in the screenshots below, the situations are similar.
In this example, the playlist is correct.
Adele2.png
In this example, the song by Kelly Clarkson is missing.
files.png
Kelly2.png
I am curious about how the “Playlist Look Ahead” function works when, while loading new items, the last item happens to be a song with a StationVoice. I see three possibilities when “Playlist Look Ahead” is set to 3:

1. There are four items in the playlist. The last two are the StationVoice and the corresponding song.
2. There are three items in the playlist. The last one is the StationVoice. The next time items are loaded, the corresponding song is added.
3. There are three items in the playlist. The last one is the StationVoice. The next time items are loaded, a new song is added instead, which results in the song belonging to the StationVoice missing from the playlist.

I might be completely off here, but I thought it was worth giving it a try. 😉
User avatar
radio42
Site Admin
Posts: 8951
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: StationVoiceBefore

Post by radio42 »

The playlist look ahead just queries new tracks from the script. And StationVoice files are applied after, so that this is unrelated.

As said, i can not reproduce here.
You might enable the Debug Logging and reproduce it and then send me the Debuf…log file with the exact track which is missing - maybe Incan spot anything in that log.
John2103
Posts: 40
Joined: 11 Nov 2019 16:32
Re: StationVoiceBefore

Post by John2103 »

See attached file. The StationVoice after which, in this case, a song by Pink should be played is A2623-pink.
Attachments
Debug_20251109.zip
(30.42 KiB) Downloaded 85 times
User avatar
radio42
Site Admin
Posts: 8951
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: StationVoiceBefore

Post by radio42 »

Could it be, that your station voice files are also part of your regular media libraries and as such sometimes also scheduled as regular tracks?!
And if that is happening, no related track is of course added, as the regular track is already such Jingle and as such kept and played alone.

See here:
11/9/2025 4:43:28 PM: Processing Script-Line 6 done: 1 Random : ANYOF:2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2016, 2017, 2018, 2019 (Filter=, Options=None) (scriptlineSkipped=False; track=Jingle - A2623-pink)

Note, that you MUST exclude your station voice files from your media libraries (which is today only possible with playlist based media libs) - this is today not happening automatically for folder based media libs!
I might add a new option to the next version to skip station voice files from loading folder based media libs.

Post Reply