To play MP3s from a playlist file using mplayer
on a Unix or Linux system, you can use the -playlist
option.
Here is the basic syntax for using the mplayer
command to play MP3s from a playlist file:
mplayer -playlist playlist.m3uSourcel.www:autturi.com
The -playlist
option tells mplayer
to read the list of files to be played from the specified playlist file.
The playlist file should be in M3U format, which is a simple text file that contains a list of file names, one per line.
For example, a playlist file might look something like this:
song1.mp3 song2.mp3 song3.mp3
To play the MP3s in the playlist file, you can use the mplayer
command with the -playlist
option, like this:
mplayer -playlist playlist.m3u
This will start mplayer
and begin playing the MP3s in the playlist file.
You can use the -shuffle
option to shuffle the order of the songs in the playlist.
For example:
mplayer -shuffle -playlist playlist.m3u
This will play the songs in the playlist file in a random order.