Page 1 of 2

ProppFrexx ONAIR already running

Posted: 04 Jul 2024 15:08
by Quentin D
Hello,

I recently have an issue with ProppFrexx. When I close it, ProppFrexx ONAIR.exe is still running, so when I want to start it again I get the message ProppFrexx ONAIR already running. The only way to start it again is to kill the process.
Any idea what can be the cause?

Thank you

Quentin

Re: ProppFrexx ONAIR already running

Posted: 04 Jul 2024 15:23
by radio42
Not really.
The only thing I can think of is a background process which is still running. The app might in this case wait until that process finishes.
Background processes are for example encoding jobs of file or (more likely) scripts which are still running.
A typical example could be a query job to determine and schedule a next track, but that script takes very long to return a track, for example because your history settings prevent this…

Could this be a possible reason?
For how long have you waited after PF closes?

Else it could actually not really happen.

Re: ProppFrexx ONAIR already running

Posted: 04 Jul 2024 16:01
by Quentin D
It's been a hour now. I have enabled the debug log, but can't see anything wrong.
The only thing I could remember recently is I have delete a whole folder which was "Auto Watch" while PF was running. I have rebuilt the Media Libraries since. Could it be a source of issue?

Re: ProppFrexx ONAIR already running

Posted: 04 Jul 2024 18:11
by radio42
Maybe. That is also a background task - but honestly, I have never tested that scenario. I will do so and report…

Re: ProppFrexx ONAIR already running

Posted: 19 Jul 2024 10:48
by PatrickDuflot
Hello everybody
Same thing here. Unable to restart PFOA after closing normally.
I've made a few tests :
- a few tracks played, but no scheduling active => PFOA Stop and restart normally, w/o error
- Scheduling active and a (long) tracks list awaiting => PFOA Stop, but unable to restart
I'm a newbie with PFOA, so I'm unable to say if an older version would correct this skill.
Best regards

ps. Sorry for my poor English

Re: ProppFrexx ONAIR already running

Posted: 19 Jul 2024 11:53
by radio42
Can you post your scheduler setup, ie. the program scheduler entry (how it is configured) as well as the related script (ie. the complete .pfs file).
As I can only assume, that this script is running forever in a kind of loop blocking the graceful shutdown.
As I can actually not reproduce the issue in my tests…

Re: ProppFrexx ONAIR already running

Posted: 19 Jul 2024 12:31
by PatrickDuflot
OK
I hope ths is what you asked ...

pfs :
<?xml version="1.0" encoding="utf-8"?>
<script version="1">
<title>ven5h_l</title>
<creator>ProppFrexx ONAIR</creator>
<date>2024-07-03T19:26:34+00:00</date>
<settings>
<mode>Sequential</mode>
<loopScriptLine>0</loopScriptLine>
<scriptOptions>0</scriptOptions>
<playlistLookAhead>0</playlistLookAhead>
<reloadMediaLibrary />
<asyncReloading>true</asyncReloading>
<initialTrack />
<archiveFilename />
<additionalSongHistoryFilename />
<maxHistory>0</maxHistory>
<historyUseExtendedCheck>true</historyUseExtendedCheck>
<historyForceTAGReading>true</historyForceTAGReading>
<historyKeepPersistent>true</historyKeepPersistent>
<historyUseStrictExtendedCheckArtist>false</historyUseStrictExtendedCheckArtist>
<historyUseStrictExtendedCheckAlbum>false</historyUseStrictExtendedCheckAlbum>
<historyUseStrictExtendedCheckTitle>false</historyUseStrictExtendedCheckTitle>
<historyArtistCrossCheck>0</historyArtistCrossCheck>
<historyAlbumCount>0</historyAlbumCount>
<historyAlbumMinutes>0</historyAlbumMinutes>
<historyArtistCount>10</historyArtistCount>
<historyArtistMinutes>0</historyArtistMinutes>
<historyTitleCount>5</historyTitleCount>
<historyTitleMinutes>0</historyTitleMinutes>
<clearHistoryAtReload>false</clearHistoryAtReload>
<jingleMediaLibrary />
<jingleFrequencyFrom>0</jingleFrequencyFrom>
<jingleFrequencyTo>0</jingleFrequencyTo>
<jingleMode>Random</jingleMode>
<jingleCount>1</jingleCount>
<advertMediaLibrary />
<advertFrequencyFrom>0</advertFrequencyFrom>
<advertFrequencyTo>0</advertFrequencyTo>
<advertMode>Sequential</advertMode>
<advertCount>1</advertCount>
</settings>
<scriptLines>
<line>
<mode>LoadPlaylist</mode>
<entry>D:\programme\LOUNGE\VEN5H\_synced_.pfp</entry>
<count>1</count>
<options>1</options>
</line>
</scriptLines>
<fixTimeElements />
<scriptRules />
<scriptRestrictions />
</script>

