Page 1 of 1

Some scripting questions and problems

Posted: 28 Aug 2016 14:35
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

Re: Some scripting questions and problems

Posted: 28 Aug 2016 15:00
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.

Re: Some scripting questions and problems

Posted: 28 Aug 2016 15:11
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

Re: Some scripting questions and problems

Posted: 28 Aug 2016 15:18
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?