-
Notifications
You must be signed in to change notification settings - Fork 79
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
Feature request | Exclude some folders. #20
Comments
Another possibility would be to use the "type" field of media_dir=V,/opt/Torrents Or an empty type could be used to mean "none of the types, no audio, no photos, no videos", i.e. |
A workaround for this problem is to create a dedicated directory for minidlna which you use as media_dir - and then put symlinks to the "allowed" directories in there. You also need to configure wide_links=yes so that minidlna follows the symlinks. Granted, this is not an optimal solution for all cases, since it's more like an allow-list than a block-list. |
If you're going to rearrange directories, you can also put the folders to be excluded in a different location and symlink it from the media dir, with wide links disabled. |
I join the request. I just tried to resolve this issue. This would be a easy feature with good impact on usability. |
Hi,
My minidlna.conf have a few media_dir options something like this
media_dir=V,/opt/Torrents
media_dir=V,/home/anton/Downloads
But i want exclude few folders from /home/anton/Downloads and I suggest add exclude_folder options to config file. Full path, or mask, or regexp - not important..
exclude_folder=/home/anton/Downloads/TempVideo
or
exclude_folder=/home/anton/Downloads/temp*
The text was updated successfully, but these errors were encountered: