Open x09 opened 4 years ago
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".
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*