[RDD] Auto starting log

Keywan Najafi Tonekaboni lists at prometoys.net
Thu Jan 22 16:25:56 EST 2015


Hi,

Am Donnerstag, den 22.01.2015, 11:28 -0600 schrieb Harris, Don:
> I am using the default log filenaming convention that Rivendell sets up. ie. YY_MM_DD 
> 
> If you would have that script and instructions I would sure be grateful.
> 

This scripts loads the today log. 

https://github.com/prometoys/hertz879/blob/master/hertz-rml/load-today-log.sh

Load the log of the day and start at beginning:
./load-today-log.sh

Load today log and jump to cart planned around 12:34
./load-today-log.sh 12:34


I combine this script with this script at startup:

$ cat /usr/local/bin/start-rdairplay.sh
#!/bin/bash
set +x

rdairplay &

sleep 2

/usr/local/bin/load-today-log.sh `date +%H:%M`

#### EOF

I added this script in the startup applications of gnome. 

Hope that helps.

Best,

Keywan


-- 
Redakteur Hertz 87.9
 
Hertz 87.9 - CampusRadio für Bielefeld
www.radiohertz.de



More information about the Rivendell-dev mailing list