tqm is a CLI tool to manage your torrent client queues. Primary focus is on removing torrents that meet specific criteria.
The tqm binary is downloaded and a service and timer file created when the config is identified.
Note
📢 You will need to have config.yaml in place (/opt/tqm/) for the role to run successfully. Here is an example config you can grab and fill in with your own details.
...label:# Permaseed Animebytes torrents (all must evaluate to true)-name:permaseed-ABupdate:-SeedingSeconds > 1000.0-Label contains "-imported"-TrackerName contains "animebytes.tv"# cleanup btn season packs to autoremove-btn (all must evaluate to true)-name:autoremove-btnupdate:-Label == "sonarr-imported"-TrackerName == "landof.tv"-not (Name contains "1080p")-len(Files) >= 3...
Note
📢 tqm will not create a category for you, so be sure to create the category first. If you
want the file moved as well, you will need to set Default Torrent Management Mode: Automatic.
name: The category (label) you want the torrent changed to.
You can edit the settings.yml file in /opt/sandbox/. The default is qbt, for qbittorrent. If you want to use deluge, change that entry. Once you set your download client, run the role again and it will update the service.
Shortened example of settings.yml:
...tandoor:secret_key:tqm:download_client:"qbt"# Change this to deluge or whatever you specify in config.yamltransmissionvpn:vpn_user:vpn_pass:vpn_prov:...