I've been using FlexGet a lot recently and when there are a lot of torrents whose availability is not always reliable, it's a pain to manage the queue to keep track of what should be downloading and what should be downloading later. So, I wrote this plugin to help manage that. At this time, there is no UI to configure it! I will work on this once the main plugin has stabilized.
What it does
There are several settings in the prioritize.conf file that you will have to tweak manually (while Deluge is not running).
The enable_trackers is a boolean to turn on/off the use of the priority_trackers list. By adding the host name of the tracker(s) to the list, it will automatically move the torrent to the top of the queue only if it matches one of those trackers. Yes, Deluge already has an option to move added torrents to the top. However, it does it for all added torrents and I needed it to only move it from trackers I know are fast and reliable.
The enable_max_requeue option is a boolean to turn on/off the use of re-queuing torrents which no longer have seeds after a specified amount of time. Use the max_requeue_count to determine how many times it is allowed to be re-queued before the torrent is paused and use max_zombie_timeout to determine the amount of seconds that a torrent must not have seeders before it will be moved to the bottom of the queue.
Since this is a first release and not release-ready, use the warning option for logging to see its output.
How it works
1) If the torrent uses a tracker specified in priority_trackers, queue to top.
1) If the torrent is not downloading, skip it.
2) If the torrent has reached the max_zombie_timeout period, queue to bottom.
3) If the torrent has reached the max_requeue_count number, pause the torrent.
Hopefully someone else finds this useful.
Code: Select all
Download Prioritize, Python 2.7
Current Version: 0.5
- Fixed issue with infinitely re-prioritizing queued items when using trackers.
- Sorry, still no UI for Glade yet.
- Known issue: When restarting Deluge, you might have to disable/re-enable the plugin a couple of times. Not sure why this is happening yet, but I think I have an idea.
- Hotfixed an issue with not prioritizing.
- Earlier 0.4 did not work correctly, try downloading again.
- Added UI for all available options.
- Added rudimentary UI to manage priority trackers and some settings. Still need to fix layout and add a couple more options.
- Added exception handling so as not to kill the update timer.