Page 1 of 2

Play Custom playlist

Posted: 17 Nov 2014 12:24
by hdradio
I needed to play a custom playlist at 11:00.
I created an empty playlist eg: "MyPlaylist" and dropped the tracks I needed to play.
Then I created a script eg: "MyScript" with only one line "Load Playlist" and loaded the "MyPlaylist".
I then created a program to play this script at 11:00.
Unfortunately it did not play (38'' of silence!). The new playlist loaded without tracks.
I then stopped the scheduler, closed that empty playst, and loaded manually the "MyPlaylist" and run it.
I noticed in debug log that it could not find the playlist because it was trying to load it at a wrong folder. I think that the problem is at path settings but I don't know what is the correct.
Also when this (manually loaded) playlist was playing and it was about to end, I clicked the run scheduler button to continue the normal program. I have in settings set to load the new program into the existing playlist. Also I don't know why, but about 12:12'47'' when a track finished, the next track did not start and I had to click F9 to start it (after 2 minutes of silence!)

I don't know what I am doing wrong.

I am sending you the debug log again !

Re: Play Custom playlist

Posted: 17 Nov 2014 13:36
by radio42
The debug log shows, that it tried to load the following playlist file:
LoadPlaylist : \\192.168.19.19\Studio19\proppfrexx\Scripts\Additional\192.168.19.19\Studio19\proppfrexx\Playlists\Πολυτεχνείο.pfp

And this failed - it looks to me, like either an incorrect path was specified or incorrectly resolved.
The name of the script (which was used) had the name "Πολυτεχνείο"
This script lib was (re)loaded here:
17/11/2014 10:55:57: AddOrReplaceScriptLib: New 'Πολυτεχνείο [Πολυτεχνείο.pfs]' loaded True.

The script you have send me in a PM contained this script-line:LoadPlaylist "S:\proppfrexx\Playlists\Πολυτεχνείο.pfp"

So either a different script was loaded/used or the path S:\ was unavailable or somehow remapped?
But the fact is, that the path: \\192.168.19.19\Studio19\proppfrexx\Scripts\Additional\192.168.19.19\Studio19\proppfrexx\Playlists\Πολυτεχνείο.pfp
was/is incorrect and therefore the playlist could not be loaded.

In order to answer that, I would also need the following file from you: "ProppFrexx ONAIR.scriptlibs" which is contained in the ProppFrexx AppUserData folder.


When you have specified the "StartCurrentProgramInCurrentPlaylist" scheduler options, it might be the case, that it will be started in a manually created playlist - like in your case.
As such, that playlist is controlled manually!
In addition it might be the case, that you have also specified the SuppressAutoPlayForCurrentProgram scheduler option, which would also always suppress AutoPlay.

When you pressed the "Run Scheduler" button - you might have simply checked, if "AutoPlay" was enabled at that point.
If not, your playlist is not in AutoPlay mode...

Re: Play Custom playlist

Posted: 17 Nov 2014 14:02
by hdradio
The script you have send me in a PM contained this script-line:LoadPlaylist "S:\proppfrexx\Playlists\Πολυτεχνείο.pfp"
This is the correct file.
"S:" is mapped top "\\192.168.19.10\Studio19\"
And this failed - it looks to me, like either an incorrect path was specified or incorrectly resolved.
Incorectly resolved. The correct path is:
"S:\proppfrexx\Playlists\Πολυτεχνείο.pfp" which should be resolved as :
\\192.168.19.19\Studio19\proppfrexx\Playlists\Πολυτεχνείο.pfp
but is resolved :
\\192.168.19.19\Studio19\proppfrexx\Scripts\Additional\192.168.19.19\Studio19\proppfrexx\Playlists\Πολυτεχνείο.pfp
where "\\192.168.19.19\Studio19\proppfrexx\Scripts\Additional\" is my addidional scripts folder.
In fact I have set "S:\proppfrexx\Scripts\Additional\" for my additional scripts folder but it resolves as above.
When you have specified the "StartCurrentProgramInCurrentPlaylist" scheduler options, it might be the case, that it will be started in a manually created playlist - like in your case.
As such, that playlist is controlled manually!
Yes it was a manually created playlist BUT the "AUTO PLAY" was ON all the time.
In addition it might be the case, that you have also specified the SuppressAutoPlayForCurrentProgram scheduler option, which would also always suppress AutoPlay.
NO I have not set this option.
If not, your playlist is not in AutoPlay mode...
IT WAS.

Re: Play Custom playlist

Posted: 17 Nov 2014 15:14
by radio42
In that case it should have been played...BUT...
I did oversee one important entry, which was scheduled:
17/11/2014 12:08:59: Processing FTE @18:00R Manual Suspend (Retries=50)

This is a FixTimeElement set to Manual start type - meaning it had to be started manually! Thus ProppFrexx was probably waiting for it to be started manually ;-)
That's the whole reason for the playlist to got 'stopped' - as the FTE was defined that way!


The script/path issue is still a bit strange, as ProppFrexx doesn't resolve that - it is only the OS resolving paths.
It that script was really the correct one you have send me, the line ""S:\proppfrexx\Playlists\Πολυτεχνείο.pfp" wouldn't even be changed, as it is already a valid fully qualified path!
So PF would simply try to open it.

However, to be really sure what exactly happens I still need some more info:
- are you using any command-line options to start PF (e.g. -config or -globalconfig option, if yes, please specify exactly)
- When you say "...I have set "S:\proppfrexx\Scripts\Additional\" for my additional scripts folder..." do you mean the "Script Library Path" setting?
- Still, please send me you "ProppFrexx ONAIR.scriptlibs" file

