mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2024-09-20 15:26:02 +08:00
221 lines
9.3 KiB
Plaintext
221 lines
9.3 KiB
Plaintext
# 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
|
|
|
|
qbt:
|
|
# qBittorrent parameters
|
|
host: "localhost:8080"
|
|
user: "username"
|
|
pass: "password"
|
|
|
|
settings:
|
|
force_auto_tmm: False # 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
|
|
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: "/mnt/user/data/torrents/"
|
|
recycle_bin: "/mnt/user/data/torrents/.RecycleBin"
|
|
torrents_dir: "/qbittorrent/data/BT_backup"
|
|
|
|
cat:
|
|
# Category & Path Parameters
|
|
# <Category Name> : <save_path> # Path of your save directory.
|
|
movies: "/data/torrents/Movies"
|
|
tv: "/data/torrents/TV"
|
|
|
|
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>
|
|
Radarr-HD.cross-seed: movies-hd
|
|
Radarr-UHD.cross-seed: movies-uhd
|
|
movies-hd.cross-seed: movies-hd
|
|
movies-uhd.cross-seed: movies-uhd
|
|
|
|
|
|
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>
|
|
animebytes.tv:
|
|
tag: AnimeBytes
|
|
notifiarr: animebytes
|
|
avistaz:
|
|
tag:
|
|
- Avistaz
|
|
- tag2
|
|
- tag3
|
|
max_ratio: 5.0
|
|
max_seeding_time: 129600
|
|
limit_upload_speed: 150
|
|
notifiarr: avistaz
|
|
beyond-hd:
|
|
tag: [Beyond-HD, tag2, tag3]
|
|
notifiarr: beyondhd
|
|
blutopia:
|
|
tag: Blutopia
|
|
notifiarr: blutopia
|
|
cartoonchaos:
|
|
tag: CartoonChaos
|
|
digitalcore:
|
|
tag: DigitalCore
|
|
max_ratio: 5.0
|
|
notifiarr: digitalcore
|
|
gazellegames:
|
|
tag: GGn
|
|
limit_upload_speed: 150
|
|
hdts:
|
|
tag: HDTorrents
|
|
max_seeding_time: 129600
|
|
landof.tv:
|
|
tag: BroadcasTheNet
|
|
notifiarr: broadcasthenet
|
|
myanonamouse:
|
|
tag: MaM
|
|
passthepopcorn:
|
|
tag: PassThePopcorn
|
|
notifiarr: passthepopcorn
|
|
privatehd:
|
|
tag: PrivateHD
|
|
notifiarr:
|
|
tleechreload:
|
|
tag: TorrentLeech
|
|
notifiarr: torrentleech
|
|
torrentdb:
|
|
tag: TorrentDB
|
|
notifiarr: torrentdb
|
|
torrentleech:
|
|
tag: TorrentLeech
|
|
notifiarr: torrentleech
|
|
tv-vault:
|
|
tag: TV-Vault
|
|
|
|
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
|
|
movies-completed:
|
|
# <OPTIONAL> exclude_tags var: Will exclude the following tags when searching through the category.
|
|
exclude_tags:
|
|
- Beyond-HD
|
|
- AnimeBytes
|
|
- MaM
|
|
# <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: 86400
|
|
# <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 ensure that torrent is not deleted by cleanup variable if torrent does not meet minimum seeding time (min).
|
|
min_seeding_time: 43200
|
|
|
|
# Can have additional categories set with separate ratio/seeding times defined.
|
|
series-completed:
|
|
# <OPTIONAL> exclude_tags var: Will exclude the following tags when searching through the category.
|
|
exclude_tags:
|
|
- Beyond-HD
|
|
- BroadcasTheNet
|
|
# <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: 86400
|
|
# <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 ensure that torrent is not deleted by cleanup variable if torrent does not meet minimum seeding time (min).
|
|
min_seeding_time: 43200
|
|
|
|
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: true
|
|
# <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: 60
|
|
# <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: true
|
|
# <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
|
|
|
|
orphaned:
|
|
# Orphaned files are those in the root_dir download directory that are not referenced by any active torrents.
|
|
# 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"
|
|
- "/data/torrents/temp/**"
|
|
- "**/*.!qB"
|
|
|
|
apprise:
|
|
# Apprise integration with webhooks
|
|
# Leave Empty/Blank to disable
|
|
# Mandatory to fill out the url of your apprise API endpoint
|
|
api_url: http://apprise-api:8000
|
|
# Mandatory to fill out the notification url/urls based on the notification services provided by apprise. https://github.com/caronc/apprise/wiki
|
|
notify_url:
|
|
|
|
notifiarr:
|
|
# Notifiarr integration with webhooks
|
|
# Leave Empty/Blank to disable
|
|
# Mandatory to fill out API Key
|
|
apikey: ####################################
|
|
# <OPTIONAL> Set to a unique value (could be your username on notifiarr for example)
|
|
instance:
|
|
|
|
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: https://mywebhookurl.com/qbt_manage
|
|
run_start: notifiarr
|
|
run_end: apprise
|
|
function:
|
|
cross_seed: https://mywebhookurl.com/qbt_manage
|
|
recheck: notifiarr
|
|
cat_update: apprise
|
|
tag_update: notifiarr
|
|
rem_unregistered: notifiarr
|
|
tag_tracker_error: notifiarr
|
|
rem_orphaned: notifiarr
|
|
tag_nohardlinks: notifiarr
|
|
empty_recyclebin: notifiarr
|
|
|
|
bhd:
|
|
# BHD Integration used for checking unregistered torrents
|
|
apikey: |