PFP and scheduling
Re: PFP and scheduling
okay, now i got you.
So in this case (pick 2 top40 playlists) you want to pick 2 of the existing .pfp playlist files randomly each time..
To do this you can use the following script-line:
The LoadFolder mode allows you to specify a folder (in my case I used the ${week} macro already) and to specify the sorting mode (in my case I selected Random (=6)). The Count=2 value means 2 entries are picked randomly from that folder.
Infact embedded playlist entries are created, which means the whole .pfp playlist is played as one entry...
I hope this is what you are looking for...
So in this case (pick 2 top40 playlists) you want to pick 2 of the existing .pfp playlist files randomly each time..
To do this you can use the following script-line:
Code: Select all
LoadFolder, C:\Your Folder\Week ($week})|6|*.pfp, Count=2
Infact embedded playlist entries are created, which means the whole .pfp playlist is played as one entry...
I hope this is what you are looking for...
Bernd - radio42
ProppFrexx ONAIR - The Playout and Broadcast Automation Solution
ProppFrexx ONAIR - The Playout and Broadcast Automation Solution
-
- Posts: 96
- Joined: 25 Dec 2014 11:51
- Contact:
Re: PFP and scheduling
I'm gonna try, but how does this code sort the week? Does PF scheduler know what week we are? Or do i have to input every week in the scheduler? It seems that PF lets me have only one schedluer?radio42 wrote:okay, now i got you.
So in this case (pick 2 top40 playlists) you want to pick 2 of the existing .pfp playlist files randomly each time..
To do this you can use the following script-line:The LoadFolder mode allows you to specify a folder (in my case I used the ${week} macro already) and to specify the sorting mode (in my case I selected Random (=6)). The Count=2 value means 2 entries are picked randomly from that folder.Code: Select all
LoadFolder, C:\Your Folder\Week ($week})|6|*.pfp, Count=2
Infact embedded playlist entries are created, which means the whole .pfp playlist is played as one entry.
Thxs
Will
Re: PFP and scheduling
The week folder itself is picked by the macro:
"C:\Your Folder\Week ($week})"
which might resolve for the 12th week number to:
"C:\Your Folder\Week (12)"
The content (of one of these folders; meaning your .pfp files) are then sorted randomly!
Count=2 then means, the first 2 are picked - if sorted randomly - the first two are picked randomly...
I am not sure what you mean by "having only one scheduler"?
Yes, there is of course only one program scheduler, but it can have as many program scheduler entries as needed ?!
"C:\Your Folder\Week ($week})"
which might resolve for the 12th week number to:
"C:\Your Folder\Week (12)"
The content (of one of these folders; meaning your .pfp files) are then sorted randomly!
Count=2 then means, the first 2 are picked - if sorted randomly - the first two are picked randomly...
I am not sure what you mean by "having only one scheduler"?
Yes, there is of course only one program scheduler, but it can have as many program scheduler entries as needed ?!
Bernd - radio42
ProppFrexx ONAIR - The Playout and Broadcast Automation Solution
ProppFrexx ONAIR - The Playout and Broadcast Automation Solution
-
- Posts: 96
- Joined: 25 Dec 2014 11:51
- Contact:
Re: PFP and scheduling
Unfortunally i'm not as brilliant as you. Can u please take me by the hand and show it? I haven't any clou were to put the scriptline, and what to change? Is this line oké,
LoadFolder, H:\1.Weeklijsten top 40\Week ($week})|6|*.pfp, Count=2
LoadFolder, H:\1.Weeklijsten top 40\Week ($week})|6|*.pfp, Count=2
Re: PFP and scheduling
Yes, that looks okay.
Here are the steps to create such a script-line from within the Script Editor: 1. Select the LoadFolder mode and then 2. click on the '...' button next to the Entry cell. Select a sample folder, set the sorting to Random and specify *.pfp as the Filter. Replace the week number with the ${week} macro in the folder path and click OK Select 2 as the Count value.
Here are the steps to create such a script-line from within the Script Editor: 1. Select the LoadFolder mode and then 2. click on the '...' button next to the Entry cell. Select a sample folder, set the sorting to Random and specify *.pfp as the Filter. Replace the week number with the ${week} macro in the folder path and click OK Select 2 as the Count value.
Bernd - radio42
ProppFrexx ONAIR - The Playout and Broadcast Automation Solution
ProppFrexx ONAIR - The Playout and Broadcast Automation Solution
Re: PFP and scheduling
I do not know your script, so I can not tell what it is doing or not doing
But...
In your script editor (per script-line) you can e.g. select the LoadPlaylist mode and then as the Entry you need to specify a filename of the playlist file to full play....
Instead of using a fixed filename you can also use macros (e.g. the ${week} macro would resolve to the current week number).
Thus you can make your scripts pretty dynamic this way.
Look at the User Manual Appendix to get a full list of available global macros you might use.
Is it this what you are looking for?
Else please describe in detail what the script should do...
But...
In your script editor (per script-line) you can e.g. select the LoadPlaylist mode and then as the Entry you need to specify a filename of the playlist file to full play....
Instead of using a fixed filename you can also use macros (e.g. the ${week} macro would resolve to the current week number).
Thus you can make your scripts pretty dynamic this way.
Look at the User Manual Appendix to get a full list of available global macros you might use.
Is it this what you are looking for?
Else please describe in detail what the script should do...
Bernd - radio42
ProppFrexx ONAIR - The Playout and Broadcast Automation Solution
ProppFrexx ONAIR - The Playout and Broadcast Automation Solution
-
- Posts: 96
- Joined: 25 Dec 2014 11:51
- Contact:
Re: PFP and scheduling
Thxs 4 the info, but,..... it doesn't work.
Might there be a possiblity that the map structure or even the media library structure is not working?
But on the other hand is that strange, after all the script overruls all librarys etc, is that correct? Anyway,.... i need your help again.
We set the time and did everything but the script is not running.Might there be a possiblity that the map structure or even the media library structure is not working?
But on the other hand is that strange, after all the script overruls all librarys etc, is that correct? Anyway,.... i need your help again.
-
- Posts: 96
- Joined: 25 Dec 2014 11:51
- Contact:
Re: PFP and scheduling
Hereby, ohh that info. A lot to process
Script Scheduler
Script Scheduler
-
- Posts: 96
- Joined: 25 Dec 2014 11:51
- Contact:
Re: PFP and scheduling
Sorry, but i guess i'm not autorized. There is no difference between the pop-ups for check the updates and BETA versions. So
You are running the most recent version.
You are running the most recent version.
Re: PFP and scheduling
Then please so post your script AND program scheduler entries (e.g all your related screen shots), as you probably did something wrong in your setup!
Also read/see this to understand how the scheduler is working:
viewtopic.php?f=9&t=10&p=15
viewtopic.php?f=5&t=1018
Also read/see this to understand how the scheduler is working:
viewtopic.php?f=9&t=10&p=15
viewtopic.php?f=5&t=1018
Bernd - radio42
ProppFrexx ONAIR - The Playout and Broadcast Automation Solution
ProppFrexx ONAIR - The Playout and Broadcast Automation Solution