Jafner.net/homelab/server/config/qbittorrent
2022-10-17 11:05:37 -07:00
..
.env Init qbittorrent on server 2022-06-24 16:45:57 -07:00
docker-compose.yml #63 init for JDL and QBT 2022-10-17 11:05:37 -07:00
project.env #36 Init blank project.env for all services on server 2022-08-09 15:15:11 -07:00
README.md Add docs to update tracker urls 2022-10-07 16:20:17 -07:00

Create a Torrent File

On Windows, use qBitTorrent's Torrent Creator
On Linux (CLI), use ctorrent. (Like: ctorrent -t -s output_file.torrent /path/to/source/dir)

Update Tracker URLs in Bulk

Requires: qbittorrent-cli

  1. Configure qbt to connect to qbt.jafner.net.
qbt settings set username admin
qbt settings set url https://qbt.jafner.net
  1. Get a list of hashes for torrents of the right category. Example: qbt torrent list --category ggn --format json | jq ' .[].hash' | tr -d '"' > hashes.txt

  2. Replace the old announce URL with the new announce URL for each hash. Example: for hash in $(cat hashes.txt); do qbt torrent tracker edit $hash "https://tracker.gazellegames.net/7667910c8a2b5446890cbd0ad459d5c3/announce" "https://tracker.gazellegames.net/d0dd178494dd6ffcd9842934a13086e0/announce"; done This will take a long time.