You are not logged in.

#1 2008-01-04 19:55:08

Smith oo4
Member
From: Calgary, Alberta, Canada
Registered: 2007-12-30
Posts: 42

Playing MP3s with out a desktop environment

Can anyone recommend a good command line program for playing MP3s?  I am looking for a simple program that will run in the background, in which I tell it the directory where my music is saved, and it then randomly plays the music.  It would also be nice to be able to query the song information every once in a while.
Thank you

Offline

#2 2008-01-04 19:57:57

somairotevoli
Member
Registered: 2006-05-23
Posts: 335

Re: Playing MP3s with out a desktop environment

Offline

#3 2008-01-04 20:45:39

darkarchon
Member
From: Israel
Registered: 2007-02-28
Posts: 44

Re: Playing MP3s with out a desktop environment

also try moc

Offline

#4 2008-01-04 23:06:21

peets
Member
From: Montreal
Registered: 2007-01-11
Posts: 936
Website

Re: Playing MP3s with out a desktop environment

Lately I've heard people talking about cmus and am tempted to give it a try. Usually I use mpd, but its downside is that you have to import the files into its database to be able to play them. For quick-and-dirty command-line play I've been using mplayer. Because I can.

Offline

#5 2008-01-04 23:34:41

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

Re: Playing MP3s with out a desktop environment

mpd + ncmpc

Offline

#6 2008-01-04 23:41:00

avoulk
Member
From: Greece
Registered: 2007-08-28
Posts: 132
Website

Re: Playing MP3s with out a desktop environment

mpd +1

Offline

#7 2008-01-04 23:49:15

JoeBob
Member
Registered: 2007-01-25
Posts: 2

Re: Playing MP3s with out a desktop environment

cmus all the way.  I even use it in X because it's the best music player I've ever tried.

Offline

#8 2008-01-05 07:55:30

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: Playing MP3s with out a desktop environment

moc... BTW the executable is mocp.


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#9 2008-01-05 11:07:44

smoon
Member
Registered: 2005-08-22
Posts: 468
Website

Re: Playing MP3s with out a desktop environment

I wonder why nobody ever mentions XMMS2 in this kind of threads. Personally, I think it is superior to mpd, so I suggest you give it a try: http://wiki.xmms2.xmms.se/index.php/Main_Page.

Offline

#10 2008-01-05 12:28:30

[vEX]
Member
From: Sweden
Registered: 2006-11-23
Posts: 450

Re: Playing MP3s with out a desktop environment

I also vote for MPD + mpc and/or ncmpc, it's pretty slick.


PC: Antec P182B | Asus P8Z77-V PRO | Intel i5 3570k | 16GB DDR3 | GeForce 450GTS | 4TB HDD | Pioneer BDR-207D | Asus Xonar DX | Altec Lansing CS21 | Eizo EV2736W-BK | Arch Linux x86_64
HTPC: Antec NSK2480 | ASUS M3A78-EM (AMD 780G) | AMD Athlon X3 425 | 8GB DDR2 | GeForce G210 | 2TB HDD | Arch Linux x86_64
Server: Raspberry Pi (model B) | 512MB RAM | 750GB HDD | Arch Linux ARM

Offline

#11 2008-01-05 15:28:35

Agent69
Member
Registered: 2006-05-26
Posts: 189

Re: Playing MP3s with out a desktop environment

I use MPD myself. I like it because it is faceless and because I can use Conky as a status monitor. I really like ncmpc as a client, but I have started to use mpc more and more.

Offline

#12 2008-01-05 16:37:34

ido
Member
Registered: 2007-09-15
Posts: 28

Re: Playing MP3s with out a desktop environment

Another vote for mpd+ncmpc.

Offline

#13 2008-01-05 18:00:01

Smith oo4
Member
From: Calgary, Alberta, Canada
Registered: 2007-12-30
Posts: 42

Re: Playing MP3s with out a desktop environment

Thank you for your advice, I will give them a try today.
Morgan Smith

Offline

#14 2008-01-05 18:07:40

barry
Member
Registered: 2007-11-27
Posts: 39

Re: Playing MP3s with out a desktop environment

mpd+ncmpc here too.

Offline

#15 2008-01-05 19:33:06

peets
Member
From: Montreal
Registered: 2007-01-11
Posts: 936
Website

Re: Playing MP3s with out a desktop environment

smoon wrote:

I wonder why nobody ever mentions XMMS2 in this kind of threads. Personally, I think it is superior to mpd, so I suggest you give it a try: http://wiki.xmms2.xmms.se/index.php/Main_Page.

Hey, you're right, it does look really interesting. I will definitely give it a try. I just installed cmus, but it's quite buggy (some garbage gets printed, and sometimes it just stops playing and responding altogether). Plus, it has to sit in a console, it doesn't "go headless".

Offline

#16 2008-01-05 19:36:32

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Playing MP3s with out a desktop environment

moc can be detached.

Offline

#17 2008-01-05 20:36:57

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: Playing MP3s with out a desktop environment

peets wrote:

Usually I use mpd, but its downside is that you have to import the files into its database to be able to play them.

Support for playing files outside the db is in the roadmap, they don't say anything about a completion date or version though.

Offline

#18 2008-01-05 21:22:36

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: Playing MP3s with out a desktop environment

Ramses de Norre wrote:
peets wrote:

Usually I use mpd, but its downside is that you have to import the files into its database to be able to play them.

Support for playing files outside the db is in the roadmap, they don't say anything about a completion date or version though.

Better yet, there is a mpd-updater daemon that uses inotify to automatically update your database on file changes. It still needs a little finessing (for example, I believe it updates your entire db on a file change when all it needs to do is update the single file), but it works fine. I hope it will eventually make it into mpd, but I've bugged mpd devs about it a few times and haven't made much progress.

https://svn.musicpd.org/mpd-updater/


I am a gated community.

Offline

#19 2008-01-07 07:41:13

bionnaki
Member
Registered: 2006-09-05
Posts: 289

Re: Playing MP3s with out a desktop environment

why mpd over moc? moc is great.

Offline

#20 2008-01-07 09:36:32

dir
Member
From: dotph
Registered: 2007-10-10
Posts: 20

Re: Playing MP3s with out a desktop environment

moc.

Offline

#21 2008-01-07 10:32:52

bionnaki
Member
Registered: 2006-09-05
Posts: 289

Re: Playing MP3s with out a desktop environment

Offline

#22 2008-01-07 11:02:26

eyolf
Member
From: Copenhagen
Registered: 2005-11-29
Posts: 339
Website

Re: Playing MP3s with out a desktop environment

+1 for moc. I have nothing against mpc, though

Offline

#23 2008-01-07 16:45:59

WiLLiE
Member
From: Sweden
Registered: 2005-02-27
Posts: 135

Re: Playing MP3s with out a desktop environment

mpd/ncmpc.

Offline

Board footer

Powered by FluxBB