Ratio-Plugin Description needed

somus1735

Member
May 25, 2018
833
0
16
Hi,

great to have a forum for the best rtorrent Interface smiley.gif Thanks smiley.gif

needed a short description for the ratio plugin (variables defined in rtorrent, changes neccessary in plugin files.

can't get this plugin to run sad.gif

Thanks
 

dsouvik215

Member
May 25, 2018
896
0
16
I'm fairly sure ratio only works with rtorrent-devel (0.8.5) or svn

i could be wrong....anyways, i don't think the plugin requires any configuration to the actual FILES.

I think you just need to set your ratio groups in "settings"

min, max, size
so if you set 200% min 300% max 50 Mb
it will stop a torrent once it has uploaded 200% of the torrent size, unless less than 50MB has been uploaded and the ratio is below 300%.

i may be wrong though.
 

jith45

Member
May 25, 2018
960
0
16
which os are you using?

if you're using freebsd just do this:
Code:
cd /usr/ports/net-p2p/rtorrent/ && make deinstall
cd /usr/ports/net-p2p/rtorrent-devel && make install clean
if you are using linux or solaris remove rtorrent then do this:

Code:
svn co svn://rakshasa.no/libtorrent/trunk
cd libtorrent/
./autogen.sh
./configure
make
make install
cd ../rtorrent
./autogen.sh
./configure --with-xmlrpc-c
make
make install
 

somus1735

Member
May 25, 2018
833
0
16
sorry to bring this up again...

I am using the latest official 0.8.6 build on a CentOS 5.4. This one does support ratios as I read in the rtorrent original site. They said that even 0.8.4 does support ratios... Am I missing something here?!
 

shwetha17

Member
May 24, 2018
785
0
16
0.8.4 didn't support ratios in the same way as the later versions.

0.8.6 uses the same ratio system as 0.8.5 so, yes, it does support them. Rutorrent's ratio plugin requires rtorrent 0.8.5 or later.
 

dsouvik215

Member
May 25, 2018
896
0
16
In that case that condition in the init.php should be changed, am i right?! because in its current state it produces this error "[24.12.2009 07:17:27] Ratio plugin: this version of rTorrent does't support ratio. Plugin will not work."
 

das329717

Member
May 25, 2018
928
0
16
I use 0.8.6, and plugin ratio is worked correctly. If it doesn't worked in your system - write report about this error to project's issues section.
 

jith45

Member
May 25, 2018
960
0
16
also, which version of rutorrent are you using? if i remember right one of the FIRST versions which had ratio had this problem, and it was fixed in the next version.

ALSO, i think this error can sometimes pop up if you don't have the php and curl binaries set in your rutorrent/config.php
 

dsouvik215

Member
May 25, 2018
896
0
16
so, were you saying that you are already using svn but are still having this problem? or did you say that the latest svn solved this problem for you?
 

shwetha17

Member
May 24, 2018
785
0
16
are you sure you built it with that version? the reason i ask is i've seen a few systems where people had an svn version of xmlrpc-c but they also had an older version in the base system.

When they built rtorrent, they didn't specify the path for the newer version, which caused it to build with the older version, and they had assorted issues related. It took awhile to track this error down but i've seen it on at LEAST 4 systems. mostly debian based.
 

somus1735

Member
May 25, 2018
833
0
16
thnx for your response...

./configure LIBCURL_CFLAGS=/usr/local/include/curl LIBCURL_LIBS=/usr/local/lib --with-xmlrpc-c=/usr/local/bin/xmlrpc-c-config

^^ This is how I configured rtorrent since I have new curl and xmlrpc-c under /usr/local
 

jith45

Member
May 25, 2018
960
0
16
Hi,

just to let you know that I switched to Debian from CentOS...and I dont regret it smiley.gif things are looking great....!
 

das329717

Member
May 25, 2018
928
0
16
I spoke too soon!

[27.12.2009 06:30:48] Ratio plugin: this version of rTorrent does't support ratio. Plugin will not work.

rtorrent 0.8.6 (built from source)

rutorrent svn

xmlrpc-c-config --version
1.20.3