Possible to Move/Delete unpacked file after it has been imported?

Sonarr version (exact version): 2.0.0.4689
Mono version (if Sonarr is not running on Windows): 4.6.2
OS: Synology DSM
((Debug logs)): https://pastebin.com/SgfSKvhP
Description of issue:

I’m using rtorrent + ruTorrent as my download client. I mostly download scene releases which are in rar format. I’ve set rTorrent to unpack automatically into the same folder as the release. The file is then imported as it should to the correct place.

It doesn’t move the unpacked file, it only copies it, leaving the unpacked file intact. Is there any way of having the unpacked file be automatically deleted?

I have ratio rules setup to remove the torrent, but that leaves behind the unpacked file as well creating a lot of manually sifting through folders for leftover unpacked files that needs to be deleted.

A good example in the debug log is Workaholics S07E03.

As far as I can see the right file permissions are set on sc-download and sc-media groups.

Would be grateful for any input on this.

At this time the only way to do that would be with a custom script in Sonarr that ran On Download and On Upgrade to remove the file if the torrent it was imported from was a set of rar files.

Sonarr support RAR files and importing from them directly would be the proper solution:

There are technical challenges to that though, as mentioned in Taloth’s comment: https://github.com/Sonarr/Sonarr/issues/784#issuecomment-220400486

Thank you Markus, that should help me get it sorted.

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