[Plugin] MyScheduler (Forced Starting)
Posted: Sat Aug 28, 2010 5:20 am
Hi,
I switched to deluge as it was the only torrent program i could find with a headless backend that could run a linux & windows frontend and its been great. I live in Australia and therefore need the scheduler as we have peak and off-peak quotas (so you download in the middle of the night) and the key lacking feature has been not having the "Force Start" to override the scheduler. It meant i had to explain to the girlfriend how to disable it in preferences and reset all the times when she reenabled it, wish just doesn't work.
Anyway, i found the time to remedy the situation and thought i would share as i know its been a long held gripe with deluge.
This is a modification of the original scheduler plugin (I've only added < a hundred lines) as i am fine with per hour granularity etc and hate writing guis.
It is not exhaustively tested, but i've been using it and it seems to work.
Because scheduler is a core plugin everything has been named MyScheduler to avoid overwriting the original if anything goes wrong, i wouldn't suggest running them simultaneously, but if you're careful with the timings it might work (defined periods where you can't force start even if you want to).
The only known issue i've seen is that for some reason occasionally (particularly directly after you start deluge-ui) the force start menu item is incorrectly un-ticked. I think it is because the menu pop-up happens faster than the rpc from client to backend and thus may be alleviated by having the menu show in the ui callback but its not something i've noticed enough to chase down.
Enjoy, and i hope this or something similar makes it into scheduler soon.
Jamie
PS. I changed author in setup.py but not the copyright statements. I'm not trying to claim ownership or step on any toes and have no concerns with it being changed back.
Latest Version: MyScheduler-0.2.2-py2.6.egg
I switched to deluge as it was the only torrent program i could find with a headless backend that could run a linux & windows frontend and its been great. I live in Australia and therefore need the scheduler as we have peak and off-peak quotas (so you download in the middle of the night) and the key lacking feature has been not having the "Force Start" to override the scheduler. It meant i had to explain to the girlfriend how to disable it in preferences and reset all the times when she reenabled it, wish just doesn't work.
Anyway, i found the time to remedy the situation and thought i would share as i know its been a long held gripe with deluge.
This is a modification of the original scheduler plugin (I've only added < a hundred lines) as i am fine with per hour granularity etc and hate writing guis.
It is not exhaustively tested, but i've been using it and it seems to work.
Because scheduler is a core plugin everything has been named MyScheduler to avoid overwriting the original if anything goes wrong, i wouldn't suggest running them simultaneously, but if you're careful with the timings it might work (defined periods where you can't force start even if you want to).
The only known issue i've seen is that for some reason occasionally (particularly directly after you start deluge-ui) the force start menu item is incorrectly un-ticked. I think it is because the menu pop-up happens faster than the rpc from client to backend and thus may be alleviated by having the menu show in the ui callback but its not something i've noticed enough to chase down.
Enjoy, and i hope this or something similar makes it into scheduler soon.
Jamie
PS. I changed author in setup.py but not the copyright statements. I'm not trying to claim ownership or step on any toes and have no concerns with it being changed back.
Latest Version: MyScheduler-0.2.2-py2.6.egg