You are not logged in.

#1 2011-10-19 13:19:41

b9anders
Member
Registered: 2007-11-07
Posts: 691

Can't get MPD to scan my library

This is a major headache for me right now. I've followed the wiki twice over from scratch and suggestions from searches in the forums without luck. No matter what program I use to update the database, it won't scan my library.

My music library sits in

/windows/Users/Anders/Music

/windows is an ntfs partition, but I don't think that should matter. Since the wiki and forums suggestion it could be permission issues I have the following line added to /etc/fstab:

/windows/Users/Anders/Music /var/lib/mpd/music none bind

It mounts just fine so in /etc/mpd.conf I have:

   music_directory        "/var/lib/mpd/music"

All other settings are set as the wiki suggests they should be. The mpd daemon loads just fine.

And from here, I am stuck. 'mpc update' does nothing, nor pressing 'u' in ncmpcpp, nor clicking 'update' in ario. I have not considered changing the mpd user and paths to my regular user since I want to be able to run mpd systemwide.

Any help?

Last edited by b9anders (2011-10-19 13:23:00)

Offline

#2 2015-01-17 17:03:48

teh_sux0r
Member
Registered: 2015-01-17
Posts: 1

Re: Can't get MPD to scan my library

First change your music_directory to  "/windows/Users/Anders/Music" for some reason just using the link pointers wouldn't work for me.

If that doesn't work you may want to also add the ntfs partition in your fstab. You can find the uuid by using the lsblk -f command in terminal. Make sure you use the correct format in fstab for mounting ntfs then add the root partion "/" (I suggest 0 dump 2 pass). EX:
ADD:

UUID="insert-UUID-here"                       /        ntfs          rw,relatime,data=ordered    0 2

/windows/Users/Anders/Music /var/lib/mpd/music none bind

to your /etc/fstab file.

you will want to keep the music_directory in the mpd.conf file the same as the true directory "/windows/Users/Anders/Music".

Be sure to run the:

mount -a
systemctl restart mpd.service

commands once you have made these changes then restart your client and reconnect to your "localhost" and click "update database" if you have that option (I'm using ario)

I had fumbled around with this for 4 hours and this was the only way I could get it to work. The wiki kind of sucks in regards to explaining all of this, especially if you have all of your music on a different hdd or partition. Let me know if this helps.

Offline

#3 2015-01-17 17:46:38

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Can't get MPD to scan my library

Pretty safe to assume that, after for years, OP sorted it out...
https://wiki.archlinux.org/index.php/Fo … Bumping.27



Closing


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB