MyTV

Below is a shell script I wrote to watch tvtime with synchronized audio on SAA7133 / SAA7134 chipsets and linux distros that don’t take care of it automatically. As of this writing, I’m still using Ubuntu 7.04 Feisty awaiting the Intrepid release in a matter of days; unfortunately, feisty had not included support for tv hardware so syncing audio with a little help from sox was necessary.

?View Code BASH
1
2
3
4
5
6
7
8
#!/bin/sh
tvtime &;
t=`pidof tvtime`;
sleep 5;
sox -c 2 -r 32000 -t ossdsp /dev/dsp1 -c 2 -r 32000 -t ossdsp /dev/dsp &;
wait $t
killall -9 sox;
exit 0;

This entry was posted on Tuesday, October 21st, 2008 at 12:44 am and is filed under Code. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

« Vintage Computer Pictorial
Export MySQL Data to CSV File »

Comments are closed.

potatoeskillme
  • Stuff

    • Building a Carputer
    • Jackson Hole Road Trip
    • Trails Highlights
    • Lake Don Pedro
    • July 4th, 2009 – 41st Newport
    • Morning Surf 7.24.09
    • Wedge 7.24.09
    • Morning Surf 7.25.09
    • Big Bear B-day Bash
    • Yosemite Aug 2009
    • NJ Surf Trip Sept 2009
    • Mammoth Thanksgiving 09
    • Jackson Hole Road Trip Redux
    • Deer Valley Spring Skiing
    • Big Bear Session
    • Sequoia 2010
    • Mammoth Thanksgiving 2010
    • Silverton Road Trip 2011
    • Road Trip to Monfuckintana
    • Mammoth Thanksgiving 2011
    • Tioga Pass Eastern Yosemite
  • Recent Posts

    • TI-86 Intervalometer for Canon XTi
    • Bad interpreter error – linux shell script
    • MintTv
    • PHP cURL
    • Export MySQL Data to CSV File
  • Categories

    • Code
    • Older Projects
    • Uncategorized
  • Links

    • Evan Wise