Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for personalized .mpdignore filename #585

stef34280 opened this issue Jun 16, 2019 · 2 comments


None yet
2 participants
Copy link

commented Jun 16, 2019

Feature request

Please add support to use a personalized filename for .mpdignore.

An option in mpd.conf like:
mpdignore_file "mympdignorefile"
would be great

use case:
several instances of mpd using the same music directory with the need to ignore differents sets of file.

This is the case with my kind of setup with 4 mpds:
1-a nas holding my music collection, running mpd to serve a full database for the main system
2-a main system capable of playing anything (hires and dsd included) with a good dac using the nas database
3-a secondary system only capable of playing lowres pcm files (44.1 and 48 kHz) and not powerfull enough to resample.
4-a fourth machine used to access my music collection over internet using httpd output and shine encoder not powerfull enough to resample.
All 4 machines are low power soc devices (goflexnet for the nas an pogoplugs for the players)

1 needs to ignore a set of file I want to keep but I don't want to appear in database
3 needs to ignore same set as 1 plus everything but 44.1 and 48 kHz pcm files
4 needs to ignore same set as 1 plus everithing but 44.1 kHz pcm files

The only way I found as a workaround is to create "virtual" music directories using symlinks to sort my files by format (lowrespcm,hirespcm, dsd) instead of the classic Artist/album/tracks I want to keep, which is not very convenient and hard to maintain.

thank you for your interest in my request and for this great piece of software

best regards,


This comment has been minimized.

Copy link

commented Jun 16, 2019

Would #581 be good enough for you?


This comment has been minimized.

Copy link

commented Jun 16, 2019

#581 would be enough to ignore .dsf files but won't be useful to identify hires flacs among lores flacs or 48kHz files and 44.1kHz files.
In my case, file extention is not precise enough.

Something similiar to #581 that would work:
audioformat_no_index "dsd*,48000::,others_formats_to_ignore"
do not index files that are dsd and 48000 kHz

the ability to list the formats in a negative way would be great:
audioformat_no_index "!44100:2:*"
would ignore all files that are not 44.1kHz and 2 channels

or better for my usage, in a reversed approach:

audioformat_index_only "44100::,48000::" index only 44.1 and 48 kHz files

the latter is better because it allows to match precisely the dacs capabilities and encoding/resampling capabilities.
Any of these 2 would be perfect and easier to deal with than the user defined mpdignore file (no need to put a file in album directory) but is certainly more work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.