# Plays any media file from the command line
# Play media from compressed rar files
unrar p -inul file.rar | mplayer -
# To view a movie with the text based subtitles, use this command to start mplayer
mplayer movie.avi -sub subtitle.txt
# infinitely play a list of tracks
mplayer -loop 0 a.mp3 b.mp3 c.mp3
# Play a video as ascii art in your terminal.
CACA_DRIVER=ncurses mplayer -vf framestep=2 -ao pulse -vo caca -quiet video.mp4 2>/dev/null
# Plays all mp3 files in a directory in a repeating loop. Change 0 to another integer to set number of loops.
mplayer -loop 0 *.mp3
# Play an internet radio station where stream is a playlist
mplayer -playlist "http://96.aac.pls.kusc.live"