On days with live shows that end at midnight we load the playlist at 23:59
with the next script.

#!/bin/bash
DATUM=`date --date="tomorrow" +%m%d`
/usr/local/bin/rmlsend "LL 1 Production-${DATUM}"\!

If you put a
sleep 30
before the DATE=.. line then the log get loaded at 23:59:30

Gerrit

>
> you might have seen (or not) in the code Gerrit rotates after midnight,
> you have to make some changes to rotate to the NEXT day just before
> midnight !
>
>
> Peter van Embden schreef op 12-4-2014 16:36:
>> Going to give this a try!
>> You have to know, that at most days there's live shows untill
>> midnight. The system manager has built a web-interface for the DJ's
>> where they can manually start the news (between xx.58.30 and
>> xx.01.30). If they don't, the news will start at xx.01.30 anyway. And
>> therefor it should be quite handy if next days log is loaded at
>> 23.58.30.
>> Verstuurd
>> *Van:* Rick
>> *Verzonden:* ‎zaterdag‎ ‎12‎ ‎april‎ ‎2014 ‎16‎:‎12
>> *Aan:* Peter van Embden; [email protected]
>> by Gerrit Hanenberg: (!) he sent this to me and uses it
>>
>> We solved this by calling this bash script at midnight
>>
>> #!/bin/bash
>> DATE=`date +%m%d`
>> rmlsend "LL 1 Production-${DATE}"\!
>> rmlsend "PL 1 0"\!
>>
>> It will finish the song that is playing, so the list has some time to
>> load
>>
>>
>>
>>
>> Peter van Embden schreef op 12-4-2014 15:46:
>>
>>     I'm actually thinking about getting rid of the "segue to next
>>     log", if there is a way to load next days log "manually" of with
>>     RDCatch. Now to find out if there is such an option ...
>>     Sincerely,
>>     Peter van Embden
>>     Radio Capelle
>>     The Netherlands
>>     Verstuurd
>>     *Van:* Rick
>>     *Verzonden:* ‎zaterdag‎ ‎12‎ ‎april‎ ‎2014
>> ‎00‎:‎59
>>     *Aan:* [email protected]
>>
>>     I have one hardtimed event @ the last item before the log chain  ,
>>     this forces the rotation to the next day with a silence of 6
>>     seconds until we implement the script I was sent
>>
>>
>>     Peter van Embden schreef op 12-4-2014 0:15:
>>
>>         Hello,
>>         Our log just started to play over at the start of the log,
>>         without chaining to the next day. We're trying to get our NEWS
>>         floating, but with a maximum waiting time (1.30 after the
>>         hour). Works fluently for 23 hours, except for midnight. Now
>>         I'd like to force the loading of the next log at 23.59.30. Is
>>         that possible?
>>         Thanks in advance,
>>         Peter van Embden
>>         Radio Capelle
>>         The Netherlands
>>         Verstuurd
>>
>>
>>         _______________________________________________
>>         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
>

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

Reply via email to