Support for directory scan ignore
If the scanned directory contain a file .minidlnaignore the directory scan is skipped
Would be nice to have a use case of when you would want this.
In my video folders i have some folders with 'not for childrens' movies. That's all. Minidlna is not used to see them.
this patch doesn't work if using this fix patch below, (it will fail on the first folder it looks at.)
Yes, this patch must be applied on the master tree. I cannot test this patch with all 'unstable' patches.
yeah I understand :) , was just letting you know as the above patch is worth doing & my C skills aren't up to working out the problem.
I've done something similar in https://github.com/Darkvater/minidlna/commit/ccf2b42b1c1f637e48c7b84e016818f1753a7215
It allows you to mark certain paths from being scanned. E.g. skip all 'sample' directories. You could use this for your use case as well, just put all the adult media in a special folder and they will be skipped.