How to uncompress RARs with Sonarr + Deluge?

I’m a recent convert from SickRage. Currently I have Sonarr (formally SR) and Couch Potato sharing the use of Deluge. Deluge is configured to label torrents based on the tracker, which in turn dictates how long they seed for and (in a couple cases) what folder they’re moved to after finishing.

Both SR and CP have unRAR functionality, which is very useful as it seems that most private torrent sites (like TorrentLeech) RAR all their releases. These same private trackers also tend to get the show before the public trackers.

What I’m wondering is, how should I configure Sonarr/Deluge to unRAR files without breaking the rest of the setup? I know a little bit of scripting (CMD) but very little powershell and no Python whatsoever. I’d be willing to run a separate daemon of Deluge just for Sonarr, but I’d like to avoid that if possible.

Just started using deluge so haven’t tried it yet, but it has it’s own extractor plugin.

Have deluge extract the file upon completion, and most likeky sonarr will import it.

Only thing I’m worried about is the cleanup performed by sonarr on seeding completion.

Where should Deluge be configured to extract the files? Does it have to be one specific folder, or can it be within the source folder?

If i remember correctly deluge extractor puts the output file in a common folder, not the source folder. You need to work around a custom script.

Unfortunately i can’t mine that i had for deluge in linux bash, but it had something like this.

find "$torrentpath"/"$torrentname" -type f -name *.rar -execdir unrar e {} \;

It seems you are right. it asks for a extract directory. This could be the drone factory dir, but I’d rather keep that disabled.
I’ll take a look at extract scripts when I got some spare time.

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