Re: ProppFrexx ONAIR already running

Posted: 19 Jul 2024 15:14
by radio42
What you are trying to so makes NO sense and is NOT correct.

Let me explain:
a) When you define a folder based media library, ProppFrexx scans all folders and sub-directories and caches all these read files.
ProppFrexx then caches all these entries into an internal playlist file called: _synced_.pfp

As said, this is an INTERNAL playlist file which is NOT intended to be used in your scheduler as a playlist! There is also no reason!

b) you however are using this internal playlist with a LoadPlaylist script-line mode to load the entire media library as a playlist for playout?!
Why? This doesn't make sense.
Instead use for example the 'LeastRecentlyPlayed' script-line mode and specify the number of tracks you wish to load in the Count parameter.
Or define multiple script-lines etc.

c) Note, that when your use the LoadPlaylist script-line mode, that this loaded playlist is from then on monitored in your program for changes.
That's why this is causing issues when you use an internal playlist file in your program! So don't do this!

d) Please descriibe, why you are doing it they way you defined it: I.e. please describe your use case and what exactly you want to achivee and I might suggest you the correct way of doing it.

Re: ProppFrexx ONAIR already running

Posted: 19 Jul 2024 17:22
by PatrickDuflot
Hi Bernd
Sorry for all those mistakes. As I said, I'm definitively a NewBie...
What I have are some directories containing items classified by genre (Rock, Relax, Pop ...) and duration.
As I did to create domestic playlists, I thought I would create playlists by genre, of a fixed duration.
What I want (if possible) is playing each items in a category (ie directory) at a specified date and time, according to our weekly planning.
Many thanks for your time
Patrick

Re: ProppFrexx ONAIR already running

Posted: 19 Jul 2024 20:39
by radio42
Okay. So please do the following:

A) Define for each of your different root folders a folder based media library.
This way you will have various media libraries per genre, ie. (Rock, Relax, Pop ...)

B) Now you define your scripts. Define a separate script per type of music or category you like to play.
Here is an example using multiple script-lines:
1. LeastRecentlyPlayed, /Pop, Count=1
2. LeastRecentlyPlayed, /Pop, Count=1
3. LeastRecentlyPlayed, /Rock, Count=1
4. LeastRecentlyPlayed, /Pop, Count=1
5. LeastRecentlyPlayed, /Rock, Count=1

Another script might be:
1. LeastRecentlyPlayed, /Relax, Count=1
2. LeastRecentlyPlayed, /Chillout, Count=1
3. LeastRecentlyPlayed, /Relax, Count=1

C) Now you define your Program Scheduler Entries. Eg. you define, that on Mondays from 00:00:00 til 04:00:00 you create a program entry using the ‚Relax‘ script.
Another entry might be from 04:00:00 til 06:00:00 and here you use the ‚Pop‘ script…
And so forth. So you define per date and time what script you use. And each script defines the type of music you play.

Note, that a script doesn’t have to cover the resp. time or duration of the program. A script is simply looped as long as the program/script is running.
And the LeastRecentlyPlayed mode simply picks anrandom track from the respective media library.
If your media libraries contain enough tracks, you will have a good variation.

Also take a look to our tutorial videos.
These also describe it all in detail.