Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/JakeWharton/qbt-tracker-hound

Maintains a tag on torrents with broken trackers in qBittorrent
https://github.com/JakeWharton/qbt-tracker-hound

Last synced: 5 days ago
JSON representation

Maintains a tag on torrents with broken trackers in qBittorrent

Awesome Lists containing this project

README

        

qBittorrent Tracker Hound
=========================

Maintains a tag on torrents with broken trackers.

qBittorrent has no mechanism to show which torrents have broken trackers.
This tool will check each torrent and add/remove a tag to help you identify these torrents.

![](tags.png)

This tool is provided as a Docker container which runs as a cron job.

[![Docker Ima ge Version](https://img.shields.io/docker/v/jakewharton/qbt-tracker-hound?sort=semver)][hub]
[![Docker Image Size](https://img.shields.io/docker/image-size/jakewharton/qbt-tracker-hound)][layers]

[hub]: https://hub.docker.com/r/jakewharton/qbt-tracker-hound/
[layers]: https://microbadger.com/images/jakewharton/qbt-tracker-hound

Usage
-----

The container connects to qBittorrent over its API which is exposed the same way as its web interface.
You will need a valid username and password.
The default username is 'admin', and the default password is 'adminadmin' which reflect the qBittorrent defaults.

There are three general ways to connect:

1. Use the qBittorrent container as the network for this container.
2. Use the qBittorrent container hostname.
3. Use an explicit hostname/IP that resolves to the container.

Option 2 and option 3 are really the same thing and are the recommended path.

For option 2, ensure your qBittorrent container has a hostname defined.
For `docker run` this means specifying `--hostname qbittorrent`.
For Docker Compose use the `hostname` key in the service definition:
```yaml
services:
qbittorrent:
image: linuxserver/qbittorrent
hostname: qbittorrent
# …
```

Start this container and point it at your qBittorrent instance with the `QBT_HOST` environment variable.

```
$ docker run -d \
-e "QBT_HOST=http://qbittorrent:8080" \
jakewharton/qbt-tracker-hound:1
```

For Docker Compose, add it as an additional service:
```yaml
services:
qbt-tracker-hound:
container_name: qbt-tracker-hound
image: jakewharton/qbt-tracker-hound:1
restart: unless-stopped
environment:
- "QBT_HOST=http://qbittorrent:8080"
```

If you have a non-default username or password, specify the `QBT_USER` and/or `QBT_PASS` environment variables, respectively.

The container will check all of your torrents every 5 minutes by default.
To change when it runs, specify the `CRON` environment variable with a valid cron specifier.
For help creating a valid cron specifier, visit [cron.help][cron].

[cron]: https://cron.help/#*/5_*_*_*_*

The 'Tracker Problem' tag will be used by default.
To change it, specify your desired tag name in the `QBT_TAG` environment variable.

To be notified when sync is failing visit https://healthchecks.io, create a check, and specify
the ID to the container using the `HEALTHCHECK_ID` environment variable.

LICENSE
======

MIT. See `LICENSE.txt`.

Copyright 2020 Jake Wharton