mimtek / rutorrent

Automatically exported from code.google.com/p/rutorrent
0 stars 0 forks source link

Configuration throttle plugin in rtorrent.conf #189

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. в файле conf.php плагина установлено $isAutoStart = 
false
2. в rtorrent.conf прописано:
throttle_up = thr_0,55
throttle_down = thr_0,77
throttle_up = thr_1,32
throttle_down = thr_1,0
throttle_up = thr_2,64
throttle_down = thr_2,0
throttle_up = thr_3,128
throttle_down = thr_3,0
throttle_up = thr_4,256
throttle_down = thr_4,0
throttle_up = thr_5,0
throttle_down = thr_5,16
throttle_up = thr_6,0
throttle_down = thr_6,32
throttle_up = thr_7,0
throttle_down = thr_7,64
throttle_up = thr_8,0
throttle_down = thr_8,128
throttle_up = thr_9,0
throttle_down = thr_9,256

What is the expected output? What do you see instead?
Ожидаю, что настройки throttle прописанные в 
rtorrent.conf появятся в web.
Но в web появляется только значения для 
канала thr_0. При этом имя каналу
назначается up16, а не thr_0, что было бы удобнее 
в данном случае.

What version of the product are you using? On what operating system?
установлен rTorrent 0.8.5-1, rutorrent 2.8, throttle plugin 1.3.
роутер WL500gP

Are some errors present in the web-server log?

Are some errors present in the browser console?

Please provide any additional information below.

Original issue reported on code.google.com by KBacB...@gmail.com on 27 Nov 2009 at 1:09

GoogleCodeExporter commented 9 years ago
Поправил.

>При этом имя каналу назначается up16, а не 
thr_0, что было бы удобнее в данном случае.

Имя канала в rtorrent.conf задать нельзя. Меняйте 
на интерфейсе.

Original comment by novik65 on 27 Nov 2009 at 1:32

GoogleCodeExporter commented 9 years ago
1. нельзя задать и фиг с ним. но канал со 
скоростью up=XXX down=YYY будет называться
up16. Логичнее было бы сохранить имя канала 
таким, какой Вы читаете из конфига. Из
конфига Вы читаете "thr_".$i - ну и оставьте эти 
имена (thr_0, thr_1 и т.д.)
2. Плагину задано максимальное количество 
каналов 10, они все прописаны, но в вебе
отображается ТОЛЬКО самый первый. 
Остальных нет.

Original comment by KBacB...@gmail.com on 27 Nov 2009 at 1:37

GoogleCodeExporter commented 9 years ago
1) Еще раз. *Имя канала* из конфига не 
читается. Нет его там. thr_0 - это не имя канала.
2) Ну Вы билетик то купите. В смысле, 
изменения то заберите с svn. r538

Original comment by novik65 on 27 Nov 2009 at 1:52

GoogleCodeExporter commented 9 years ago
1) я прекрасно знаю, что имени канала в 
конфиге нет. но его можно было бы 
формировать
более соответствующим настройкам самого 
канала. это всего лишь пожелание. не хотите
развивать/улучшать плагин - не надо. ;)
2) :))

Original comment by KBacB...@gmail.com on 27 Nov 2009 at 2:19

GoogleCodeExporter commented 9 years ago
1) В данном случае это неудобно по 
техническим причинам. Основной режим 
работы -
автоматический, для него имена и 
формируются.

Original comment by novik65 on 27 Nov 2009 at 2:36

GoogleCodeExporter commented 9 years ago
Вы писали, что если использовать настройки 
из rtorrent.conf, то настройки веба
сохранятся не будут. Это к именам тоже 
относится? Смогу я имена в вебе поменять, а
потом их использовать?

Original comment by KBacB...@gmail.com on 27 Nov 2009 at 2:42

GoogleCodeExporter commented 9 years ago
В отличие от прочих настроек - да.

Original comment by novik65 on 27 Nov 2009 at 2:58

GoogleCodeExporter commented 9 years ago
Тогда вопрос закрыт. "Билетик" заработал ;)
Спасибо

Original comment by KBacB...@gmail.com on 27 Nov 2009 at 3:00

GoogleCodeExporter commented 9 years ago

Original comment by novik65 on 27 Nov 2009 at 4:03