#!/bin/bash # # copy to /usr/bin # # enhance: if $1 is a url ... start firefox not mplayer! # file=`echo $1 | awk -F: '{ print $2 }'` echo "playing $file ..." mplayer -fs $file echo "done"