On 2014/04/17 23:12, Maxime Daniel <l...@maxux.net> wrote:
> Hi,
> 
> Here is a patch I just made which add a .mpdrootignore on root directory.
> How does it works ? This file a like a .mpdignore but only on music root 
> directory. This file is parsed and used only if a .mpdignore file is not 
> found (it's a fallback .mpdignore) which is apply to each subdirectory.
> 
> This is usefull when you want to ignore a file type recursively, like .mkv 
> file
> If you put *.mkv on .mpdrootignore, all .mkv files will be ignored
> If a .mpdignore is found somewhere, the .mpdrootignore is ignored for that 
> folder (you can make exceptions with this).

That is a good idea, however I believe we can do it better.  Check out
this ticket for a better idea:

 http://bugs.musicpd.org/view.php?id=3729

i.e. .mpdignore should already be recursive, unless explicitly stated
otherwise (by prefixing a slash).

Max
_______________________________________________
mpd-devel mailing list
mpd-devel@musicpd.org
http://mailman.blarg.de/listinfo/mpd-devel

Reply via email to