From f5256ffa66c6109b7bc307f622e70ef8cf0bfdf1 Mon Sep 17 00:00:00 2001 From: Mike Wilson Date: Tue, 12 Mar 2024 17:28:43 -0400 Subject: [PATCH] Fixed qbitmanage not deleting noHL torrents --- ansible/main.yml | 4 +- .../templates/qbitmanage/config.yml | 74 ++++++++----------- 2 files changed, 32 insertions(+), 46 deletions(-) diff --git a/ansible/main.yml b/ansible/main.yml index ffc55a0..b115793 100644 --- a/ansible/main.yml +++ b/ansible/main.yml @@ -16,7 +16,7 @@ - overseerr - ntfy - gluetun - - name: recyclarr + - name: qbittorrent tags: test - nextcloud - readarr @@ -32,7 +32,7 @@ - slskd - navidrome - lidarr - - qbittorrent + - recyclarr - searxng - synapse - rimgo diff --git a/ansible/roles/qbittorrent/templates/qbitmanage/config.yml b/ansible/roles/qbittorrent/templates/qbitmanage/config.yml index e67a58d..da16527 100644 --- a/ansible/roles/qbittorrent/templates/qbitmanage/config.yml +++ b/ansible/roles/qbittorrent/templates/qbitmanage/config.yml @@ -1,6 +1,6 @@ commands: share_limits: True - dry_run: False + dry_run: True schedule: 720 recheck: True tag_update: True @@ -9,7 +9,7 @@ commands: tag_nohardlinks: True qbt: - host: https://qbittorrent.local.mjwilson.org + host: "https://qbittorrent.local.{{ personal_domain }}" user: pass: @@ -77,50 +77,35 @@ tracker: tag: CRT nohardlinks: - movies: - cleanup: true - max_ratio: 4.0 - max_seeding_time: 28800 # 20 days - min_seeding_time: 10080 # 7 days - resume_torrent_after_untagging_noHL: true - exclude_tags: - movies.cross-seed: - cleanup: true - max_ratio: 4.0 - max_seeding_time: 28800 # 20 days - min_seeding_time: 0 - resume_torrent_after_untagging_noHL: true - exclude_tags: - tv: - cleanup: true - max_ratio: 4.0 - max_seeding_time: 28800 # 20 days - min_seeding_time: 10080 # 7 days - resume_torrent_after_untagging_noHL: true - exclude_tags: - tv.cross-seed: - cleanup: true - max_ratio: 4.0 - max_seeding_time: 28800 # 20 days - min_seeding_time: 0 - resume_torrent_after_untagging_noHL: true - exclude_tags: - music: - cleanup: true - max_ratio: 4.0 - max_seeding_time: 28800 # 20 days - min_seeding_time: 10080 # 7 days - resume_torrent_after_untagging_noHL: true - exclude_tags: - music.cross-seed: - cleanup: true - max_ratio: 4.0 - max_seeding_time: 28800 # 20 days - min_seeding_time: 0 - resume_torrent_after_untagging_noHL: true - exclude_tags: + - movies + - movies.cross-seed + - tv + - tv.cross-seed + - music + - music.cross-seed + share_limits: + noHL: + priority: 1 + include_all_tags: + - noHL + exclude_tags: + - cross-seed + max_ratio: 4.0 + max_seeding_time: 28800 # 20 days + min_seeding_time: 10080 # 7 days + cleanup: true + add_group_to_tag: false + noHL.cross-seed: + priority: 2 + include_all_tags: + - noHL + - cross-seed + max_ratio: 4.0 + max_seeding_time: 28800 # 20 days + min_seeding_time: 0 + add_group_to_tag: false public_trackers: priority: 10 include_any_tags: @@ -131,6 +116,7 @@ share_limits: cleanup: true add_group_to_tag: false + recyclebin: enabled: true empty_after_x_days: 3