#
# gosh - even grifter gets it on with C-SPAN from time to time!
# okt 2k3
#
# 2007 update, their wmv stream is shit, but their real is nice


case "$1" in

	1)
#   mplayer -nofs -playlist 'http://play.rbn.com/play.asx?url=cspan/cspan/wmlive/cspan1v.asf&proto=mms?mswmext=.asx'
mplayer -playlist rtsp://play.rbn.com/?url=cspan/g2cspan/live/cspan1-g2.rm
	;;
	2)
#   mplayer -nofs -playlist 'http://play.rbn.com/play.asx?url=cspan/cspan/wmlive/cspan2v.asf&proto=mms?mswmext=.asx'
mplayer -playlist rtsp://play.rbn.com/?url=cspan/g2cspan/live/cspan2-g2.rm
	;;
	3)
#   mplayer -nofs -playlist 'http://play.rbn.com/play.asx?url=cspan/cspan/wmlive/cspan3v.asf&proto=mms?mswmext=.asx' 
mplayer -playlist rtsp://play.rbn.com/?url=cspan/g2cspan/live/cspan3-g2.rm
	;;
	*)
		echo "USAGE:"
		echo "cspan 1  -- Turns on channel C-SPAN 1"
		echo "cspan 2  -- Turns on channel C-SPAN 2"
		echo "cspan 3  -- Turns on channel C-SPAN 3"
	;;

esac

exit 1
