Wednesday, November 04, 2009

How to create mplayer playlist in Ubuntu

1 - Open a terminal within your directory that includes the media files ("mp3" for this case) to be added to the playlist.

2 - Use find command with -name option to list files (lists recursively by default) and send this list into your "playlistName.m3u" ("Totem Player" in Ubuntu considers .m3u files)

Here is the script: (GNOME Terminal 2.28.1)

$find -name '*.mp3' >playlistName.m3u



Labels:

1 Comments:

At 10:45 PM , Blogger Unknown said...

Thanks A Lot!

 

Post a Comment

Subscribe to Post Comments [Atom]

<< Home