Hi,

my quick and dirty solution to that would be to
1/ stop playing the log in rdairplay and put it into manual mode
2/ play that variable length show with an external program (mplayer for example) using a cronjob to execute a bash script like below
3/ script resumes rdairplay when mplayer is done


#!/bin/bash
# rmlsend commands to stop log and manual mode (PS, PM 3)
mplayer -ao jack:port=[1-2] myFile.wav &&
# when mplayer ends, commands to resume rdairplay (SN, PM 1)

I use something like that when i have shows longer than 2h (because it happens twice a year and none of my import machines can import such long files (apache timeout or /tmp partition too small, i don't even want to know)).

. e


On 07/04/2017 05:05 AM, Dan (Interesting Radio) wrote:
Hi everyone,

I'm trying to work out how to build logs that contain multi-hour carts, but I'm having issues getting it lined up in my head.

My standard clock is a full hour of music, with a hard play at 00:00 with a station ident and then a short (play-next) ident at 30:00. If I replace the music with a cart of a show that is, say, 3 hours, I don't want the hard play at the top of the hour to run, until the 3 hour cart is finished, so it doesn't get interrupted. They're usually more like 3 hours 15 minutes or 2 hours 50 minutes, so the next hard play, to keep everything on schedule, would be at hour 4 or 3 respectively.

Is there any easy way to suspend the hard play while certain carts are playing? I don't want to do clocks without the hard plays for the hours where the long cart is playing as sometimes it might be 1 hour, sometimes 3, and I'm trying to get things as automated as possible!

Any help or pointers appreciated

Dan


_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to