mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-13 05:32:31 +00:00
* Added 'system.method.get', 'ui.current_view.set' and 'group.insert'
commands. * Enabled different ratio settings for different groups of downloads. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1079 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -119,7 +119,7 @@ apply_on_ratio(const torrent::Object& rawArgs) {
|
||||
std::vector<core::Download*> downloads;
|
||||
|
||||
for (core::View::iterator itr = (*viewItr)->begin_visible(), last = (*viewItr)->end_visible(); itr != last; itr++) {
|
||||
if (rpc::call_command_value("d.get_ignore_commands", rpc::make_target(*itr)) != 0)
|
||||
if (!(*itr)->is_seeding() || rpc::call_command_value("d.get_ignore_commands", rpc::make_target(*itr)) != 0)
|
||||
continue;
|
||||
|
||||
rpc::parse_command_single(rpc::make_target(*itr), "print={Checked ratio of download.}");
|
||||
|
||||
Reference in New Issue
Block a user