Choose channel dialog
May 10, 2007 [Tech]Following on from the last post about how I got my TV card working, here is a little script I wrote that allows me to choose a channel and start watching. It uses zenity for a rudimentary GUI:
$ cat bin/tv_choose_channel #!/bin/bash awk -F ':' '{print $1}' < .mplayer/channels.conf | \ zenity --list --title "Choose Channel" \ --text "Choose a TV channel to watch..." \ --column "Channels" | xargs -IREP tv_watch "REP"