This tool will help manage tedious tasks in qBittorrent and automate them. Tag, categorize, remove Orphaned data, remove unregistered torrents and much much more.
Find a file
bobokun 0f74ba471d
Fixes bug #173 Major refactor in shhare limits
- Fixes bug where paused `noHL` torrents were being removed by qbit-manage when seed time/ratios not met
- Share Limit deletions are now handled directly in qbm. This means qbm determines whether or not things should be deleted rather than qBittorrent.
- Better logging when `noHL` torrents get deleted once share limits are reached
   - It displays the numbers and reason why the share limit has been reached
- `noHL` torrent share limits get updated on each qbm run to reflect the latest config
   - Previously you would have to untag all `noHL` torrents and re-run to apply the new share limits
- `noHL` torrents get tagged and deleted in the same run if share limits are reached
   - Previously you would need to run qbm twice, first run would tag and second run would delete if share limits are reached
- Automatic handling of min_seeding_time requiring no more manual intervention.
   - Torrents that have met share ratio but not met the min_seeding_time requirements will now automatically remove share limits in qbt and resume torrent state in order to seed longer until share ratios are met.
   - These torrents are tagged with a new tag `MinSeedTimeNotReached`. Any torrents with this tag will not have share ratio limits applied in order to avoid qbt from pausing the torrent, (qbm will still delete this torrent once the minimum seed time is reached)
2022-11-21 21:14:20 -05:00
.github tox and pre-commit formatting 2022-10-29 11:19:09 -04:00
config Adds additional config for resuming torrents #175 2022-10-29 15:02:05 -04:00
modules Fixes bug #173 Major refactor in shhare limits 2022-11-21 21:14:20 -05:00
scripts [pre-commit.ci] auto fixes from pre-commit.com hooks 2022-11-09 20:46:26 +00:00
.dockerignore more pre-commits and makefile 2022-11-01 11:24:13 -04:00
.flake8 more pre-commits and makefile 2022-11-01 11:24:13 -04:00
.gitignore more pre-commits and makefile 2022-11-01 11:24:13 -04:00
.pre-commit-config.yaml [pre-commit.ci] pre-commit autoupdate 2022-11-14 21:56:02 +00:00
activate.sh more pre-commits and makefile 2022-11-01 11:24:13 -04:00
deactivate.sh more pre-commits and makefile 2022-11-01 11:24:13 -04:00
Dockerfile tox and pre-commit formatting 2022-10-29 11:19:09 -04:00
LICENSE tox and pre-commit formatting 2022-10-29 11:19:09 -04:00
Makefile more pre-commits and makefile 2022-11-01 11:24:13 -04:00
qbit_manage.py better handling trace logs 2022-11-19 09:46:38 -05:00
qbm_logo.png Add new logo 2021-11-30 15:02:48 -05:00
README.md Merge branch 'master' of https://github.com/StuffAnThings/qbit_manage into develop 2022-10-29 15:58:48 -04:00
requirements.txt tox and pre-commit formatting 2022-10-29 11:19:09 -04:00
setup.py tox and pre-commit formatting 2022-10-29 11:19:09 -04:00
tox.ini more pre-commits and makefile 2022-11-01 11:24:13 -04:00
VERSION Fixes bug #173 Major refactor in shhare limits 2022-11-21 21:14:20 -05:00

qBit Manage

GitHub release (latest by date) GitHub commits since latest release (by SemVer) Docker Image Version (latest semver) Github Workflow Status pre-commit.ci status Docker Pulls Sponsor or Donate

This is a program used to manage your qBittorrent instance such as:

  • Tag torrents based on tracker URL and set seed goals/limit upload speed by tag (only tag torrents that have no tags)
  • Update categories based on save directory
  • Remove unregistered torrents (delete data & torrent if it is not being cross-seeded, otherwise it will just remove the torrent)
  • Automatically add cross-seed torrents in paused state. *Note: cross-seed now allows for torrent injections directly to qBit, making this feature obsolete.*
  • Recheck paused torrents sorted by lowest size and resume if completed
  • Remove orphaned files from your root directory that are not referenced by qBittorrent
  • Tag any torrents that have no hard links and allows optional cleanup to delete these torrents and contents based on maximum ratio and/or time seeded
  • RecycleBin function to move files into a RecycleBin folder instead of deleting the data directly when deleting a torrent
  • Built-in scheduler to run the script every x minutes. (Can use --run command to run without the scheduler)
  • Webhook notifications with Notifiarr and Apprise API integration

Getting Started

Check out the wiki for installation help

  1. Install qbit_manage either by installing Python3 on the localhost and following the Local Installation Guide or by installing Docker and following the Docker Installation Guide or the unRAID Installation Guide.
  2. Once installed, you have to set up your Configuration by create a Configuration File filled with all your values to connect to your qBittorrent instance.
  3. Please refer to the list of Commands that can be used with this tool.

Usage

To run the script in an interactive terminal with a list of possible commands run:

python qbit_manage.py -h

Support

  • If you have any questions or require support please join the Notifiarr Discord and post your question under the qbit-manage channel.
  • If you're getting an Error or have an Enhancement post in the Issues.
  • If you have a configuration question post in the Discussions.
  • Pull Request are welcome but please submit them to the develop branch.