Re: Play Custom playlist

Posted: 17 Nov 2014 15:53
by hdradio
This is a FixTimeElement set to Manual start type - meaning it had to be started manually! Thus ProppFrexx was probably waiting for it to be started manually ;-)
That's the whole reason for the playlist to got 'stopped' - as the FTE was defined that way!
Bernd I am again confused :
In FixedTime Elements you say:
Manual (NonFixed):
The element will be inserted as a normal playlist element at around the target time. This is actually a non fix time element, but allows Track-Insert-Transitions.

It doesn't say anywhere that I have to start it manually.
I am using this "Manual" type in almost all my scripts and I never had to start anything manualy. It's the only option that has "automatic track insert transitions", something I need.
are you using any command-line options to start PF (e.g. -config or -globalconfig option, if yes, please specify exactly)
"C:\Program Files (x86)\radio42\ProppFrexx ONAIR\3.0\ProppFrexx ONAIR.exe" -usbReg -config "G:\Studio19\proppfrexx\Config\OnAir" -globalconfig "S:\proppfrexx\Config\Global" -debug
When you say "...I have set "S:\proppfrexx\Scripts\Additional\" for my additional scripts folder..." do you mean the "Script Library Path" setting?
No. This is the folder where I create and save my scripts. The default scripts folder is "S:\proppfrexx\Scripts" that has no scripts inside.
Still, please send me you "ProppFrexx ONAIR.scriptlibs" file
I have sent it to you.

Looking at "ProppFrexx ONAIR.scriptlibs" file I see that although I select folder "S:\proppfrexx\Scripts\Additional\" for my new scripts, it resolves in random :
"S:\proppfrexx\Scripts\Additional\..."
or
"\proppfrexx\Scripts\Additional\..."
or
"\\192.168.19.19\Studio19\proppfrexx\Scripts\Additional\..."

What is going on here ?

Re: Play Custom playlist

Posted: 17 Nov 2014 16:57
by radio42
Yes, a Manual FTE does allow a TrackInsertTransition - but was one specified?!
If yes, than this couldn't be the reason for a stop!
Maybe the FTE or the track around had the 'StopAutoPlay' or 'StopAtEnd' option set?


What is going on here (with the scripts)?
It depends a bit on how/where/when they are created (e.g. with/without using a globalconfig path; from different machines etc.).
Script-Locations are stored relative to the globalconfig path. So that might have changed in between...thus resolved to different relative locations?
When you take a look to the general settings, section 'Scripts/Scheduler', what is your setting for the "Script Library Path"?
(note, that this is NOT a default path, but a path from which to automatically load any .pfs files!)
So how was that related "Πολυτεχνείο.pfs" entry be saved in the .scriptlibs file?!

Re: Play Custom playlist

Posted: 17 Nov 2014 18:00
by hdradio
Yes, a Manual FTE does allow a TrackInsertTransition - but was one specified?!
If yes, than this couldn't be the reason for a stop!
Maybe the FTE or the track around had the 'StopAutoPlay' or 'StopAtEnd' option set?
I have set 4 exactly the same Manual FTEs. And I am absolutely sure that those FTEs are not the reason for a stop. Those scripts run for weeks without a problem.
Also I have never set any 'StopAutoPlay' or 'StopAtEnd' option.
When you take a look to the general settings, section 'Scripts/Scheduler', what is your setting for the "Script Library Path"?
I told you that in a previous post : S:\proppfrexx\Scripts
So how was that related "Πολυτεχνείο.pfs" entry be saved in the .scriptlibs file?!
I created the script by clicking the "New Script" in "Script Libraries". How else ?

Re: Play Custom playlist

Posted: 17 Nov 2014 19:47
by radio42
I told you that in a previous post : S:\proppfrexx\Scripts
You said its the Default Script path, but that is not the default script path! However, I do understand that now!
How else ?
E.g. directly from within the Program Scheduler entry editor; e.g. by clicking on the 'New' button there...

I tried it again (the 3rd time for now ;-):
So how was that related "Πολυτεχνείο.pfs" entry be saved/resolved within the .scriptlibs file?!

Re: Play Custom playlist

Posted: 17 Nov 2014 21:02
by hdradio
So how was that related "Πολυτεχνείο.pfs" entry be saved/resolved within the .scriptlibs file?!
I don't understand your question.
"Πολυτεχνείο.pfs" is a script that I created using the Script Libraries -> New Script
I then clicked ... on the right of Filename field and chose "S:\proppfrexx\Scripts\Additional" as folder and "Πολυτεχνείο" as filename.
Then I added one script line "Load Playlist" and loaded "Πολυτεχνείο.pfp"
When finished, that script "Πολυτεχνείο.pfs" was saved into "ProppFrexx ONAIR.scriptlibs" file :

Code: Select all

<add key="\\192.168.19.19\Studio19\proppfrexx\Scripts\Additional\Πολυτεχνείο.pfs" value="Εκπομπές" />
Is that what you ask ?

Re: Play Custom playlist

Posted: 17 Nov 2014 21:35
by radio42
Yes, that is what I was looking for! Thanks ;-)

The script/not playing is a bit strange; but I must investigate this a bit more in detail, as from a more detailed look into the log file it now appears, that you started the scheduler (pressed 'Run Scheduler') almost exactly when a track finished. So it might have somehow happened ( I am not sure yet), that this prevented triggering the play next command (resp. it was suppressed due to the starting scheduler in the same playlist; but I need to investigate that further).