[Plugin] MyScheduler v0.3.6 (Forced Start)

Suggest, post, or discuss plugins for Deluge
h3llrais3r
Member
Member
Posts: 23
Joined: Sat Aug 22, 2015 10:42 am
OS or Distro: Windows

[Plugin] MyScheduler v0.3.6 (Forced Start)

Postby h3llrais3r » Tue Jun 07, 2016 5:35 pm

Modified deluge scheduler plugin with 'force start' support.
Since the original owner has transfered the repo to me and I've updated the plugin for the latest Deluge 1.3.12 (and 1.3.13) version, I've created a new topic.
This is a continuation of the original plugin which can be found at http://forum.deluge-torrent.org/viewtopic.php?f=9&t=33053

From now one, I'll use this thread and you can find the latest version of the plugin in this opening post.
Hope you enjoy it.

Plugin source link: https://github.com/h3llrais3r/deluge-myscheduler

Plugin egg for deluge 1.3.12:

MyScheduler-0.3.0-py2.7.egg
(29.83 KiB) Downloaded 870 times
(also has broken gtk ui, but webui works)

Plugin egg for deluge 1.3.13:

MyScheduler-0.3.1-py2.7.egg (deprecated, broken gtk ui, but webui works)

MyScheduler-0.3.2-py2.7.egg(deprecated, webui layout broken)

MyScheduler-0.3.3-py2.7.egg(deprecated, use never version)

MyScheduler-0.3.4-py2.7.egg(deprecated, use never version)

MyScheduler-0.3.5-py2.7.egg
(30.37 KiB) Downloaded 224 times
(Updated version with webui and gtkui forced start flag at right location in right click menu)

MyScheduler-0.3.6-py2.7.egg
(31 KiB) Downloaded 526 times
(Updated version with webui forced start flag in torrent options tab)
Last edited by h3llrais3r on Mon Jan 30, 2017 7:08 pm, edited 23 times in total.

mastafrooper
New User
New User
Posts: 1
Joined: Wed Jul 27, 2016 9:00 am
OS or Distro: Windows 10

Re: [Plugin] MyScheduler v0.3.0 (Forced Start)

Postby mastafrooper » Wed Jul 27, 2016 9:03 am

As of updating the Deluge 1.3.13 the force start option seems to be broken. The scheduling part works correctly it would seem but when you tell a torrent to be forced it stays paused during the off schedule.

Have confirmed this on two separate Deluge install on two different machines.

Both are Windows 10 Pro x64 though.

h3llrais3r
Member
Member
Posts: 23
Joined: Sat Aug 22, 2015 10:42 am
OS or Distro: Windows

Re: [Plugin] MyScheduler v0.3.0 (Forced Start)

Postby h3llrais3r » Thu Jul 28, 2016 1:59 pm

Plugin is created for deluge 1.3.12, so I would advise to use this version.
I see in the changelog of version 1.3.13 that there were some changes in the core and the scheduler plugin that could cause the problem.
I'm currently running the 1.3.12 version and I'll have a look at it when I have a bit more time.

h3llrais3r
Member
Member
Posts: 23
Joined: Sat Aug 22, 2015 10:42 am
OS or Distro: Windows

Re: [Plugin] MyScheduler v0.3.1 (Forced Start)

Postby h3llrais3r » Tue Aug 02, 2016 12:56 pm

New version 0.3.1 release for deluge 1.3.13

Wezz
New User
New User
Posts: 7
Joined: Fri May 15, 2015 2:54 pm
OS or Distro: WHS 2011, Win 10

Re: [Plugin] MyScheduler v0.3.1 (Forced Start)

Postby Wezz » Mon Aug 22, 2016 5:45 pm

I can't get the client to read the MyScheduler settings. I'm using 0.3.1 with 1.3.13. I have the plugin in appdata plugins folder on both the client and the server. I deleted the older version of MyScheduler at both locations.

I was wondering if this was any permission problem but since I can change deluge settings on the client remotely, without a problem and MyScheduler worked fine before I updated, then it may not be the case.

Could there be any leftover settings I still need to delete, for it to work properly?

h3llrais3r
Member
Member
Posts: 23
Joined: Sat Aug 22, 2015 10:42 am
OS or Distro: Windows

Re: [Plugin] MyScheduler v0.3.1 (Forced Start)

Postby h3llrais3r » Wed Aug 24, 2016 8:15 pm

