[Plugin] resume v0.1

Suggest, post, or discuss plugins for Deluge
Post Reply
mhertz
Moderator
Moderator
Posts: 2182
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

[Plugin] resume v0.1

Post by mhertz »

Probably not very useful for most, but anyway here's a plugin I made which on every deluge startup(deluged, or standalone), checks torrents for paused or error state, and paused items gets resumed and error'ed items gets force_recheck'ed and resumed a sec later, as needed to begin downloading again in my tests.

I tested by adding two torrents and mid-download pausing one of them, quiting deluge, deleting the content from the other and upon next startup both got resumed when having plugin enabled, instead of both stalled without.

This was made as help and practise, from a recent PM correspondence where such usecase brought up, as having deluged crashing issues and upon automatic restart(from NSSM service or task-scheduler with custom script), then sometimes torrents stalled in pause or error state at startup, needing manual intervention of resume/force-recheck, which this plugin eliminates need of.

resume-0.1.egg

(deluge2 plugin, not tested if works on deluge1)
Post Reply