Creating a playlist for mplayer

Posted: February 28, 2008 in Linux

Use the below command to add the .mp3 files in a giving directory to your playlist for mplayer. Or add complete path of your music files in myplaylist.txt (one per line).

$ find [/path/to/directory/] -name “*.mp3″ -print > myplaylist.txt

Now use the mplayer command with a -playlist extension to play the music files.

$ mplayer -playlist myplaylist.txt

Enjoy the music !!! :-)

About these ads

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s