Moode Forum
[PROBLEM] How to exclude folders from attached USB drive - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7)
+--- Thread: [PROBLEM] How to exclude folders from attached USB drive (/showthread.php?tid=4000)



How to exclude folders from attached USB drive - Sehnsucht - 07-10-2021

Hi,
I spent a few hours installing and playing with (the latest) moOde (on a 2gb Pi 4) yesterday and it looks pretty good.  One small problem though is that the USB drive with my music also has some videos on it which are getting picked up by the library scan.   Is there some way of either:
1) blacklisting (or whitelisting) folders so that they don't appear in the library, or
2) whitelisting just .mp3 and .flac files so all other file types are not scanned?


RE: How to exclude folders from attached USB drive - CallMeMike - 07-10-2021

https://mpd.readthedocs.io/en/stable/search.html?q=mpdignore


RE: How to exclude folders from attached USB drive - bitlab - 07-10-2021

Place a file called .mpdignore in the root of your USB drive.
The content is one line for each (wildcard) path or file type to exclude.

See for more info https://mpd.readthedocs.io/en/latest/user.html?highlight=.mpdignore#the-music-directory-and-the-database.


RE: How to exclude folders from attached USB drive - Sehnsucht - 07-11-2021

Thanks, that did the trick!