rTorrent support

Not at the moment, I’ve added it to this card: https://trello.com/c/uJAZt2WW/861-torrent-support-part-2 but its not priority for us right now.

Hi,

It would be awesome to have rTorrent support for seedboxes.

Is there any ETA for rtorrent support in sonarr ?

Thanks

I am working on implementing it, see https://github.com/Sonarr/Sonarr/pull/222. I would appreciate having you test it and report any bugs.

Seems like I will need a linux server to test it. I’m running Sonarr on a Windows 7 workstation.

How about’s do I install this into my existing Sonarr?

It is not possible to plug it into an existing install. You would need to merge the patch into the Sonarr codebase, and compile it.

For testing purposes, you may try this build (which I am currently running; only supports Mono): https://github.com/larsjohnsen/Sonarr/releases/download/r6184/sonarr.zip

Compiling on mono makes it only work on mono?

How close are you to getting this accepted into the next build of Sonarr? I’m running Sonarr on my QNAP server, and I’m not familiar enough with the file structure to manually update Sonarr from a Zip file.

There are still a few things to fix in the PR:

Once they are fixed we’ll get it into develop.

Looking foward to this being implemented.

Branch develop now includes support for rTorrent.

I’m running the ruTorrent package on my Synology and can’t seem to get this to connect properly. I’ve tried the URL / basedir for my ruTorrent interface as well as the scgi_port in the .rtorrent.rc file with no luck. What am I missing here to get this to work?

I’m having the same problem as @PnoT.

I just installed rutorrent last night(great timing), and everything else seems to connect fine.

I tried these for baseurl;
rutorrent
rutorrent/plugins/rpc
rutorrent/plugins/httprpc (linking to actions.php in this folder works for Transdroid on android)

The error I’m getting is: “Unknown exception: Response from server does not contain valid XML.”

Is there something I’m missing?

Edit: seeing i may have missed a setting in my install. Looking into it. Edit2: nm, still doesn’t work.

@PnoT
@Sek0n

I have only used this implementation with Nginx as SCGI proxy.

My Sonarr rTorrent configuration:

  • Host: 127.0.0.1
  • Port: 8081
  • Url Base:
  • Use SSL: No
  • Username:
  • Password:

In my nginx.conf configuration:

   server {
      listen       8081;
      location / {
         include scgi_params;
         scgi_pass 127.0.0.1:5000;
      }
   }

In my .rtorrent.rc configuration

scgi_port = localhost:5000

Using ruTorrent as the proxy should also work, by using the RPC plugin. In that case, in Sonarr’s rTorrent configuration the setting “Url Base” should be plugins/rpc/rpc.php.

1 Like

I just found out what my problem was a second ago.

My conf/plugins.ini needed this:

[httprpc]
enabled = no

Thought I had it already, but it was a different variable. :slight_smile:

Edit: rutorrent/plugins/rpc/rpc.php worked also. Thanks!

I’m not sure what’s going on at this point I’ve tried everything in this thread and now I’m getting:

Unknown exception: Error getting response stream (ReadDone2): ReceiveFailure

name: ruTorrent
enable: yes
host: 127.0.0.1
port: 8050
url base: rutorrent/plugins/rpc/rcp.php
use ssl: no

My .rtorrent.rc
scgi_port = localhost:8050

I tried to modify both plugin.conf files:

/volume2/@appstore/rutorrent/share/rutorrent/conf/plugins.ini
/volume2/web/rutorrent/conf/plugins.ini

with

[httprpc]
enabled = no

@PnoT, is your rutorrent webui on port 80? If so, have you tried it? It’s what I have working atm.

Host: localhost
Port: 80
URL Base: rutorrent/plugins/rpc/rpc.php
SSL: no

I re-removed the httprpc no from my file.

With the httprpc option set to no, the default URL Base (RPC2) option worked.

derp da derp

I was thinking the port was the scgi_port entry… 80 does work smacks head

Thanks Sek0n

Np, Glad it helped :slight_smile:

I’ve tested rtorrent using the rpc and the httprpc plugins in ruTorrent and both have worked for me. Sonarr successfully added a torrent and imported it after completion, using each plugin. Note that you should only have one of these plugins installed at a time, never both.

The host and port settings are for your web server that is hosting rutorrent. So if it’s on the same box as Sonarr, this will usually work (depending on your web server setup): localhost and port 80.

The unique part for the plugins is the URL Base. For the RPC and HTTPRPC plugins respectively, use these paths (modified if you set up your rutorrent in a different web path):

/rutorrent/plugins/rpc/rpc.php

/rutorrent/plugins/httprpc/action.php