Statistics
| Branch: | Tag: | Revision:

dvbd / utils / livetv @ 723fa73a

History | View | Annotate | Download (285 Bytes)

1
#!/bin/sh
2
PATH=$PATH:/home/jak/bin
3

    
4
trap "" TERM
5
killav >& /dev/null
6

    
7
cleanup()
8
{
9
    echo "Cleaning up..."
10
    kill %1
11
}
12
trap cleanup TERM
13
trap cleanup CHLD
14

    
15
export DISPLAY=:0.0
16
export HOME=/home/jak
17
dvbcat -p 5 dvb-t "$1" | mplayer -fs -really-quiet - >& /tmp/mplayer.log &
18
wait %1
19