You are not logged in.
Pages: 1
[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
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
Its been a while since I use mpd last but does it require a trailing '/' for the path to be valid?
![]()
Offline
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
Offline
[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.
[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
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 AbortedSo /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.
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
Never mind
Last edited by Roline (2010-02-10 22:17:41)
Bitbucket - DeviantART - Userstyles
*Currently Not Using Arch
Offline
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
Pages: 1