I try to access an rtorrent client on a seedbox over httprpc. I use the rarbg indexer, which correctly identifies episodes for my series. They use magnet files which rtorrent should be able to handle. I also have kat indexer which uses torrent files and they work as expected - found, added, started etc. But for the rarbg magnets I get the following debug logs:
And of course it is never added in the rtorrent client. The funny thing is that when I copy pasted the magnet part in the rtorrent web ui, it was correctly added. Any ideas what is happening here?
Looking around source codes from Sonarr and httprpc plugin , I found that the later doesn’t include a d.name method. Only a d.get_name is specified. Could that be the issue sonarr fails to retrieve the name associated with the hash?
OK, interesting! I asked my seedbox provider to give me info regarding their rtorrent installation. I am waiting for their reponse. The ruttorrent and httprpc installations are of version 3.6, one before the latest. What is also interesting is that the link I posted, is for the latest httprpc plugin code and there, they only support the d.get_name command. Am I wrong? Does this mean they also need to update their code? Is there a way for Sonarr to determine the version of rtorrent client and use the correct method name? Or is my only way to use magnet files with rtorrent to utilize a blackhole?
I spoke too soon … The correct method is used and not the old one. I am still checking the 3 projects’ source code to determine what is going wrong and magnet is not added from xmlrpc, but the same magent URI is correctly added by rutorrrent’s UI.
It looks like the issue was with the implementation of rTorrent xml-rpc communication in Sonarr, at least through the ruTorrent’s httprpc plugin. I have made a pull request, that fixes this. Let me know what you thing of it, thanks!