Added a check for mplayer. (boarpig's suggestion)