Specifications
12.1 Playing from File
Playing from file is reasonably straight−forward with all players. The only big difference is some are
command−line based and some are X based. 
Playing an MP3 file from file requires you to pass the mp3 file as a parameter, like so: 
[dj@megajukebox]$ mpg123 /mp3_files/SampleFile.mp3
or
[dj@megajukebox]$ xaudio /mp3_files/SampleFile.mp3
If you want to play a series of files, pass them in as a list: 
[dj@megajukebox]$ alsaplayer /mp3_files/SampleFile1.mp3 /mp3_files/SampleFile2.mp3
To play all the tracks in a directory, just wildcard the file selected, like so: 
[dj@megajukebox]$ xmms /mp3_files/*.mp3
12.2 Playing from MP3 Streams
Playing from a MP3 stream is quite easy, just replace the file with the streams url and port number: 
[dj@megajukebox]$ mpg123 http://localhost:8000
or
[dj@megajukebox]$ freeamp http://megajukebox:2711
12.3 Capturing MP3 Streams
A stream from a MP3 server can be captured and save locally using the following: 
Streamripper
To capture an MP3 stream using streamripper, type the following: 
[dj@megajukebox]$ streamripper −h megajukebox −p 8000 
Press CTRL−C to stop
 The Linux MP3−HOWTO 
12.1 Playing from File 33










