Sonarr and rTorrent seeding

I was about to switch to rTorrent/ruTorrent but as I was looking at connecting Sonarr to it I got this message:

“Sonarr is unable to remove torrents that have finished seeding when using rTorrent”

Kind of a bummer but just out of curiosity, why is this the case? Lack of API call for it? Also, has anyone thought up a creative and automated way around this?

From what we’ve seen rTorrent doesn’t provide a way for Sonarr to know that the torrent actually finished seeding and wasn’t manually stopped for another reason. We opted to leave it unavailable than to guess and hope we don’t nuke something that was paused/stopped for another reason.

Interesting. Well now I’m curious, how can you tell with other programs? Do they differentiate between different kinds of “stops” like manual stop and an automatic stop because ratio has been met? I wouldn’t have thought so.

I may have found a workaround too but I’m not sure if it will mess with Sonarr. I would think once Sonarr knows the torrent is complete, then it no longer cares if it is removed. Is that correct?

Deluge has a few values that we check to see if its should be removed, if they are true its removed:

  • It’s automanaged
  • Stop at ratio is enabled
  • Ratio is greater than the stop ratio
  • Torrent is paused (stopped)

Transmission takes the naive approach and uTorrent looks to use a combination of states to see that its forced seeding (presumably auto stopped before). Deluge has the best implementation, the others look dodgy at best, having Sonarr manage it would be ideal, but not something we’re currently working on.

I will test it manually once I get to that point and I think I can get a custom job to workaround the limitation by matching the label, is ratio met, is torrent stopped, and is torrent done downloading. But I’m still a ways from getting my setup moved over. I just want to make sure, if I set up rTorrent with Sonarr, a download completes and seeding completes and the torrent is stopped automatically by rtorrent because the ratio is met, and I delete the torrent manually or automatically since Sonarr can’t do it, that shouldn’t interfere with Sonarr’s internal processes, right?

As long as Sonarr has already imported the files thats not an issue. Sonarr has no expectation that the torrent will stay, it just assumes its been deleted and doesn’t worry about it, so it won’t have any adverse effect.

Ok, I got rtorrent configured now but Sonarr doesn’t seem to be importing once the download completes. It started a download and when I came back the torrent was finished downloading and seeding and the torrent was stopped. Sonarr said the torrent was 100% but it still wasn’t imported and moved.

Check the log files/look at the queue in Sonarr for an explanation.

Still working on it but it has to do with the directories used and mapping and such. Just got get the mappings. Thanks.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.