- a torrent is added by any program (autodl-irssi, RSS Downloader etc)
- a torrent is added remotely or locally
This program checks available disk space and deletes torrents based on criteria defined in config.py when there's insufficient space to accommodate a new torrent. If space is still inadequate, the torrent is sent to rTorrent in a stopped state, and a notification can be sent to you from numerous messaging services.
-
rTorrent 0.9.7+
-
Python 3+
Run the setup script by entering the following command in your terminal (Refer to this script for manual setup instructions):
bash setup.sh
Results will output to your terminal and a text file named testresult.txt
This script accepts two arguments: 1. Torrent Size ( GB ) 2. Mount Point [Optional] Default mount point is "/"
python test.py 69
To send a test message:
python messenger.py email pushbullet
Accepted arguments: email
, pushbullet
, pushover
, telegram
, discord
, slack