Ben Smithurst
mp3play  

mp3play is a simple, command line based MP3 player for un*x-like systems. It supports setting a playlist, programming tracks, playing tracks in random order, selecting tracks from a single artist or disc, and various other features.

If you're of the opinion that command line programs are hard to use, don't rule this program out straight away. It may not be pretty, but it's still fairly easy to use...

Program all tracks by a particular artist (U2 here), and play them randomly:
mp3> program U2
mp3> random
Program all tracks from a compilation CD of many artists, and play them sequentially:
mp3> program disc /party in the park/
mp3> play

Many more examples are possible, but hopefully these two do show that the program is not particular difficult to use. Personally I find this quicker and easier for performing the common operations like this than a graphical program such as xmms.

Of course, there are quite a few features it doesn't have, yet...

configuration file
This could probably be added pretty easily, I've just never seen the need for one. Program lists can be saved separately, and the current playlist is automatically saved, and I've never needed to configure anything else.
rewind/fast-forward
These are non-trivial to add since mp3play doesn't decode the MP3s itself. Maybe one day, but it's not a high priority.

If you're like me, and just want MP3s playing in the background while you work, browse the web, or whatever, these may not matter to you much.

As mentioned earlier, the software contains no MP3 decoding code - that is handled by the command line MP3 player mpg123. FreeBSD users can find mpg123 in the ports collection as audio/mpg123.

The code should compile out-of-the-box on FreeBSD and Linux, just extract the tarball and run ./configure followed by make. If you have problems compiling the code on other systems, either let me know, and I'll see if I can help, or if you can fix the problem yourself, send me the diffs.

To play MP3s from a remote location (by specifying a URL) on platforms other than FreeBSD you must have the wget program installed. This is available from any GNU mirror site; please see the GNU FTP site list to find your nearest mirror if you do not know the address.

Downloads

To download the code go to the source directory for the full tarballs, or the patches directory for patches from one release to the next. There are also some utilities for managing an MP3 collection available.

 
Comments

No comments have been posted yet.


Leave a comment:
Name:
Email:
Subject:
Verification:Please type the characters from the image:
this is to ensure the post is froma real person, and not an automatic spam robot
Comments:

© 2002-2010 Ben Smithurst <web.1d36ca20@bensmithurst.com>