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 607470399a
4.1.14 (#705)
* 4.1.14-develop1

* Update SUPPORTED_VERSIONS.json for master (#692)

* 4.1.13-develop

* Bump croniter from 3.0.3 to 3.0.4 (#680)

Bumps [croniter](https://github.com/kiorky/croniter) from 3.0.3 to 3.0.4.
- [Changelog](https://github.com/kiorky/croniter/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/kiorky/croniter/compare/3.0.3...3.0.4)

---
updated-dependencies:
- dependency-name: croniter
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump qbittorrent-api from 2024.9.67 to 2024.10.68 (#684)

Bumps [qbittorrent-api](https://github.com/rmartin16/qbittorrent-api) from 2024.9.67 to 2024.10.68.
- [Release notes](https://github.com/rmartin16/qbittorrent-api/releases)
- [Changelog](https://github.com/rmartin16/qbittorrent-api/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rmartin16/qbittorrent-api/compare/v2024.9.67...v2024.10.68)

---
updated-dependencies:
- dependency-name: qbittorrent-api
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update SUPPORTED_VERSIONS.json

* bump develop

* (ci): add ci for version bump on develop (#688)

* Fixes bug in torrent exporting for qbit versions under 4.5.0

* Bump actions/checkout from 3 to 4 (#690)

* Bump actions/setup-python from 3 to 5 (#689)

* Bump croniter from 3.0.4 to 5.0.1 (#685)

* [pre-commit.ci] pre-commit autoupdate (#682)

* 4.1.13

* Update SUPPORTED_VERSIONS.json

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: bobokun <jon.cy.lee98@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: bakerboy448 <55419169+bakerboy448@users.noreply.github.com>
Co-authored-by: bobokun <12660469+bobokun@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* chore(docs): Sync wiki to docs [skip-cd]

* Bump qbittorrent-api from 2024.10.68 to 2024.11.69 (#693)

* Bump qbittorrent-api from 2024.10.68 to 2024.11.69

Bumps [qbittorrent-api](https://github.com/rmartin16/qbittorrent-api) from 2024.10.68 to 2024.11.69.
- [Release notes](https://github.com/rmartin16/qbittorrent-api/releases)
- [Changelog](https://github.com/rmartin16/qbittorrent-api/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rmartin16/qbittorrent-api/compare/v2024.10.68...v2024.11.69)

---
updated-dependencies:
- dependency-name: qbittorrent-api
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* bump develop (#694)

* chore: bump qbittorrent-api (#697)

* chore: bump qbittorrent-api
* Update VERSION

* Update SUPPORTED_VERSIONS.json

* chore(docs): Sync wiki to docs [skip-cd]

* 4.1.14

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: bakerboy448 <55419169+bakerboy448@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Actionbot <actions@github.com>
2024-12-10 08:12:19 -05:00
.github 4.1.13 (#691) 2024-11-09 16:57:48 -05:00
config set default safeguards against mass deletion in remove orphan 2024-10-04 18:19:58 -04:00
docs 4.1.14 (#705) 2024-12-10 08:12:19 -05:00
modules 4.1.13 (#691) 2024-11-09 16:57:48 -05:00
scripts Adds new script to remove cross-seed tag 2024-10-13 15:12:35 -04:00
.dockerignore more pre-commits and makefile 2022-11-01 11:24:13 -04:00
.flake8 pre-commit updates 2022-12-03 09:06:01 -05:00
.gitignore more pre-commits and makefile 2022-11-01 11:24:13 -04:00
.pre-commit-config.yaml 4.1.13 (#691) 2024-11-09 16:57:48 -05:00
activate.sh more pre-commits and makefile 2022-11-01 11:24:13 -04:00
CHANGELOG 4.1.14 (#705) 2024-12-10 08:12:19 -05:00
deactivate.sh more pre-commits and makefile 2022-11-01 11:24:13 -04:00
Dockerfile Release 4.1.8 (#645) 2024-09-05 20:08:15 -04:00
LICENSE tox and pre-commit formatting 2022-10-29 11:19:09 -04:00
Makefile black formatting + precommit updates 2023-06-11 15:54:52 -04:00
qbit_manage.py Fixes #656 2024-10-05 15:07:04 -04:00
qbm_logo.png Add new logo 2021-11-30 15:02:48 -05:00
README.md Release 4.1.8 (#645) 2024-09-05 20:08:15 -04:00
requirements-dev.txt Bump pre-commit from 3.8.0 to 4.0.1 (#670) 2024-10-10 21:34:52 -05:00
requirements.txt 4.1.14 (#705) 2024-12-10 08:12:19 -05:00
setup.py fix pre-commit and update requirements 2024-02-10 11:15:41 -05:00
SUPPORTED_VERSIONS.json 4.1.14 (#705) 2024-12-10 08:12:19 -05:00
tox.ini Release 4.1.8 (#645) 2024-09-05 20:08:15 -04:00
VERSION 4.1.14 (#705) 2024-12-10 08:12:19 -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 Ghcr packages Docker Pulls Sponsor or Donate

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

  • Tag torrents based on tracker URLs
  • Apply category based on save_path to uncategorized torrents in category's save_path
  • Change categories based on current category (cat_change)
  • 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 rarely needed/used.*
  • 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 outside the root folder (for multi-file torrents the largest file is used)
  • Apply share limits based on groups filtered by tags/categories and allows optional cleanup to delete these torrents and contents based on maximum ratio and/or time seeded. Additionally allows for a minimum seed time to ensure tracker rules are respected and minimum number of seeders to keep torrents alive.
  • 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

Supported Qbittorrent Versions

We rely on qbittorrent-api to interact with Qbittorrent.

Generally expect new releases of Qbittorrent to not immediately be supported. Support CANNOT be added until qbittorrent-api adds support gor the version. Any material changed and impact must then be assessed prior to Qbit Manage supporting it.

Master

master - qBittorrent version

master - qbittorrent-api version

Develop

develop - qBittorrent version

develop - qbittorrent-api version

Getting Started

Check out the wiki for installation help

  1. Install qbit_manage either by installing Python 3.9.0+ 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.