I did not test an upgrade. I started with a clean install and it was working.
Did you update both client and server to the latest version?
Perhaps you can try:
- stop client and server
- delete old myscheduler plugin egg in config plugin folders
- delete all the myscheduler config (myscheduler.conf and myschedulerstates.conf) files
- copy new myscheduler plugin egg in the config plugin folders
- restart server and client

Can you access your settings directly on your server?

Wezz
New User
New User
Posts: 7
Joined: Fri May 15, 2015 2:54 pm
OS or Distro: WHS 2011, Win 10

Re: [Plugin] MyScheduler v0.3.1 (Forced Start)

Postby Wezz » Sat Aug 27, 2016 6:08 am

Yup, both client and server were updated to latest Deluge version and MyScheduler also. I deleted the old plugin eggs from both machines, when I updated.
I only found the myscheduler.conf and myschedulerstates.conf files on the server in AppData\Roaming\Deluge. Not in the client, but maybe that's normal. What I also found out is that there's double of files in the Roaming\Deluge folder on the server.
myscheduler.conf
myscheduler.conf~
myschedulerstates.conf
myschedulerstates.conf~

These also have double files

core.conf
core.conf~
gtkui.conf
gtku.... (not gonna write all the copies, but they all have the same name with an added ~ )
hostlist.conf.1.2
label.conf
labelplus.conf
labelplus_ui.conf
scheduler.conf
web.conf
web_plugin.conf


Maybe these are some kind of temp files the client writes to before the server implements the settings changes.

Most of those files are modified the same time and date as their copy but not all of them.
On the client only gtkui.conf, hostlist.conf.1.2, and labelplus_ui.conf had copies. But since labelplus is another plugin then it's strange that myscheduler doesn't even have one single config file on the client.


I use remote desktop so I can edit deluge settings using that. If that was what you meant?


I deleted the my scheduler settings with both client and server closed down.
-restarted the server
-edited the MyScheduler setting using RDP
-started the client deluge but couldn't see any changes there

Can try to deleted the .egg also, and do the same, but since they both have the newest version then I don't see how that could help.

h3llrais3r
Member
Member
Posts: 23
Joined: Sat Aug 22, 2015 10:42 am
OS or Distro: Windows

Re: [Plugin] MyScheduler v0.3.1 (Forced Start)

Postby h3llrais3r » Mon Aug 29, 2016 6:14 pm

Wezz wrote:I use remote desktop so I can edit deluge settings using that. If that was what you meant?


No that's not what I mean, but I think I know what could be the problem.
If you apply the deluge settings with remote desktop, it applies the config to the user (AppData\Roaming\Deluge) that is logged in via RDP.
So if you are using a separate client to connect to, I think it will never see those changes.

What I advise is to do the following (I'm working like this without any problems):
  • setup the daemon on your server (use -c <configlocation> startup parameter to use a custom config location to prevent it from being saved in the user appdata folder)
  • setup the webui on your server (use -c <configlocation> startup parameter to use a custom config location to prevent it from being saved in the user appdata folder)

I've setup both as a windows service that start at startup of my machine.
Once started, I can easily access my server (and config) via the webui.

More info can be found here: http://dev.deluge-torrent.org/wiki/UserGuide/ThinClient

EDIT: it seems that the plugin settings only work with the webui. I need to investigate why the gtk version is not working.

h3llrais3r
Member
Member
Posts: 23
Joined: Sat Aug 22, 2015 10:42 am
OS or Distro: Windows

Re: [Plugin] MyScheduler v0.3.1 (Forced Start)

Postby h3llrais3r » Mon Aug 29, 2016 8:07 pm

Ok, fixed gtk ui and added forced settings to webui.
New release 0.3.2 0.3.3 can be found in opening post for deluge 1.3.13 ;)
Please give me your feedback if it's working for you.

Ansem
Member
Member
Posts: 27
Joined: Sat Aug 06, 2016 7:14 pm
OS or Distro: Windows

Re: [Plugin] MyScheduler v0.3.3 (Forced Start)

Postby Ansem » Wed Aug 31, 2016 5:27 pm

I love the scheduler plugin, but can you please add a way to pause it for X hours? or at least disable it?
It seems that if you simply disable the scheduler from the plug-in tab, it won't restore the original limitaion


Return to “Plugins”

Who is online

Users browsing this forum: No registered users and 11 guests