You are not logged in.

#1 2009-11-28 06:27:48

dr0p
Member
From: Seattle, WA, USA
Registered: 2008-06-11
Posts: 120

MPD Troubles

I recently did a clean install of arch on my laptop and because I couldn't remember exactly how I had my mpd configured, I just went through the wiki article on setting it up and it's not quite working. First and foremost, I can't get it to add any content to the library. Also, I can't get mpd to launch from a normal user status and daemonize. My mpd.conf is here. Here are the two errors (from different run levels) root & user.

As always, thanks for the help.


Arch i686 User
xmonad :: xmobar :: urxvt :: vim

Offline

#2 2009-11-28 08:12:24

Ekimino
Member
From: Maldonado, Uruguay
Registered: 2008-02-26
Posts: 69
Website

Re: MPD Troubles

Did you move you're Music from somewhere else, try  chmodding  and chown it also,
chmod -R 755 <dir>
chown -R user:group /home/james/Musc

This is if you transferred your files manually from another Partition/Disc using root as the copying user.

Cheers.

Offline

#3 2009-11-28 08:27:13

Runiq
Member
From: Germany
Registered: 2008-10-29
Posts: 1,053

Re: MPD Troubles

Seems like MPD tries to access the music in your home directory (which is usually owned by <user>:user) or something. For this to work, you'd need the user mpd to own it:

chown -R mpd:mpd <path/to/music/dir>

I'd recommend trying to put yourself in the audio group and chowning the files to mpd:audio, though. That way, when you set the proper permissions, you'll still be able to delete/add/change your music collection.

Last edited by Runiq (2009-11-28 08:27:37)

Offline

#4 2009-11-28 08:37:55

dr0p
Member
From: Seattle, WA, USA
Registered: 2008-06-11
Posts: 120

Re: MPD Troubles

Wow... I feel dumb, I forgot to chmod my home folder properly :x I had all of the correct permissions on my Music folder. Thanks for the posts anyways.

Last edited by dr0p (2009-11-28 08:38:06)


Arch i686 User
xmonad :: xmobar :: urxvt :: vim

Offline

#5 2009-12-01 06:52:28

jdkdonk
Member
Registered: 2009-11-23
Posts: 23

Re: MPD Troubles

Is there really any benefit to having MPD run as user "mpd"?

Why not just install it an run it as myself as the user?

Offline

#6 2009-12-01 07:00:32

JohannesSM64
Member
From: Norway
Registered: 2009-10-11
Posts: 623
Website

Re: MPD Troubles

jdkdonk wrote:

Why not just install it an run it as myself as the user?

Indeed, that's what I do.
edit: the other approach has an advantage for shared computers though I think

Last edited by JohannesSM64 (2009-12-01 07:01:33)

Offline

Board footer

Powered by FluxBB