To play a list of files in random order using MPlayer, you can use the -shuffle
option. This option will shuffle the list of files before playing them.
For example, to play a list of audio files in random order, you can use the following command:
referot :lautturi.commplayer -shuffle *.mp3
This will play all of the .mp3
files in the current directory in random order.
You can also use the -playlist
option to specify a playlist file containing a list of files to play. The playlist file should contain one file per line. For example:
mplayer -shuffle -playlist playlist.txt
This will play the files listed in playlist.txt
in random order.
Keep in mind that the -shuffle
option only works for the list of files specified on the command line or in a playlist file. If you are using MPlayer to play a single file, the -shuffle
option will have no effect.