how to exclude folders from Library update

Hi,

I have Volumio running on a Pi 2 with a hard drive connected to it. There is my music stored and as well a folder for Transmission. Update Library does not work well for me and I think it could be because the transmission folder mess the daemon up. So how can I exclude this folder from the update process? Is the daemon called mpd? Where is the settings file stored?

:arrow_right: Symptoms I get:

  • not all music is shown
  • after updating music start and stops frequently

It look like the updating daemon hangs him self up and uses a lot of resources. That could also be caused from letters like @ * / ? Does somebody else has thous problems? If it’s could be cased by special characters, how do I rename all the files in the music folder by a terminal prompt?

Thanks for help

From musicpd.org/doc/user/music_d … abase.html

for example:

echo "*" > </path/to/directory/to/be/ignored/>.mpdignore

Cool, thank’s a lot!! :smiley: That makes it a lot easier. What I did so fare is a group where I did not include mpd.

Hello, this concerns me, what character did you put in the .mpdignore file?
How did you proceed? Do you automate this task for all folders?
Thank you
jp

@jppmedia
To exclude all files and subdirectories add the ‘*’ wildcard to the .mpdignore file. You can use other wildcards in their normal fashion.

The previous post already explains how to do it. For example, to exclude all files in the folder /music/films, you would type at the command line:

echo "*" > /music/films/.mpdignore

I want to say thanks to the OP for asking the question in the first place, and also to chsims1 and loza for the answers.

I have all my music on a synology diskstation which has a habit of creating hidden @eaDir directories.
I’ve created a .mpdignore file in my music root folder with eaDir in it.

It works very well.

I’ve put .mpdignore as instructed into the root of the drive with the echo command of what folder to ignore and it still scans them annoyingly

Did you try to put a dot before the folder name you want to exclude/hide (.foldername)?

If my memory serves me right, I tried (only for a test and not for real need) last year to do just this and it worked.