SHARED.conf and ignoring files

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Post Reply
MetaR
Posts: 10
Joined: Wed Jun 12, 2024 5:15 am

SHARED.conf and ignoring files

Post 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.
User avatar
mik_s
Moderator
Posts: 1430
Joined: Wed Aug 23, 2017 11:03 pm
Location: UK

Re: SHARED.conf and ignoring files

Post 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.
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
MetaR
Posts: 10
Joined: Wed Jun 12, 2024 5:15 am

Re: SHARED.conf and ignoring files

Post 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
Post Reply