Page 1 of 1

SHARED.conf and ignoring files

Posted: Wed Jun 12, 2024 11:09 am
by MetaR
I am looking for the doco for SHARED.conf. My googles aren't good enough to find such.

Specifically, I have the following stanza in SHARED.conf.

Code: Select all

  {
    "file": "/T01/pictures",
    "monitored": true,
    "metadata": true,
    "active": true,
    "type": "Folder"
  }
I would like to exclude every directory below /T01/pictures that is named "half", regardless of depth of the directory.

I would also like to prevent UMS from sending OpenSubtitles hashes for every .AVI and .MOV under this directory - they are all going to return 503 or 404 because they are home videos.

Re: SHARED.conf and ignoring files

Posted: Wed Jun 12, 2024 1:29 pm
by mik_s
Maybe these options in UMS.conf is what you need for ignoring folders.
I don't think it is applied to individual files though so you should keep personal videos in a separate folder

Code: Select all

# Ignored folders
# ---------------
# A comma-separated list of folders to ignore.
# Example: C:\\IgnoredFolder1,C:\\IgnoredFolder2
# Default: ""
folders_ignored =

# Ignored folder names
# --------------------
# A comma-separated list of folder names (regardless of their location) to ignore.
# Example: IgnoredFolder1,IgnoredFolder2
# Default: ".unwanted"
folder_names_ignored =
I'm not sure if these are exact names or if you can add a pattern to match many folders.

You can also turn off metadata for certain folders by setting "metadata": false, in the SHARED.conf for that folder.
I thought there was an option in web settings for this but there isn't

There is also a lot of information about privacy and security in the knowledge base.

Re: SHARED.conf and ignoring files

Posted: Thu Jun 13, 2024 7:34 am
by MetaR
mik_s wrote: Wed Jun 12, 2024 1:29 pm You can also turn off metadata for certain folders by setting "metadata": false, in the SHARED.conf for that folder.
I tried this and it didn't seem to help. I eventually gave up and removed pictures from UMS