2 # Generated by atscap -S, Sat Sep 23 22:13:17. You may need to edit this.
3 # This script collects ATSC samples from all of your stations.
4 # You may edit LOCATION to reflect the nearest big city.
5 # You may edit CHANNELS if you adjust for better reception.
9 echo atscap
>atscap.txt
10 tar cf samples-
$LOCATION.
tar atscap.txt
11 for i
in $CHANNELS; do
12 echo Collecting samples from channel
$i
14 # -i0 sets the dvb device number to 0
15 atscap
-q -i0 -s60 -o$i.ts
$i
16 if [[ -f $i.ts
]]; then
17 atscut
-q -m3 -a15 $i.ts
>$i-mgt.txt
18 atscut
-kmgt $i.ts
>/dev
/null
19 tar rf samples-
$LOCATION.
tar $i-mgt.txt
$i-mgt.ts
20 rm -f $i-mgt.txt
$i-mgt.ts
$i.ts
23 rm -f samples-
$LOCATON.
tar.bz2
24 bzip2 samples-
$LOCATION.
tar
25 echo Please email samples-
$LOCATION.
tar.bz2 to inkling@nop.org
26 echo The curious may want to inspect the
-mgt files.