mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-17 23:52:30 +00:00
* Added the framework for a download scheduler.
* Added "state_changed" variable to downloads that returns the last time the download called DownloadList::pause/resume. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@674 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -166,6 +166,13 @@ main(int argc, char** argv) {
|
||||
control->variable()->process_command("view_sort_new = main,name");
|
||||
control->variable()->process_command("view_sort_current = main,name");
|
||||
|
||||
// Changing these will bork the scheduler.
|
||||
control->variable()->process_command("view_add = scheduler");
|
||||
control->variable()->process_command("view_sort_new = scheduler,state_changed"); // add started?
|
||||
control->variable()->process_command("view_sort_current = scheduler,state_changed");
|
||||
|
||||
// control->variable()->process_command("schedule = scheduler,10,10,download_scheduler=");
|
||||
|
||||
// Move env and go through "try_import".
|
||||
// if (!control->variable()->process_file("~/.rtorrent.rc"))
|
||||
// control->core()->get_log_important().push_front("Could not load \"~/.rtorrent.rc\".");
|
||||
|
||||
Reference in New Issue
Block a user