Skip to content

Do not delete favorites (user-specific) #165

@Arthagus

Description

@Arthagus

Have You Read The Wiki?:

No

Describe What You Are Trying To Accomplish:

Hello,

I have the configuration for advanced_settings mentioned at the end and want to ensure that only one user is considered when it comes to not deleting favorites. If other users have marked a movie or series as a favorite, this should be ignored.

The WIKI states:

monitored_user

_A monitored user is a user selected during the initial MUMC setup process. Their accessible libraries will be what MUMC uses to find and delete media_items.
user and monitored_user are often used interchangeably.

See Configuration File Examples_

Unfortunately, there is no mention of “monitored_users” in the file examples. Therefore, I am uncertain where to enter this and whether it is sufficient to name a user there so that all others are ignored.

Or do I simply delete all other users in mumc_config.yaml so that the “admin_settings” under “users” only contains the one user that is to be monitored?

However, all the user entries there were automatically inserted by the system. Will they be automatically added again and again when I rerun docker_compose during an update?

I hope you understand my problem and can help me. I would be very grateful.

Best regards
Oliver

Describe What Is Happening:

At the moment, we are checking whether all users have marked a movie or series as a favorite.

MUMC Configiration File:

version: 5.11.36
basic_settings:
  filter_statements:
    movie:
      played:
        condition_days: 30
        count_equality: '>='
        count: 1
      created:
        condition_days: 90
        count_equality: '=='
        count: 0
      behavioral_control: true
    episode:
      played:
        condition_days: 30
        count_equality: '>='
        count: 1
      created:
        condition_days: 90
        count_equality: '=='
        count: 0
      behavioral_control: true
advanced_settings:
  REMOVE_FILES: true
  behavioral_statements:
    movie:
      favorited:
        action: keep
        user_conditional: any
        played_conditional: any_any
        action_control: 3
        dynamic_behavior: false
    episode:
      favorited:
        action: keep
        user_conditional: any
        played_conditional: any_any
        action_control: 3
        dynamic_behavior: false
admin_settings:
  cache:
    size: 512
    fallback_behavior: LFU
  server:
    brand: jellyfin
    url: http://jellyfin:8096
    auth_key: xxx
    admin_id: yyy
  users:
  - user_id: 123
    user_name: user1
    whitelist: []
    blacklist:
    - lib_id: 43cfe12fe7d9d8d21251e0964e0232e2
      lib_name: Serien
      collection_type: tvshows
      path: /data/tvshows
      network_path: null
      subfolder_id: null
      lib_enabled: true
    - lib_id: 7a2175bccb1f1a94152cbd2b2bae8f6d
      lib_name: Filme
      collection_type: movies
      path: /data/movies
      network_path: null
      subfolder_id: null
      lib_enabled: true
  - user_id: 234
    user_name: user2
    whitelist: []
    blacklist:
    - lib_id: 43cfe12fe7d9d8d21251e0964e0232e2
      lib_name: Serien
      collection_type: tvshows
      path: /data/tvshows
      network_path: null
      subfolder_id: null
      lib_enabled: true
    - lib_id: 7a2175bccb1f1a94152cbd2b2bae8f6d
      lib_name: Filme
      collection_type: movies
      path: /data/movies
      network_path: null
      subfolder_id: null
      lib_enabled: true
  - user_id: 345
    user_name: user3
    whitelist: []
    blacklist:
    - lib_id: 43cfe12fe7d9d8d21251e0964e0232e2
      lib_name: Serien
      collection_type: tvshows
      path: /data/tvshows
      network_path: null
      subfolder_id: null
      lib_enabled: true
    - lib_id: 7a2175bccb1f1a94152cbd2b2bae8f6d
      lib_name: Filme
      collection_type: movies
      path: /data/movies
      network_path: null
      subfolder_id: null
      lib_enabled: true
  - user_id: 456
    user_name: user4
    whitelist: []
    blacklist:
    - lib_id: 43cfe12fe7d9d8d21251e0964e0232e2
      lib_name: Serien
      collection_type: tvshows
      path: /data/tvshows
      network_path: null
      subfolder_id: null
      lib_enabled: true
    - lib_id: 7a2175bccb1f1a94152cbd2b2bae8f6d
      lib_name: Filme
      collection_type: movies
      path: /data/movies
      network_path: null
      subfolder_id: null
      lib_enabled: true
  - user_id: 567
    user_name: user5
    whitelist: []
    blacklist:
    - lib_id: 43cfe12fe7d9d8d21251e0964e0232e2
      lib_name: Serien
      collection_type: tvshows
      path: /data/tvshows
      network_path: null
      subfolder_id: null
      lib_enabled: true
    - lib_id: 7a2175bccb1f1a94152cbd2b2bae8f6d
      lib_name: Filme
      collection_type: movies
      path: /data/movies
      network_path: null
      subfolder_id: null
      lib_enabled: true
  - user_id: 678
    user_name: user6
    whitelist: []
    blacklist:
    - lib_id: 43cfe12fe7d9d8d21251e0964e0232e2
      lib_name: Serien
      collection_type: tvshows
      path: /data/tvshows
      network_path: null
      subfolder_id: null
      lib_enabled: true
    - lib_id: 7a2175bccb1f1a94152cbd2b2bae8f6d
      lib_name: Filme
      collection_type: movies
      path: /data/movies
      network_path: null
      subfolder_id: null
      lib_enabled: true
  - user_id: 789
    user_name: user7
    whitelist: []
    blacklist:
    - lib_id: 43cfe12fe7d9d8d21251e0964e0232e2
      lib_name: Serien
      collection_type: tvshows
      path: /data/tvshows
      network_path: null
      subfolder_id: null
      lib_enabled: true
    - lib_id: 7a2175bccb1f1a94152cbd2b2bae8f6d
      lib_name: Filme
      collection_type: movies
      path: /data/movies
      network_path: null
      subfolder_id: null
      lib_enabled: true
  - user_id: 890
    user_name: user8
    whitelist: []
    blacklist:
    - lib_id: 43cfe12fe7d9d8d21251e0964e0232e2
      lib_name: Serien
      collection_type: tvshows
      path: /data/tvshows
      network_path: null
      subfolder_id: null
      lib_enabled: true
    - lib_id: 7a2175bccb1f1a94152cbd2b2bae8f6d
      lib_name: Filme
      collection_type: movies
      path: /data/movies
      network_path: null
      subfolder_id: null
      lib_enabled: true
  - user_id: 901
    user_name: user9
    whitelist: []
    blacklist:
    - lib_id: 43cfe12fe7d9d8d21251e0964e0232e2
      lib_name: Serien
      collection_type: tvshows
      path: /data/tvshows
      network_path: null
      subfolder_id: null
      lib_enabled: true
    - lib_id: 7a2175bccb1f1a94152cbd2b2bae8f6d
      lib_name: Filme
      collection_type: movies
      path: /data/movies
      network_path: null
      subfolder_id: null
      lib_enabled: true
  media_managers:
    radarr:
    - url: http://radarr:7878
      api_key: aaa
    sonarr:
    - url: http://sonarr:8989
      api_key: bbb
DEBUG: 1
...

Any Additional Information You Think Will Be Useful:

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions