From 885d07ab51bce0545d6e2ab665da3ce51a4e4813 Mon Sep 17 00:00:00 2001 From: Cris Mathew Date: Thu, 29 Feb 2024 00:23:16 +0300 Subject: [PATCH] Add media-servarr/deleterr/settings.yaml --- media-servarr/deleterr/settings.yaml | 112 +++++++++++++++++++++++++++ 1 file changed, 112 insertions(+) create mode 100644 media-servarr/deleterr/settings.yaml diff --git a/media-servarr/deleterr/settings.yaml b/media-servarr/deleterr/settings.yaml new file mode 100644 index 0000000..0f6330b --- /dev/null +++ b/media-servarr/deleterr/settings.yaml @@ -0,0 +1,112 @@ +# Plex connection details +plex: + url: "http://IP_ADDRESS:32400" # Replace with your Plex server URL + token: "PLEX_TOKEN" # Replace with your Plex server token + +# Radarr connection details. You can add multiple instances. +radarr: + - name: "Radarr" # This is an identifier for your Radarr instance + url: "http://IP_ADDRESS:7878" # Replace with your Radarr server URL + api_key: "RADARR_API_KEY" # Replace with your Radarr API key + + #- name: "Radarr 4K" # Another Radarr instance + #url: "http://localhost:7879" + #api_key: "YOUR_RADARR_API_KEY2" + +# Sonarr connection details. You can add multiple instances. +sonarr: + - name: "Sonarr" # This is an identifier for your Sonarr instance + url: "http://IP_ADDRESS:8989" # Replace with your Sonarr server URL + api_key: "SONARR_API_KEY" # Replace with your Sonarr API key + + #- name: "Sonarr 4K" # Another Sonarr instance + #url: "http://localhost:8990" + #api_key: "YOUR_SONARR_API_KEY2" + +# Tautulli connection details +tautulli: + url: "http://IP_ADDRESS:8181" # Replace with your Tautulli server URL + api_key: "TAUTULLI_API_KEY" # Replace with your Tautulli API key + +# If true, Deleterr will only log what it would do but not perform the actions +dry_run: false + +# Trigger a Plex library scan after actions are performed +plex_library_scan_after_actions: true + +# Trigger a Tautulli library scan after actions are performed +tautulli_library_scan_after_actions: true + +# Delay between actions in seconds +# This is to prevent plex from getting overloaded +action_delay: 25 + +# Library configuration +libraries: + - name: "Movies" # The name of your Plex library + radarr: "Radarr" # The Radarr instance to use for this library + action_mode: "delete" # Actions can be "delete" + last_watched_threshold: 90 # Time threshold in days. Media not watched in this period will be subject to actions + watch_status: watched # Watched status of the media + #apply_last_watch_threshold_to_collections: false # If true, the last watched threshold will be applied to all other items in the collection + added_at_threshold: 180 # Media not added in this period will be subject to actions + max_actions_per_run: 10 # Maximum number of actions to perform per run + sort: + field: year # Deleter older movies first + order: asc + exclude: + titles: #["Forrest Gump"] + tags: #["children", "favorite"] + genres: #["horror", "thriller"] + collections: ["Marvel Cinematic Universe"] + actors: #["Tom Cruise", "Brad Pitt"] + producers: #["Steven Spielberg"] + directors: #["Steven Spielberg"] + writers: #["Steven Spielberg"] + studios: #["Studio Ghibli"] + release_years: 1 # Exclude media released in the last 5 years + - name: "TV Shows" + action_mode: delete + last_watched_threshold: 365 + added_at_threshold: 180 + apply_last_watch_threshold_to_collections: false + max_actions_per_run: 10 + sonarr: Sonarr + series_type: standard + sort: + field: seasons # Deleter shows with more seasons first + order: desc + exclude: + titles: [] + tags: [] + genres: [] + collections: [] + actors: [] + producers: [] + directors: [] + writers: [] + studios: [] + release_years: 1 + - name: "Anime" + action_mode: delete + last_watched_threshold: 670 + added_at_threshold: 360 + apply_last_watch_threshold_to_collections: false + max_actions_per_run: 5 + sonarr: Sonarr + series_type: anime + sort: + field: episodes # Deleter animes with more episodes first + order: desc + exclude: + titles: [] #["Dragon Ball", "Dragon Ball Z", "Dragon Ball GT"] + tags: [] + genres: [] + collections: [] + actors: [] + producers: [] + directors: [] + writers: [] + studios: [] + release_years: 0 +