You are not logged in.

#1 2010-02-10 01:56:03

Dethredic
Member
Registered: 2009-01-24
Posts: 361
Website

MPD Help

[phil@fml ~]$ mpd /home/phil/.mpd/config
failed to stat music directory "/phil/music": No such file or directory
db_file setting missing
Aborted
[phil@fml ~]$ cat /home/phil/.mpd/config/mpd.conf
cat: /home/phil/.mpd/config/mpd.con: No such file or directory
[phil@fml ~]$ cat /home/phil/.mpd/config/mpd.conf
music_directory      "/home/phil/music"
playlist_directory   "/home/phil/.mpd/playlists"
db_file              "/home/phil/.mpd/mpd.db"
log_file             "/home/phil/.mpd/mpd.log"
pid_file             "/home/phil/.mpd/mpd.pid"
state_file           "/home/phil/.mpd/state"
user                 "phil"


[phil@fml ~]$ ls -l | grep music
drwxr-xr-x 2 phil users      4096 Feb  6 21:09 music
[phil@fml ~]$

I have tried changing the "phil" user to "mpd", which didn't help. Any ideas?

Last edited by Dethredic (2010-02-10 21:36:23)

Offline

#2 2010-02-10 04:32:20

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: MPD Help

Looks like you might have an error in your mpd.conf -- can't stat /phil/music...how about /home/phil/music ?

Offline

#3 2010-02-10 04:47:30

Dethredic
Member
Registered: 2009-01-24
Posts: 361
Website

Re: MPD Help

firecat53 wrote:

Looks like you might have an error in your mpd.conf -- can't stat /phil/music...how about /home/phil/music ?

thats the weird thing. In my MPD config file I have:
music_directory      "/home/phil/music"

Offline

#4 2010-02-10 05:52:13

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: MPD Help

Its been a while since I use mpd last but does it require a trailing '/' for the path to be valid?


neutral

Offline

#5 2010-02-10 06:25:51

Chokkan
Member
Registered: 2009-04-06
Posts: 129

Re: MPD Help

I don't have the trailing / in my config file. Just to eliminate the obvious, are you mixing up Music and music?


< Daenyth> tomkx: my girlfriend is linux
< Daenyth> srsly
< Daenyth> she loves the way I «make install»
< Daenyth> all her /dev entries are mode 7 for me

Offline

#6 2010-02-10 08:37:44

kaivalagi
Member
From: Norwich, UK
Registered: 2009-11-05
Posts: 145

Re: MPD Help

Chokkan wrote:

I don't have the trailing / in my config file. Just to eliminate the obvious, are you mixing up Music and music?

+1 - Bound to be a case issue


Running Arch 64 (Made the switch to Arch 10/2009)
AUR | BZR

Offline

#7 2010-02-10 12:45:49

Mineo
Member
From: Germany
Registered: 2009-12-13
Posts: 24
Website

Re: MPD Help

Dethredic wrote:
[phil@fml ~]$ mpd /home/phil/.mpd/config
failed to stat music directory "/phil/music": No such file or directory
db_file setting missing
Aborted

So /home/phil/.mpd/config is a file.

Dethredic wrote:
[phil@fml ~]$ cat /home/phil/.mpd/config/mpd.conf
music_directory      "/home/phil/music"
playlist_directory   "/home/phil/.mpd/playlists"
db_file              "/home/phil/.mpd/mpd.db"
log_file             "/home/phil/.mpd/mpd.log"
pid_file             "/home/phil/.mpd/mpd.pid"
state_file           "/home/phil/.mpd/state"
user                 "phil"

Now /home/phil/.mpd/config is a directory with mpd.conf in it. Is it me being stupid or is there something wrong here?

Offline

#8 2010-02-10 21:28:44

Dethredic
Member
Registered: 2009-01-24
Posts: 361
Website

Re: MPD Help

Mineo wrote:
Dethredic wrote:
[phil@fml ~]$ mpd /home/phil/.mpd/config
failed to stat music directory "/phil/music": No such file or directory
db_file setting missing
Aborted

So /home/phil/.mpd/config is a file.

Dethredic wrote:
[phil@fml ~]$ cat /home/phil/.mpd/config/mpd.conf
music_directory      "/home/phil/music"
playlist_directory   "/home/phil/.mpd/playlists"
db_file              "/home/phil/.mpd/mpd.db"
log_file             "/home/phil/.mpd/mpd.log"
pid_file             "/home/phil/.mpd/mpd.pid"
state_file           "/home/phil/.mpd/state"
user                 "phil"

Now /home/phil/.mpd/config is a directory with mpd.conf in it. Is it me being stupid or is there something wrong here?

I copied it directly from the wiki. I will try in out in an hour when I get home.

Chokkan wrote:

I don't have the trailing / in my config file. Just to eliminate the obvious, are you mixing up Music and music?

I'm not. In my origional post I have a ls -l | grep music, and you can see a dir comes up.

Offline

#9 2010-02-10 22:13:52

Roline
Member
From: Netherlands
Registered: 2009-12-05
Posts: 207
Website

Re: MPD Help

Never mind

Last edited by Roline (2010-02-10 22:17:41)


Bitbucket - DeviantART - Userstyles
*Currently Not Using Arch

Offline

#10 2010-02-10 22:20:32

Dethredic
Member
Registered: 2009-01-24
Posts: 361
Website

Re: MPD Help

Mineo was correct. I needed to run:
mpd /home/phil/.mpd/config/mpd.conf

I misinterpreted the wiki

Last edited by Dethredic (2010-02-10 22:21:57)

Offline

Board footer

Powered by FluxBB