MPD and NFS setup

This forum is for discussion about general software issues.

MPD and NFS setup

Postby 0112358 » Sun Nov 08, 2015 12:46 pm

I'm trying to set up mpd on a remote machine (a raspberry pi running arch) reading the music directory and mpd database from my local machine, with directories exported via NFS. However, I can't get mpd to start up on pi. This is what I get:

$this->bbcode_second_pass_code('', '
-> mpd --no-daemon --stdout --verbose
config_file: loading file /etc/mpd.conf
server_socket: bind to '0.0.0.0:6600' failed: Address already in use (continuing anyway, because binding to '[::]:6600' succeeded)
path: SetFSCharset: fs charset is: UTF-8
libsamplerate: libsamplerate converter 'Fastest Sinc Interpolator'
vorbis: Xiph.Org libVorbis 1.3.5
opus: libopus 1.1
sndfile: libsndfile-1.0.25
fatal_error: Connection refused
')

This is the /etc/mpd.conf on the pi:

$this->bbcode_second_pass_code('', '
music_directory "nfs://192.168.1.101/home/myuser/Music"
playlist_directory "/home/myuser/.mpd/playlists"
log_file "/home/myuser/.mpd/log"
pid_file "/home/myuser/.mpd/pid"
state_file "/home/myuser/.mpd/state"
user "myuser"
bind_to_address "any"
gapless_mp3_playback "yes"
database {
plugin "proxy"
host "192.168.1.101"
}
input {
plugin "curl"
}
audio_output {
type "pulse"
name "Local Music Player Daemon"
server "127.0.0.1"
}
')

This is /etc/exports on the local machine:

$this->bbcode_second_pass_code('', '
/home/myuser/Music 192.168.1.102(ro,insecure)
/home/myuser/.mpd 192.168.1.102(ro,insecure)
')

Can anyone tell me what I might be missing?
0112358
 
Posts: 2
Joined: Sun Oct 19, 2014 5:20 pm

Re: MPD and NFS setup

Postby 0112358 » Sun Nov 08, 2015 5:29 pm

Additional info: it seems like it has to do with the database proxy plugin and trying to use the db file on the host machine. If I use a local db file and mount the remote directory on my local machine (and use the local mount point as music_directory in mpd.conf) then the connection works and mpd starts up. The problem with this is that updating the db takes days.
0112358
 
Posts: 2
Joined: Sun Oct 19, 2014 5:20 pm


Return to General

Who is online

Users browsing this forum: No registered users and 3 guests