1
Call for help - Scheduler / Re: Cascading program shortfalls
« on: May 25, 2013, 12:05:50 PM »
I take advantage of one of the 'warning scripts' Radiologik can run. When the program is going to run out of content, 30 seconds before that, this script will run:
~/Music/Radiologik/Scripts/ DJEvent-ProgramQueueEmptyIn30Seconds
And here is what i put in it to automatically grab a song and add it to the program.
And the other thing to do is make the first line in all your programs a Fill with Min of TOTH. That will fill up the gap should there be one.
That should save you from dead air when an unpredictable event happens. The only time you'll get dead air with that is if there is a pending interrupt that it's waiting in the program to run, or you're playing a silent file.
~/Music/Radiologik/Scripts/ DJEvent-ProgramQueueEmptyIn30Seconds
And here is what i put in it to automatically grab a song and add it to the program.
Code: [Select]
--This Applescript is run by Radiologik DJ when there are only 30 seconds of playtime left before the program queue stops.
--this just logs the event so i know it happened
do shell script "echo \"DJ empty in 30 seconds\" `date` >> ~/Dropbox/DJrestartlog.txt"
-- this grabs a song for DJ
tell application "Radiologik DJ"
QueueiTunesPlaylist "-FM-emergency"
end tell
And the other thing to do is make the first line in all your programs a Fill with Min of TOTH. That will fill up the gap should there be one.
That should save you from dead air when an unpredictable event happens. The only time you'll get dead air with that is if there is a pending interrupt that it's waiting in the program to run, or you're playing a silent file.
I'm going to first say watch the videos here: 