djcode / Kodi-rTorrent-Plugin

A XBMC plugin to view and control a rTorrent client.
http://wiki.github.com/djcode/XBMC-rTorrent-Plugin/
GNU General Public License v2.0
15 stars 10 forks source link

Failing to connect to rtorrent #9

Closed plug-it-in closed 3 years ago

plug-it-in commented 4 years ago

Raspberry 4 pi Buster Kodi 18.5 rtorrent 0.9.8

rtorrent config SCPI set as locathost:5000

Kodi log entries. Show python issues would really appreciate some help

2020-01-09 19:03:06.512 T:2606801104 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--

plug-it-in commented 4 years ago

Update : It appears in rtorrent d.multicall has changed so this maybe the source of the error. I have no idea how to fix your code all I know is this line is failing image

djcode commented 4 years ago

It looks like the old rtorrent API was finally removed in rtorrent 0.9.7. https://github.com/rakshasa/rtorrent/wiki/RPC-Migration-0.9 I'll see if I can get the code updated to support both APIs. It will involve changing every method call in the plugin unfortunately. https://github.com/rakshasa/rtorrent/wiki/rTorrent-0.9-Comprehensive-Command-list-%28WIP%29

plug-it-in commented 4 years ago

Its such a great idea would really appreciate this working , and thanks for all your effort

djcode commented 4 years ago

So someone did submit a PR to fix this back in 2016, but I remember at the time the diff was hard to read and I always meant to come back to it. https://github.com/djcode/XBMC-rTorrent-Plugin/pull/8 You might be able to use this codebase to get it working while I still work on an official release.

plug-it-in commented 4 years ago

Hi I cloned the wallys repository and directly replaced code in the /.kodi/addons/plugin.program.rtorrent and it works seemingly fine

plug-it-in commented 4 years ago

Doesnt work 100% deleting a torrent crashed rtorrent

djcode commented 3 years ago

Merged #8 This problem should be resolved.