Some scripting questions and problems

You have a question or need an advice about how to do something? Ask it here!
Post Reply
Joche
Posts: 47
Joined: 15 Feb 2014 15:11
Contact:
Some scripting questions and problems

Post by Joche »

Hello,
I might be stupid, but since I don't get it I will have to ask.

Question 1:
I have a script that is supposed to generate a playout playlist for an hour. I execute it from the scheduler. The first problem is that the programs in the scheduler is 2-3 hours long and I want the script to start over at 00.00 every hour. First it plays an top of the hour-jingle at 00.00 with an FTE and after that I want the script to start over at line 1 when generating the playlist. Is this possible and how do I do it?

Question 2:
I use Random for most of the lines in the script that pick music from A, B or C-rotatione. The problem is that PFOA seems to only select a few songs randomly. Some song never play at all. Why is that?
Thanks in advance! :)

Image
Station manager | THE BEAT, Sweden | www.thebeat.se
User avatar
radio42
Site Admin
Posts: 8323
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Some scripting questions and problems

Post by radio42 »

Q1:
A script loops as long as it is running.
To reset it it and start again at 00:00 you must define a new program scheduler entry.
This is not possible from within the script.

Q2:
I do not believe that:-)
Random is definitely random! But random also means tracks might repeat.
You might also try the LeastRecentlyPlayed mode.
Joche
Posts: 47
Joined: 15 Feb 2014 15:11
Contact:
Re: Some scripting questions and problems

Post by Joche »

Fast as always Bernd, thanks! :)
I have made the program in the schedule to be 2-3 hours in order to make it easier to do remote voicetrack. I suppose there are no way to make a remote voice over several programs at once? :) I would really love it if I could simply specify a time slot to voicetrack regardless of programs :-) But I understand that it would make it a bit complex :P
Station manager | THE BEAT, Sweden | www.thebeat.se
User avatar
radio42
Site Admin
Posts: 8323
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Some scripting questions and problems

Post by radio42 »

No unfortunately this is impossible. Remote Voice Tracking must be per program.

I might look to add a control command to reset a script-pointer with a FTE.
But why do you need the script to reset?

Post Reply