mpd --create-db doesn't find new files in music directory
Problem: mpd --create-db (as well as mpc update) does not detect all of my files.
I have a suspicion that it might depend on permission settings. mpd runs on machine1 and my music directory is in /home/foo/media/music on machine2 - its parent dir being NFS-mounted on /media. I can ls or mpg123 without any problem in the mounted directory. The output of ls -l will be the same whether I do it as my own user on machine1 or as user foo on machine2. foo has uid 1000. Code:
# /etc/exports on machine2 Code:
# /etc/mpd.conf on machine1 |
Okay, I have now applied a solution that I'm not quite happy with. If anyone has something to say about it, please do.
Did the following changes to /etc/mpd.conf: user "me" playlist_directory "/home/arla/.mpd/playlists" db_file "/home/arla/.mpd/database" log_file "/home/arla/.mpd/mpd.log" error_file "/home/arla/.mpd/mpd.error.log" # pid_file "/var/run/mpd/mpd.pid" Then created .mpd and its files. |
All times are GMT -5. The time now is 08:50 PM. |