View Full Version : [ubuntu] music player cmd line arg to play playlist

August 23rd, 2009, 12:32 AM

I'm looking for a music player in Ubuntu (KDE/GNOME) that can do this in the command line:

musicplayer --playlist "playlist name"

... to play a playlist with the name "playlist name"

rhythmbox is my preferred music player, but it can only start and stop currently selected playlist. In Winamp, I used to have morning playlist that will play every morning at 7am (to wake me up).

Scheduling is taken care of with cron, but unfortunately the cmd line arg for rhythmbox doesn't expose this feature, so it's not schedulable.

1. is there a music player that can do --playlist "playlist name" ?
2. what music player has the richest command line args / options ?

August 24th, 2009, 01:38 PM
I take it then that this is not possible :(

August 24th, 2009, 02:12 PM
mpc, ncmpc, mplayer, vlc, actually pretty much any command line music player I can think of supports loading playlists from CLI.

August 24th, 2009, 02:15 PM
mpg321 is what you are looking for
the playlist should be a list of files one per line with the complete path

August 24th, 2009, 02:15 PM
mocp is a nice console player

September 16th, 2009, 08:33 AM
Hi zsugiart,

is there a music player that can do --playlist "playlist name" ?

You almost have the MPlayer command there:

mplayer -playlist filename.pls

From the man pages:

-playlist <filename>
Play files according to a playlist file (ASX, Winamp, SMIL, or
one-file-per-line format).

Is this what you mean?