You are not logged in.
Hi all. I am using MPD paired with Ncmpcpp, and in my configuration (for both mpd & ncmpcpp) I have the music directory set to /mnt/Shares/Music which is where I am mounting a NFS share located on the local network.
However ncmpcpp seems to be only partially reading the directory. In the server directory I have two subdirectories (mp3 and ogg) but my music player seems to only be reading the mp3 directory. I have tried updating the database through ncmpcpp, restarting the computer, restarting mpd through systemctl, and even tried using symlinks within the directory (and having "follow internal" and "follow external" symlinks set to "yes" in /etc/mpd.conf).
None of these seem to work in making mpd read the ogg directory.
Edit: Mounting through NFS automatically chowns the share to the local user, so not only did I have to sudo chown -R <user>:users the music share directory on the host I also had to reconfigure my MPD settings to run as a local user as well in order to have proper permissions for the NFS share. Prior to that it was running system wide as the MPD user. This has solved the problem completely.
Last edited by felixculpa (2012-12-26 05:24:19)
Offline
I am not sure that mpd from the repos is actually configured to handle ogg/vorbis. I looked at the pkgbuild from abs and compared it against the ./configure --help from the source, and it seems you have to explicity enable vorbis when you configure. I think something like this is worth a feature request.
Offline
If I use a local music directory, it reads ogg files just fine... I seem to be only running into problems when trying to use an NFS share.
Edit: I double checked file permissions, and it looks like some files are set as rwx for the owner only. I have no idea how that happened but the solution was easy. I ran chmod -R on the relevant directories. It's funny how it's really the simple things that trip me up ![]()
Last edited by felixculpa (2012-12-26 03:02:13)
Offline
Awesome, don't forget to mark your thread as [Solved] by editing your first posts. Sorry I couldn't have been of better help to you. Glad you solved it though.
Edit: I did think it kind of odd (and unlikely) that ogg would not be an automatically supported format, but the source told me otherwise... strange.
Last edited by WonderWoofy (2012-12-26 03:12:48)
Offline
Awesome, don't forget to mark your thread as [Solved] by editing your first posts. Sorry I couldn't have been of better help to you. Glad you solved it though.
Edit: I did think it kind of odd (and unlikely) that ogg would not be an automatically supported format, but the source told me otherwise... strange.
while mpd autodetects codecs at compile time, you are right, that PKGBUILD is not perfect...
Last edited by Rasi (2012-12-26 03:31:58)
He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.
Douglas Adams
Offline
...mpd autodetects codecs at compile time...
Now there is the insight I was looking for!
Offline
Rasi wrote:...mpd autodetects codecs at compile time...
Now there is the insight I was looking for!
well to be even more precise: audiofile is a dependency of mpd, which has libsndfile as a dependency, which pulls in libvorbis as a dependency => vorbis support
He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.
Douglas Adams
Offline
Awesome, don't forget to mark your thread as [Solved] by editing your first posts. Sorry I couldn't have been of better help to you. Glad you solved it though.
Edit: I did think it kind of odd (and unlikely) that ogg would not be an automatically supported format, but the source told me otherwise... strange.
Thanks. The Arch community is awesome and I appreciate the help I get in the forums. I am currently updating the database but it is taking quiet some time, so I am not 100% I have fixed the problem. After it is done, and if it works I will update the thread as [Solved].
Thanks again.
Edit: I forgot to mention that I was mistaken in the not reading ogg files part. It was reading only some files from both directories; it just wasn't reading the files it didn't have permission for I'm guessing.
Last edited by felixculpa (2012-12-26 03:47:46)
Offline