Tuesday, September 2, 2008

 

Bash Scripts: Watching TV off the Antenna

I wrote a bash script to watch television a while ago. It can change to the channels that are receivable via the antenna. It seemed rather harder to write than it should have been but I think it would be of some interest to people who use mplayer, especially if you live around the Toronto area in southern Ontario and have an antenna.

Here is the script:

http://cubeman.org/bash-scripts/watch-tva.txt

The script references another script that toggles the input of line in off and on since the sound card needs to receive the tv card's output to it's input.

Here is the script to toggle the line in off and on:

http://cubeman.org/bash-scripts/tog-input.txt

Note that this second script is only of use for KDE users. I don't know what the equivalent would be for Gnome.

Comments: Post a Comment





<< Home

This page is powered by Blogger. Isn't yours?

Subscribe to Posts [Atom]