So, hopefully, you should now have some MP3 files ready to listen to, and have the choice of paying from file or stream.
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
Playing from a MP3 stream is quite easy, just replace the file with the streams url and port number:
mpg123 http://localhost:8000 or freeamp http://megajukebox:2711