Here's mine. I have 80 carts prerecorded with "It's 15 degrees in
Saskatoon", "It's 16 degrees in Saskatoon" etc. The script below just runs
every 20 minutes via crontab and I have cart 4000 inserted in my log
whenever I want to give the temperature:
cd /var/snd
rm -f canada_e.html
wget -q http://text.weatheroffice.gc.ca/canada_e.html
j=`cat canada_e.html |grep Saskatoon |sed -e :a -e 's/<[^>]*>//g;/</N;//ba;
s/[a-zA-Z&;]//g'`
 s=$((3500+$j))
 file=00${s}_001.wav
cp $file 004000_001.wav




On Tue, Apr 9, 2013 at 9:54 AM, Bill Putney <[email protected]> wrote:

> There is weather station software that runs on Linux (Weather-Display
> for one) and hobby class weather stations are not that expensive. If
> have all your own temperature, humidity, wind speed/direction and rain
> gauge from your own station it is likely to be better and more current
> than the online sources, unless you live next to a major airport. All
> the information would be available as local variables refreshed minute
> by minute to make decisions about what to play.
>
> Bill
>
> On 4/9/13 8:17 AM, Sébastien Leblanc wrote:
> > Damn, just checked  their terms of use (Forecast.io) and they don't
> > allow radios, newspapers, broadcast and cable television to use their
> > API...
> > _______________________________________________
> > Rivendell-dev mailing list
> > [email protected]
> > http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
>
> _______________________________________________
> Rivendell-dev mailing list
> [email protected]
> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
>
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

Reply via email to