Closed bbtufty closed 4 months ago
Please share config
Below. It was working before the latest update and rolling back to master rather than develop seems to have fixed it as well
# This is an example configuration file that documents all the options.
# It will need to be modified for your specific use case.
# Please refer to the link below for more details on how to set up the configuration file
# https://github.com/StuffAnThings/qbit_manage/wiki/Config-Setup
commands:
# The commands defined below will IGNORE any commands used in command line and docker env variables.
dry_run: false
cross_seed: false
recheck: false
cat_update: true
tag_update: true
rem_unregistered: true
tag_tracker_error: true
rem_orphaned: false
tag_nohardlinks: true
skip_cleanup: false
share_limits: true
skip_qb_version_check: false
qbt:
# qBittorrent parameters
host: REDACT
user: REDACT
pass: REDACT
settings:
force_auto_tmm: true # Will force qBittorrent to enable Automatic Torrent Management for each torrent.
tracker_error_tag: issue # Will set the tag of any torrents that do not have a working tracker.
ignoreTags_OnUpdate: # When running tag-update function, it will update torrent tags for a given torrent even if the torrent has one or more of the tags defined here.
- noHL
- issue
- cross-seed
nohardlinks_tag: noHL
share_limits_tag: ~share_limit
cross_seed_tag: cross-seed
cat_filter_completed: true
share_limits_filter_completed: true
tag_nohardlinks_filter_completed: true
share_limits_min_seeding_time_tag: MinSeedTimeNotReached
share_limits_min_num_seeds_tag: MinSeedsNotMet
share_limits_last_active_tag: LastActiveLimitNotReached
force_retag_all: false
directory:
# Do not remove these
# Cross-seed var: </your/path/here/> # Output directory of cross-seed
# root_dir var: </your/path/here/> # Root downloads directory used to check for orphaned files, noHL, and RecycleBin.
# <OPTIONAL> remote_dir var: </your/path/here/> # Path of docker host mapping of root_dir.
# Must be set if you're running qbit_manage locally and qBittorrent/cross_seed is in a docker
# <OPTIONAL> recycle_bin var: </your/path/here/> # Path of the RecycleBin folder. Default location is set to remote_dir/.RecycleBin
# <OPTIONAL> torrents_dir var: </your/path/here/> # Path of the your qbittorrent torrents directory. Required for `save_torrents` attribute in recyclebin
#cross_seed: "/your/path/here/"
root_dir: /data/torrents
remote_dir: /data/torrents
cross_seed:
orphaned_dir: /data/orphaned_data
recycle_bin: /data/.RecycleBin
torrents_dir: /torrents
cat:
# Category & Path Parameters
# <Category Name> : <save_path> # Path of your save directory.
complete: /data/torrents/complete/
# mam
mam_freeleech: /data/torrents/complete/mam_freeleech
mam_imported_audiobooks: /data/torrents/complete/mam_imported_audiobooks
mam_imported_comics_marvel: /data/torrents/complete/mam_imported_comics_marvel
mam_imported_ebooks: /data/torrents/complete/mam_imported_ebooks
mam_to_import_audiobooks: /data/torrents/complete/mam_to_import_audiobooks
mam_to_import_comics_marvel: /data/torrents/complete/mam_to_import_comics_marvel
mam_to_import_ebooks: /data/torrents/complete/mam_to_import_ebooks
# radarr
radarr-qbittorrent-vol1: /data/torrents/complete/radarr_qbittorrent
radarr-qbittorrent-vol1.cross-seed: /data/torrents/complete/radarr_qbittorrent
radarr-qbittorrent-vol2: /data_vol_2/torrents/complete/radarr_qbittorrent
radarr-qbittorrent-vol2.cross-seed: /data_vol_2/torrents/complete/radarr_qbittorrent
# sonarr
sonarr-qbittorrent-vol1: /data/torrents/complete/sonarr_qbittorrent
sonarr-qbittorrent-vol1.cross-seed: /data/ctorrents/omplete/sonarr_qbittorrent
sonarr-qbittorrent-vol2: /data_vol_2/torrents/complete/sonarr_qbittorrent
sonarr-qbittorrent-vol2.cross-seed: /data_vol_2/torrents/complete/sonarr_qbittorrent
# readarr
readarr-audio-qbittorrent-vol1: /data/torrents/complete/readarr_audio_qbittorrent
readarr-ebooks-qbittorrent-vol1: /data/torrents/complete/readarr_ebooks_qbittorrent
# prowlarr
prowlarr-qbittorrent-vol1: /data/torrents/complete/prowlarr_qbittorrent
prowlarr-qbittorrent-vol1.cross-seed: /data/torrents/complete/prowlarr_qbittorrent
# lidarr
lidarr-qbittorrent-vol2: /data_vol_2/torrents/complete/lidarr_qbittorrent
# FL
pt-fl-vol1: /data/torrents/complete/pt_fl
pt-fl-vol1.cross-seed: /data/torrents/complete/pt_fl
cat_change:
# This moves all the torrents from one category to another category. This executes on --cat-update
# WARNING: if the paths are different and Default Torrent Management Mode is set to automatic the files could be moved !!!
# <Old Category Name> : <New Category>
tracker:
# Tag Parameters
# <Tracker URL Keyword>: # <MANDATORY> This is the keyword in the tracker url
# <MANDATORY> Set tag name. Can be a list of tags or a single tag
# tag: <Tag Name>
# <OPTIONAL> Will set the torrent Maximum share ratio until torrent is stopped from seeding/uploading. -2 means the global limit should be used, -1 means no limit.
# max_ratio: 5.0
# <OPTIONAL> Will set the torrent Maximum seeding time (min) until torrent is stopped from seeding. -2 means the global limit should be used, -1 means no limit.
# max_seeding_time: 129600
# <OPTIONAL> Will limit the upload speed KiB/s (KiloBytes/second) (-1 sets the limit to infinity)
# limit_upload_speed: 150
# <OPTIONAL> Set this to the notifiarr react name. This is used to add indexer reactions to the notifications sent by Notifiarr
# notifiarr: <notifiarr indexer>
tracker:
tag: tag
notifiarr: tag
share_limits:
# Control how torrent share limits are set depending on the priority of your grouping
# Each torrent will be matched with the share limit group with the highest priority that meets the group filter criteria.
# Each torrent can only be matched with one share limit group
# This variable is mandatory and is a text defining the name of your grouping. This can be any string you want
noHL:
# <MANDATORY> priority: <int/float> # This is the priority of your grouping. The lower the number the higher the priority
priority: 99
# <OPTIONAL> include_all_tags: <list> # Filter the group based on one or more tags. Multiple include_all_tags are checked with an AND condition
# All tags defined here must be present in the torrent for it to be included in this group
include_all_tags:
- noHL
# <OPTIONAL> include_any_tags: <list> # Filter the group based on one or more tags. Multiple include_any_tags are checked with an OR condition
# Any tags defined here must be present in the torrent for it to be included in this group
include_any_tags:
- noHL
# <OPTIONAL> exclude_all_tags: <list> # Filter by excluding one or more tags. Multiple exclude_all_tags are checked with an AND condition
# This is useful to combine with the category filter to exclude one or more tags from an entire category
# All tags defined here must be present in the torrent for it to be excluded in this group
exclude_all_tags:
- Beyond-HD
# <OPTIONAL> exclude_any_tags: <list> # Filter by excluding one or more tags. Multiple exclude_any_tags are checked with an OR condition
# This is useful to combine with the category filter to exclude one or more tags from an entire category
# Any tags defined here must be present in the torrent for it to be excluded in this group
exclude_any_tags:
- Beyond-HD
# <OPTIONAL> categories: <list> # Filter by including one or more categories. Multiple categories are checked with an OR condition
# Since one torrent can only be associated with a single category, multiple categories are checked with an OR condition
categories:
- radarr-qbittorrent-vol1
- radarr-qbittorrent-vol2
- radarr-qbittorrent-vol1.cross-seed
- radarr-qbittorrent-vol2.cross-seed
- sonarr-qbittorrent-vol1
- sonarr-qbittorrent-vol2
- sonarr-qbittorrent-vol1.cross-seed
- sonarr-qbittorrent-vol2.cross-seed
- lidarr-qbittorrent-vol2
- pt-fl-vol1
- pt-fl-vol1.cross-seed
# <OPTIONAL> max_ratio <float>: Will set the torrent Maximum share ratio until torrent is stopped from seeding/uploading.
# Will default to -1 (no limit) if not specified for the group.
#max_ratio: 5.0
# <OPTIONAL> max_seeding_time <int>: Will set the torrent Maximum seeding time (minutes) until torrent is stopped from seeding.
# Will default to -1 (no limit) if not specified for the group.
#max_seeding_time: 43200
max_seeding_time: 23040
# <OPTIONAL> min_seeding_time <int>: Will prevent torrent deletion by cleanup variable if torrent has not yet minimum seeding time (minutes).
# If the torrent has not yet reached this minimum seeding time, it will change the share limits back to no limits and resume the torrent to continue seeding.
# Will default to 0 if not specified for the group.
#min_seeding_time: 43200
# <OPTIONAL> Limit Upload Speed <int>: Will limit the upload speed KiB/s (KiloBytes/second) (`-1` : No Limit)
#limit_upload_speed: 0
# <OPTIONAL> cleanup <bool>: WARNING!! Setting this as true Will remove and delete contents of any torrents that satisfies the share limits
cleanup: true
# <OPTIONAL> resume_torrent_after_change <bool>: This variable will resume your torrent after changing share limits. Default is true
resume_torrent_after_change: true
# <OPTIONAL> add_group_to_tag <bool>: This adds your grouping as a tag with a prefix defined in settings . Default is true
# Example: A grouping defined as noHL will have a tag set to ~share_limit.noHL (if using the default prefix)
add_group_to_tag: false
# <OPTIONAL> min_num_seeds <int>: This will prevent torrent deletion by cleanup variable if the number of seeds is less than the value set here.
# If the torrent has less number of seeds than the min_num_seeds, the share limits will be changed back to no limits and resume the torrent to continue seeding.
# Will default to 0 if not specified for the group.
#min_num_seeds: 0
blu:
# <MANDATORY> priority: <int/float> # This is the priority of your grouping. The lower the number the higher the priority
priority: 1
include_all_tags:
- Blutopia
- noHL
exclude_all_tags:
- Beyond-HD
exclude_any_tags:
- Beyond-HD
categories:
- radarr-qbittorrent-vol1
- radarr-qbittorrent-vol2
- radarr-qbittorrent-vol1.cross-seed
- radarr-qbittorrent-vol2.cross-seed
- sonarr-qbittorrent-vol1
- sonarr-qbittorrent-vol2
- sonarr-qbittorrent-vol1.cross-seed
- sonarr-qbittorrent-vol2.cross-seed
- lidarr-qbittorrent-vol2
- pt-fl-vol1
- pt-fl-vol1.cross-seed
max_seeding_time: 87840 # 61 days, to get at BluCollector
cleanup: true
resume_torrent_after_change: true
add_group_to_tag: false
default:
priority: 999
add_group_to_tag: false
max_ratio: -1
max_seeding_time: -1
cleanup: false
nohardlinks:
# Tag Movies/Series that are not hard linked
# Mandatory to fill out directory parameter above to use this function (root_dir/remote_dir)
# This variable should be set to your category name of your completed movies/completed series in qbit. Acceptable variable can be any category you would like to tag if there are no hardlinks found
radarr-qbittorrent-vol1:
# <OPTIONAL> exclude_tags var: Will exclude the following tags when searching through the category.
#exclude_tags: false
# <OPTIONAL> cleanup var: WARNING!! Setting this as true Will remove and delete contents of any torrents that are in paused state and has the NoHL tag
cleanup: false
# <OPTIONAL> max_ratio var: Will set the torrent Maximum share ratio until torrent is stopped from seeding/uploading
#max_ratio: 4.0
# <OPTIONAL> max seeding time var: Will set the torrent Maximum seeding time (min) until torrent is stopped from seeding
#max_seeding_time: 43200
max_seeding_time: 23040
# <OPTIONAL> Limit Upload Speed var: Will limit the upload speed KiB/s (KiloBytes/second) (`-1` : No Limit)
#limit_upload_speed:
# <OPTIONAL> min seeding time var: Will prevent torrent deletion by cleanup variable if torrent has not yet minimum seeding time (min).
# Delete this key from a category's config to use the tracker's configured min_seeding_time. Will default to 0 if not specified for the category or tracker.
#min_seeding_time: 43200
# <OPTIONAL> resume_torrent_after_untagging_noHL var: If a torrent was previously tagged as NoHL and now has hardlinks, this variable will resume your torrent after restoring original share limits
resume_torrent_after_untagging_noHL: false
#exclude_tags:
#max_ratio: -1
#max_seeding_time:
#min_seeding_time:
#limit_upload_speed:
exclude_tags:
radarr-qbittorrent-vol2:
# <OPTIONAL> exclude_tags var: Will exclude the following tags when searching through the category.
#exclude_tags: false
# <OPTIONAL> cleanup var: WARNING!! Setting this as true Will remove and delete contents of any torrents that are in paused state and has the NoHL tag
cleanup: false
# <OPTIONAL> max_ratio var: Will set the torrent Maximum share ratio until torrent is stopped from seeding/uploading
#max_ratio: 4.0
# <OPTIONAL> max seeding time var: Will set the torrent Maximum seeding time (min) until torrent is stopped from seeding
#max_seeding_time: 43200
max_seeding_time: 23040
# <OPTIONAL> Limit Upload Speed var: Will limit the upload speed KiB/s (KiloBytes/second) (`-1` : No Limit)
#limit_upload_speed:
# <OPTIONAL> min seeding time var: Will prevent torrent deletion by cleanup variable if torrent has not yet minimum seeding time (min).
# Delete this key from a category's config to use the tracker's configured min_seeding_time. Will default to 0 if not specified for the category or tracker.
#min_seeding_time: 43200
# <OPTIONAL> resume_torrent_after_untagging_noHL var: If a torrent was previously tagged as NoHL and now has hardlinks, this variable will resume your torrent after restoring original share limits
resume_torrent_after_untagging_noHL: false
#exclude_tags:
#max_ratio: -1
#max_seeding_time:
#min_seeding_time:
#limit_upload_speed:
exclude_tags:
radarr-qbittorrent-vol1.cross-seed:
# <OPTIONAL> exclude_tags var: Will exclude the following tags when searching through the category.
#exclude_tags: false
# <OPTIONAL> cleanup var: WARNING!! Setting this as true Will remove and delete contents of any torrents that are in paused state and has the NoHL tag
cleanup: false
# <OPTIONAL> max_ratio var: Will set the torrent Maximum share ratio until torrent is stopped from seeding/uploading
#max_ratio: 4.0
# <OPTIONAL> max seeding time var: Will set the torrent Maximum seeding time (min) until torrent is stopped from seeding
#max_seeding_time: 43200
max_seeding_time: 23040
# <OPTIONAL> Limit Upload Speed var: Will limit the upload speed KiB/s (KiloBytes/second) (`-1` : No Limit)
#limit_upload_speed:
# <OPTIONAL> min seeding time var: Will prevent torrent deletion by cleanup variable if torrent has not yet minimum seeding time (min).
# Delete this key from a category's config to use the tracker's configured min_seeding_time. Will default to 0 if not specified for the category or tracker.
#min_seeding_time: 43200
# <OPTIONAL> resume_torrent_after_untagging_noHL var: If a torrent was previously tagged as NoHL and now has hardlinks, this variable will resume your torrent after restoring original share limits
resume_torrent_after_untagging_noHL: false
#exclude_tags:
#max_ratio: -1
#max_seeding_time:
#min_seeding_time:
#limit_upload_speed:
exclude_tags:
radarr-qbittorrent-vol2.cross-seed:
# <OPTIONAL> exclude_tags var: Will exclude the following tags when searching through the category.
#exclude_tags: false
# <OPTIONAL> cleanup var: WARNING!! Setting this as true Will remove and delete contents of any torrents that are in paused state and has the NoHL tag
cleanup: false
# <OPTIONAL> max_ratio var: Will set the torrent Maximum share ratio until torrent is stopped from seeding/uploading
#max_ratio: 4.0
# <OPTIONAL> max seeding time var: Will set the torrent Maximum seeding time (min) until torrent is stopped from seeding
#max_seeding_time: 43200
max_seeding_time: 23040
# <OPTIONAL> Limit Upload Speed var: Will limit the upload speed KiB/s (KiloBytes/second) (`-1` : No Limit)
#limit_upload_speed:
# <OPTIONAL> min seeding time var: Will prevent torrent deletion by cleanup variable if torrent has not yet minimum seeding time (min).
# Delete this key from a category's config to use the tracker's configured min_seeding_time. Will default to 0 if not specified for the category or tracker.
#min_seeding_time: 43200
# <OPTIONAL> resume_torrent_after_untagging_noHL var: If a torrent was previously tagged as NoHL and now has hardlinks, this variable will resume your torrent after restoring original share limits
resume_torrent_after_untagging_noHL: false
#exclude_tags:
#max_ratio: -1
#max_seeding_time:
#min_seeding_time:
#limit_upload_speed:
exclude_tags:
sonarr-qbittorrent-vol1:
# <OPTIONAL> exclude_tags var: Will exclude the following tags when searching through the category.
#exclude_tags: false
# <OPTIONAL> cleanup var: WARNING!! Setting this as true Will remove and delete contents of any torrents that are in paused state and has the NoHL tag
cleanup: false
# <OPTIONAL> max_ratio var: Will set the torrent Maximum share ratio until torrent is stopped from seeding/uploading
#max_ratio: 4.0
# <OPTIONAL> max seeding time var: Will set the torrent Maximum seeding time (min) until torrent is stopped from seeding
#max_seeding_time: 43200
max_seeding_time: 23040
# <OPTIONAL> Limit Upload Speed var: Will limit the upload speed KiB/s (KiloBytes/second) (`-1` : No Limit)
#limit_upload_speed:
# <OPTIONAL> min seeding time var: Will prevent torrent deletion by cleanup variable if torrent has not yet minimum seeding time (min).
# Delete this key from a category's config to use the tracker's configured min_seeding_time. Will default to 0 if not specified for the category or tracker.
#min_seeding_time: 43200
# <OPTIONAL> resume_torrent_after_untagging_noHL var: If a torrent was previously tagged as NoHL and now has hardlinks, this variable will resume your torrent after restoring original share limits
resume_torrent_after_untagging_noHL: false
#exclude_tags:
#max_ratio: -1
#max_seeding_time:
#min_seeding_time:
#limit_upload_speed:
exclude_tags:
sonarr-qbittorrent-vol2:
# <OPTIONAL> exclude_tags var: Will exclude the following tags when searching through the category.
#exclude_tags: false
# <OPTIONAL> cleanup var: WARNING!! Setting this as true Will remove and delete contents of any torrents that are in paused state and has the NoHL tag
cleanup: false
# <OPTIONAL> max_ratio var: Will set the torrent Maximum share ratio until torrent is stopped from seeding/uploading
#max_ratio: 4.0
# <OPTIONAL> max seeding time var: Will set the torrent Maximum seeding time (min) until torrent is stopped from seeding
#max_seeding_time: 43200
max_seeding_time: 23040
# <OPTIONAL> Limit Upload Speed var: Will limit the upload speed KiB/s (KiloBytes/second) (`-1` : No Limit)
#limit_upload_speed:
# <OPTIONAL> min seeding time var: Will prevent torrent deletion by cleanup variable if torrent has not yet minimum seeding time (min).
# Delete this key from a category's config to use the tracker's configured min_seeding_time. Will default to 0 if not specified for the category or tracker.
#min_seeding_time: 43200
# <OPTIONAL> resume_torrent_after_untagging_noHL var: If a torrent was previously tagged as NoHL and now has hardlinks, this variable will resume your torrent after restoring original share limits
resume_torrent_after_untagging_noHL: false
#exclude_tags:
#max_ratio: -1
#max_seeding_time:
#min_seeding_time:
#limit_upload_speed:
exclude_tags:
sonarr-qbittorrent-vol1.cross-seed:
# <OPTIONAL> exclude_tags var: Will exclude the following tags when searching through the category.
#exclude_tags: false
# <OPTIONAL> cleanup var: WARNING!! Setting this as true Will remove and delete contents of any torrents that are in paused state and has the NoHL tag
cleanup: false
# <OPTIONAL> max_ratio var: Will set the torrent Maximum share ratio until torrent is stopped from seeding/uploading
#max_ratio: 4.0
# <OPTIONAL> max seeding time var: Will set the torrent Maximum seeding time (min) until torrent is stopped from seeding
#max_seeding_time: 43200
max_seeding_time: 23040
# <OPTIONAL> Limit Upload Speed var: Will limit the upload speed KiB/s (KiloBytes/second) (`-1` : No Limit)
#limit_upload_speed:
# <OPTIONAL> min seeding time var: Will prevent torrent deletion by cleanup variable if torrent has not yet minimum seeding time (min).
# Delete this key from a category's config to use the tracker's configured min_seeding_time. Will default to 0 if not specified for the category or tracker.
#min_seeding_time: 43200
# <OPTIONAL> resume_torrent_after_untagging_noHL var: If a torrent was previously tagged as NoHL and now has hardlinks, this variable will resume your torrent after restoring original share limits
resume_torrent_after_untagging_noHL: false
#exclude_tags:
#max_ratio: -1
#max_seeding_time:
#min_seeding_time:
#limit_upload_speed:
exclude_tags:
sonarr-qbittorrent-vol2.cross-seed:
# <OPTIONAL> exclude_tags var: Will exclude the following tags when searching through the category.
#exclude_tags: false
# <OPTIONAL> cleanup var: WARNING!! Setting this as true Will remove and delete contents of any torrents that are in paused state and has the NoHL tag
cleanup: false
# <OPTIONAL> max_ratio var: Will set the torrent Maximum share ratio until torrent is stopped from seeding/uploading
#max_ratio: 4.0
# <OPTIONAL> max seeding time var: Will set the torrent Maximum seeding time (min) until torrent is stopped from seeding
#max_seeding_time: 43200
max_seeding_time: 23040
# <OPTIONAL> Limit Upload Speed var: Will limit the upload speed KiB/s (KiloBytes/second) (`-1` : No Limit)
#limit_upload_speed:
# <OPTIONAL> min seeding time var: Will prevent torrent deletion by cleanup variable if torrent has not yet minimum seeding time (min).
# Delete this key from a category's config to use the tracker's configured min_seeding_time. Will default to 0 if not specified for the category or tracker.
#min_seeding_time: 43200
# <OPTIONAL> resume_torrent_after_untagging_noHL var: If a torrent was previously tagged as NoHL and now has hardlinks, this variable will resume your torrent after restoring original share limits
resume_torrent_after_untagging_noHL: false
#exclude_tags:
#max_ratio: -1
#max_seeding_time:
#min_seeding_time:
#limit_upload_speed:
exclude_tags:
pt-fl-vol1:
# <OPTIONAL> exclude_tags var: Will exclude the following tags when searching through the category.
#exclude_tags: false
# <OPTIONAL> cleanup var: WARNING!! Setting this as true Will remove and delete contents of any torrents that are in paused state and has the NoHL tag
cleanup: false
# <OPTIONAL> max_ratio var: Will set the torrent Maximum share ratio until torrent is stopped from seeding/uploading
#max_ratio: 4.0
# <OPTIONAL> max seeding time var: Will set the torrent Maximum seeding time (min) until torrent is stopped from seeding
#max_seeding_time: 43200
max_seeding_time: 23040
# <OPTIONAL> Limit Upload Speed var: Will limit the upload speed KiB/s (KiloBytes/second) (`-1` : No Limit)
#limit_upload_speed:
# <OPTIONAL> min seeding time var: Will prevent torrent deletion by cleanup variable if torrent has not yet minimum seeding time (min).
# Delete this key from a category's config to use the tracker's configured min_seeding_time. Will default to 0 if not specified for the category or tracker.
#min_seeding_time: 43200
# <OPTIONAL> resume_torrent_after_untagging_noHL var: If a torrent was previously tagged as NoHL and now has hardlinks, this variable will resume your torrent after restoring original share limits
resume_torrent_after_untagging_noHL: false
#exclude_tags:
#max_ratio: -1
#max_seeding_time:
#min_seeding_time:
#limit_upload_speed:
exclude_tags:
pt-fl-vol1.cross-seed:
# <OPTIONAL> exclude_tags var: Will exclude the following tags when searching through the category.
#exclude_tags: false
# <OPTIONAL> cleanup var: WARNING!! Setting this as true Will remove and delete contents of any torrents that are in paused state and has the NoHL tag
cleanup: false
# <OPTIONAL> max_ratio var: Will set the torrent Maximum share ratio until torrent is stopped from seeding/uploading
#max_ratio: 4.0
# <OPTIONAL> max seeding time var: Will set the torrent Maximum seeding time (min) until torrent is stopped from seeding
#max_seeding_time: 43200
max_seeding_time: 23040
# <OPTIONAL> Limit Upload Speed var: Will limit the upload speed KiB/s (KiloBytes/second) (`-1` : No Limit)
#limit_upload_speed:
# <OPTIONAL> min seeding time var: Will prevent torrent deletion by cleanup variable if torrent has not yet minimum seeding time (min).
# Delete this key from a category's config to use the tracker's configured min_seeding_time. Will default to 0 if not specified for the category or tracker.
#min_seeding_time: 43200
# <OPTIONAL> resume_torrent_after_untagging_noHL var: If a torrent was previously tagged as NoHL and now has hardlinks, this variable will resume your torrent after restoring original share limits
resume_torrent_after_untagging_noHL: false
#exclude_tags:
#max_ratio: -1
#max_seeding_time:
#min_seeding_time:
#limit_upload_speed:
exclude_tags:
lidarr-qbittorrent-vol2:
# <OPTIONAL> exclude_tags var: Will exclude the following tags when searching through the category.
#exclude_tags: false
# <OPTIONAL> cleanup var: WARNING!! Setting this as true Will remove and delete contents of any torrents that are in paused state and has the NoHL tag
cleanup: false
# <OPTIONAL> max_ratio var: Will set the torrent Maximum share ratio until torrent is stopped from seeding/uploading
#max_ratio: 4.0
# <OPTIONAL> max seeding time var: Will set the torrent Maximum seeding time (min) until torrent is stopped from seeding
#max_seeding_time: 43200
max_seeding_time: 23040
# <OPTIONAL> Limit Upload Speed var: Will limit the upload speed KiB/s (KiloBytes/second) (`-1` : No Limit)
#limit_upload_speed:
# <OPTIONAL> min seeding time var: Will prevent torrent deletion by cleanup variable if torrent has not yet minimum seeding time (min).
# Delete this key from a category's config to use the tracker's configured min_seeding_time. Will default to 0 if not specified for the category or tracker.
#min_seeding_time: 43200
# <OPTIONAL> resume_torrent_after_untagging_noHL var: If a torrent was previously tagged as NoHL and now has hardlinks, this variable will resume your torrent after restoring original share limits
resume_torrent_after_untagging_noHL: false
#exclude_tags:
#max_ratio: -1
#max_seeding_time:
#min_seeding_time:
#limit_upload_speed:
exclude_tags:
recyclebin:
# Recycle Bin method of deletion will move files into the recycle bin (Located in /root_dir/.RecycleBin) instead of directly deleting them in qbit
# By default the Recycle Bin will be emptied on every run of the qbit_manage script if empty_after_x_days is defined.
enabled: false
# <OPTIONAL> empty_after_x_days var:
# Will automatically remove all files and folders in recycle bin after x days. (Checks every script run)
# If this variable is not defined it, the RecycleBin will never be emptied.
# WARNING: Setting this variable to 0 will delete all files immediately upon script run!
#empty_after_x_days:
# <OPTIONAL> save_torrents var:
# If this option is set to true you MUST fill out the torrents_dir in the directory attribute.
# This will save a copy of your .torrent and .fastresume file in the recycle bin before deleting it from qbittorrent
save_torrents: false
# <OPTIONAL> split_by_category var:
# This will split the recycle bin folder by the save path defined in the `cat` attribute
# and add the base folder name of the recycle bin that was defined in the `recycle_bin` sub-attribute under directory.
split_by_category: false
empty_after_x_days:
orphaned:
# Orphaned files are those in the root_dir download directory that are not referenced by any active torrents.
# Will automatically remove all files and folders in orphaned data after x days. (Checks every script run)
# If this variable is not defined it, the orphaned data will never be emptied.
# WARNING: Setting this variable to 0 will delete all files immediately upon script run!
empty_after_x_days: 7
# File patterns that will not be considered orphaned files. Handy for generated files that aren't part of the torrent but belong with the torrent's files
exclude_patterns:
- '**/.DS_Store'
- '**/Thumbs.db'
- '**/@eaDir'
- '**/.fuse_hidden*'
- /data/torrents/temp/**
- '**/*.!qB'
notifiarr:
# Notifiarr integration with webhooks
# Leave Empty/Blank to disable
# Mandatory to fill out API Key
apikey: REDACT
# <OPTIONAL> Set to a unique value (could be your username on notifiarr for example)
instance: qbit_manage
webhooks:
# Webhook notifications:
# Possible values:
# Set value to notifiarr if using notifiarr integration
# Set value to apprise if using apprise integration
# Set value to a valid webhook URL
# Leave Empty/Blank to disable
error: notifiarr
run_start: notifiarr
run_end: notifiarr
function:
cross_seed:
recheck:
cat_update:
tag_update:
rem_unregistered: notifiarr
tag_tracker_error:
rem_orphaned:
tag_nohardlinks:
cleanup_dirs:
share_limits:
#bhd:
# # BHD Integration used for checking unregistered torrents
# apikey: apikey
You don’t have any logs from the develop branch? Did any new categories get added to your config from qbm in the develop run?
No new categories got added, I managed to dig out the log from the problematic run this morning and it's just:
[2024-05-24 04:01:30,090] [<module>:624] [INFO] |====================================================================================================|
[2024-05-24 04:01:30,090] [<module>:625] [INFO] | _ _ _ |
[2024-05-24 04:01:30,091] [<module>:626] [INFO] | | | (_) | |
[2024-05-24 04:01:30,091] [<module>:627] [INFO] | __ _| |__ _| |_ _ __ ___ __ _ _ __ __ _ __ _ ___ |
[2024-05-24 04:01:30,091] [<module>:628] [INFO] | / _` | '_ \| | __| | '_ ` _ \ / _` | '_ \ / _` |/ _` |/ _ \ |
[2024-05-24 04:01:30,091] [<module>:629] [INFO] | | (_| | |_) | | |_ | | | | | | (_| | | | | (_| | (_| | __/ |
[2024-05-24 04:01:30,091] [<module>:630] [INFO] | \__, |_.__/|_|\__| |_| |_| |_|\__,_|_| |_|\__,_|\__, |\___| |
[2024-05-24 04:01:30,091] [<module>:631] [INFO] | | | ______ __/ | |
[2024-05-24 04:01:30,092] [<module>:632] [INFO] | |_| |______| |___/ |
[2024-05-24 04:01:30,092] [<module>:634] [INFO] | Version: 4.1.5-develop6 (Docker) |
[2024-05-24 04:01:30,280] [<module>:643] [INFO] | Platform: Linux-4.4.302+-x86_64-with |
[2024-05-24 04:01:30,281] [<module>:680] [INFO] | Scheduled Mode: Running every 6 hours. |
[2024-05-24 04:01:30,281] [start:417] [INFO] |====================================================================================================|
[2024-05-24 04:01:30,281] [start:417] [INFO] | Starting Run |
[2024-05-24 04:01:30,281] [start:417] [INFO] |====================================================================================================|
[2024-05-24 04:01:30,281] [__init__:44] [INFO] | Locating config... |
[2024-05-24 04:01:30,282] [__init__:57] [INFO] | Using /config/config.yml as config |
[2024-05-24 04:01:30,411] [__init__:69] [INFO] | Commands found in config.yml, ignoring env variables and using config commands instead. |
[2024-05-24 04:01:30,412] [__init__:267] [INFO] | Connecting to Notifiarr... |
[2024-05-24 04:01:30,789] [__init__:280] [INFO] | Notifiarr Connection Successful |
[2024-05-24 04:01:32,416] [__init__:692] [INFO] | Connecting to Qbittorrent... |
[2024-05-24 04:01:32,761] [__init__:74] [INFO] | Qbt Connection Successful |
[2024-05-24 04:01:32,762] [__init__:82] [INFO] |======================================= Getting Torrent List =======================================|
[2024-05-24 04:01:34,218] [get_torrent_info:125] [INFO] |======================================== Checking Settings =========================================|
[2024-05-24 04:01:34,218] [get_torrent_info:127] [INFO] | force_auto_tmm set to True. Will force Auto Torrent Management for all torrents. |
[2024-05-24 04:01:34,219] [get_torrent_info:130] [INFO] |====================================================================================================|
[2024-05-24 04:01:34,219] [get_torrent_info:130] [INFO] | Gathering Torrent Information |
[2024-05-24 04:01:34,219] [get_torrent_info:130] [INFO] |====================================================================================================|
[2024-05-24 04:02:00,299] [category:24] [INFO] |======================================= Updating Categories ========================================|
[2024-05-24 04:02:01,812] [update_cat:69] [INFO] | Torrent Name: REDACTED |
[2024-05-24 04:02:01,812] [update_cat:75] [INFO] | New Category: sonarr-qbittorrent-vol1 |
[2024-05-24 04:02:01,812] [update_cat:76] [INFO] | Tracker: REDACTED
moving all the cross-seed categories to the base categories. Luckily, it hasn't removed the 'cross-seed' tag so I've managed to now move them back, but since they all got moved to the qbit category sonarr/radarr monitors for new downloads they've been importing stuff that already exists for a few hours
The bug stems from your categories having the same save_path
defined multiple times for different categories. Qbm takes the default first category item as the true category and assigns it. I've modified the code to skip updating any categories with duplicate save paths so this should fix the issue, however my recommendation is to keep the save_path's different for all categories.
OK, thanks for the clarification. What's the recommendation here with cross-seed, then? It needs to be in the same save path, and cross-seed automatically adds a .cross-seed category
I've just pulled the latest develop and it's fixed it for 3/4 of the cross-seed categories but not all of them
Check to ensure the save path for the cross-seed category in qbittorrent is matching with what's defined in your qbm config under cat.
Ah right, somehow I'd managed to mess the string up. All seems good now, thanks
Describe the Bug
Updated to latest docker last night, woke up to find sonarr/radarr importing thousands of files. I've noticed all the cross-seeds have now been moved into the non .cross-seed category
Config
No response
Logs
log is lost
Screenshots
No response
Installation
Docker
Version Number
4.1.5-develop6
What branch are you on?
develop