Skip to content

JDRIVO/rTorrent-Disk-Checker

Repository files navigation

rTorrent Disk Checker

This program is capable of the following when:

             - 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.

Requirements

  • 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

This script displays the torrents that will be deleted without actually deleting them.

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

About

rTorrent Crash Prevention

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published