[rtorrent] Latest rtorrent introduces breaking changes in how ~/.rtorrent.rc works
Posted: 19 Feb 2017, 21:46
I realize this may be redundant for many as most people who are probably using rtorrent / rutorrent / filebot script post processing are likely using a paid seedbox, which in turn is likely using older versions of rtorrent, but I thought I'd toss this information on here since it's documented exactly nowhere.
The call for post process script documented on these forums is:
This will work fine for older versions of rtorrent that are being built from seedbox providers, however if your'e locally hosting your own, which I am, and have built from a newer source (GitHub) then the syntax for some events here are different. I believe the syntax changed with rtorrent .9*+ so if you're compiling from gitsource and have attempted to use the posted syntax you're going to have problems.
is now
other syntax changes follow the same logic here become
So with those changes it should be noted if you're going to echo to your .rtorrent.rc the correct input would be
I wasn't really sure where to post this, I just wanted it to be searchable on search engines so someone else who may stumble across this wouldn't spend hours debugging this simple issue. The real problem is that rtorrent is barely maintained, and the syntax changes are obscurely documented. The only way I was even able to find the changes was viewing source. Sorry if this is posted in the wrong place
edit: I also just realized the title says rutorrent and not rtorrent, if this thread stays could the title be changed please?
The call for post process script documented on these forums is:
Code: Select all
system.method.set_key=event.download.finished,filebot,"execute={'`pwd`/rtorrent-postprocess.sh',$d.get_base_path=,$d.get_name=,$d.get_custom1=
Code: Select all
system.method.set=key
Code: Select all
method.set_key
Code: Select all
$d.get_base_path=,$d.get_name=,$d.get_custom1
Code: Select all
$d.base_path=,$d.name=,$d.custom1
Code: Select all
echo 'method.set_key=event.download.finished,filebot,"execute={'`pwd`/rtorrent-postprocess.sh',$d.base_path=,$d.name=,$d.custom1=}"' >> ~/.rtorrent.rc
edit: I also just realized the title says rutorrent and not rtorrent, if this thread stays could the title be changed please?