SONARR not deleting completed items from Deluge

Sonarr version (exact version): 2.0.0.5153
OS: Windows 10
Description of issue:

When a torrent is finished downloading in Deluge, it remains there in a PAUSED state (same as stopped in other clients…deluge doesnt have a stopped state). IT doesnt seem to get deleted even though the Completed Download Handling - REMOVE = YES is set in the download indexer settings of SONARR.

In Deluge the torrent is currently set to complete when seeding ratio is 0 (for testing only) and this works, the torrent stops. The file is successfully copied by SONARR and removes itself from the ACTIVITY section on SONARR. Everything seems to be working other than the torrent and its data still sit in deluge waiting to be manually deleted.

I have turned on logging in deluge to see whats going on and its as though there is no “DELETE” command coming from SONARR. If I manually delete a torrent from the ACTIVITIES section of SONARR I see this in the logs of deluge as “deleted by user” but this same event is not occurring once the download completes.

Can anybody offer any advice?

This sounds like what we were reporting here:

Qbitorrent Complete Download Handling

Maybe it’s related?

I think I found the problem in the logs.

here is the command sent to deluge when I added the torrent:

18-3-9 15:41:27.2|Trace|HttpClient|Req: [POST] http://localhost:8112/json: core.add_torrent_magnet("magnet:?xt=urn:btih:8156dcfc5360e685f52d59e57997a66d1a2fc969&dn=MythBusters.S20E11.Dynamite.Deposit.720p.HDTV.x264-W4F[rartv]&tr=http:%2F%2Ftracker.trackerfix.com:80%2Fannounce&tr=udp:%2F%2F9.rarbg.me:2710&tr=udp:%2F%2F9.rarbg.to:2710&tr=udp:%2F%2Fopen.demonii.com:1337%2Fannounce", {"add_paused":false,**"remove_at_ratio":false**})

Notice the “remove_at_ratio”:false
Surely this should be true?

I tried setting this option “remove at ratio” within the torrent in deluge and it successfully removed the torrent when it was done…but the file wasnt imported into SONARR, i guess it was removed before sonarr realised it was finished?

Iv installed the AUTOREMOVEPLUS plugin for deluge and set it to remove torrents after 1 day of seeding. That way SONARR will be able to copy it still and they will get removed.

Happy to do some further testing though if development would like to investigate further.

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