View Single Post
  #1  
Old 2022-10-26, 04:37 PM
frank carson frank carson is online now
 
Join Date: Sep 2018
Automating Reseeding Method #2 - Programmatically restart torrents in Transmission

This task will restart torrents in Transmission using a combination of Predicate(s) and Comparator(s) to filter and prioritize torrents.
It will only restart stopped torrents, it will NOT load up new torrents for reseeding.
For that see "Automating Reseeding - Method 1 - Locate Filesets and Reload Torrents" - http://www.thetradersden.org/forums/...d.php?t=184570

I use this task with a separate Transmission instance just for reseeding and an aggressive idle timeout of 35 minutes for LL.
The LL announce interval is 30 mins so this guarantees each leecher sees at least one announce before we idle timeout so any leecher behaving properly should have ample time to grab the fileset.
It also relies on Transmission "scraping" the current number of seeders/leechers while the torrents are stopped so the logic can make decisions about which ones to restart, therefore that must be enabled.

The goal is to restart torrents with at least one active leecher just long enough for the active leecher to grab the fileset and then stop the torrent.
Call it "hit and run seeding".

Recommended transmission settings.
"scrape-paused-torrents-enabled" is absolutely required to be set to true, the others you can tweak as you see fit (just keep the goal above in mind)

"idle-seeding-limit": 35,
"idle-seeding-limit-enabled": true,
"scrape-paused-torrents-enabled": true,

Download the initial release here:
https://github.com/ossprj/ossprj-tra...elease%2F1.0.0

Unzip and run using the instructions from here:
https://github.com/ossprj/ossprj-tra...-reseed#readme

Personally i use the "With No Seeders" configuration.
I run it via cron every hour against my reseed instance of Transmission and it restarts anything with 0 seeds and at least 1 leecher.
Reply With Quote Reply with Nested Quotes