#!/bin/bash#a script to watch TV streams with vlc#Save this as wtv.sh in /usr/local/bin/ or anywhere else. #(saving it in /usr/local/bin/ will allow you to call it from anywhere).#Make the file executable: chmod +x wtv#The script assumes you have the file .tvlist in your home directory, with the following #format: #channel_name #channel URL #comments#A line per channel.list_file=~/.tvlistchannel=$1channel_url=`grep -w "#$channel" $list_file | cut -f3 -d#`vlc -f "$channel_url" 2> /dev/null #run vlc in Full Screen mode and don't display warnings