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

Feature request | Exclude some folders. #20

Open
x09 opened this issue Dec 28, 2019 · 1 comment
Open

Feature request | Exclude some folders. #20

x09 opened this issue Dec 28, 2019 · 1 comment

Comments

@x09
Copy link

x09 commented Dec 28, 2019

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*

@jwakely
Copy link

jwakely commented Jul 25, 2024

Another possibility would be to use the "type" field of media_dir to exclude a dir, e.g. type X could mean exclude:

media_dir=V,/opt/Torrents
media_dir=V,/home/anton/Downloads
media_dir=X,/home/anton/Downloads/TempVideo

Or an empty type could be used to mean "none of the types, no audio, no photos, no videos", i.e. media_dir=,/path/to/exclude but that seems a bit subtle and too "clever".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants