TL;DR: Perma-seeding of whole Servarr libraries optimized for per-tracker ratio.
Delete torrents/items only as disk space gets low.
Don’t delete currently imported items. IOW, only delete upgraded items.
Don’t delete private items that haven’t met seeding requirements.
Delete public items first
Delete private items in an order to maximize tracker ratio and/or bonuses.
I didn’t like the available options I could find at the time for maximizing seeding from a lovingly managed media library. Deleting by a ratio threshold doesn’t make sense to me because that can delete items when there’s plenty of disk space. Also the ratio threshold is a reverse indicator for items from private indexers vs items from public indexers. Items from private indexers with high ratios should be kept around as long as possible to build user total ratio whereas items from public indexers with low ratios should be kept around as long as possible to preserve access in the community/ecosystem. Finally, deleting any item still imported in the Servarr just because it hit the ratio threshold is the biggest waste since it doesn’t free any space. So I wrote Prunerr to prune download items in the correct order.
The use case for Prunerr is not tracker ratio racing. It’s goal is to seed as long as possible and to seed as much of your library as possible. This should have some secondary benefits to ratio, but that’s not the main goal.
Finally, there is a laundry list of other download client management tasks that can be automated but aren’t by anything I could find. So I added them to Prunerr as well.
I finally got around to packaging it up for release so here it is and here’s hoping it can be useful to others! I’m happy to receive feedback and contributions.