Due to COVID WMFO is doing a lot more pre-recorded show broadcasting. At present, I created a (highly janky but effective) shell script <https://github.com/WMFO/wmfo-covid-broadcasting-script/blob/master/play-rd-show.sh> to:
1. Load a blank log and clear the queue. 2. Queue up a pre-show announcement and the show from the RD cart. 3. Press start in case we managed to stop at the wrong time. 4. Add a macro cart at the end that will check to see if we have a pre-recorded show about to be played, and either do nothing if that's the case or restart our automation log if there isn't one in the system. There's a separate script <https://github.com/WMFO/wmfo-covid-broadcasting-script/blob/master/wmfo-rd-show-robot.sh> which finds the next show and calls the "play" script 2 minutes prior to the scheduled start time under the assumption that on average we will have half a song left and we have a 28 second announcement. We loaded all shows in Rivendell under the "Shows" category with a defined naming schema YYYYMMDD_HHMM-show-name which we can query and parse using mysql. This is probably adequate for now. It would be ideal if we could edit the logs or generate them programmatically to insert shows in the queue at the right time. Does anyone have experience doing this? Our current setup is set to create a log with a fixed number of shows, a series of PSAs and an ID at the top of the hour. During some hours, we probably want to clear out an hour of songs and put a show in the "make next" category. We don't have a reliable, repeatable schedule at present as we are just testing (so we can't set up a service in advance and configure each hour etc.). But the following would be cool: 1. First goal: Some method of creating a log that incorporated different segments on a day by day basis. We know 1) the shows for tomorrow and 2) the duration of each show, which in theory is enough info to alter the log. 2. Do people have strategies for finding combinations of programming that ends at a precise time? At present we have a very large library and use an external scheduler to generate the song list which gets merged. We schedule songs 2 minutes apart and then have the ID become next a few minutes before the top of the hour. --Nick
_______________________________________________ Rivendell-dev mailing list [email protected] http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
