Execute Plugin

Suggest, post, or discuss plugins for Deluge
AlxAlxV
Member
Member
Posts: 19
Joined: Tue Nov 12, 2013 12:36 pm
OS or Distro: Raspbian

Execute Plugin

Postby AlxAlxV » Tue Nov 12, 2013 12:50 pm

Hi,

I've a question about the Execute Plugin.
When the "Completed" Event is really launched ?

When a torrent get 100% ?
or when the client finished to move the torrent to the completed destination folder ?

It's very important for me because I want to autosort my completed torrent but to avoir error, the torrent need to be fully copied.

Thanks ! :D

Cas
Top Bloke
Top Bloke
Posts: 3557
Joined: Mon Dec 07, 2009 6:04 am
OS or Distro: Ubuntu 16.04
Location: Scotland

Re: Execute Plugin

Postby Cas » Tue Nov 12, 2013 12:58 pm

For 1.3 it's the former, the problem you describe should be solved in next version.

AlxAlxV
Member
Member
Posts: 19
Joined: Tue Nov 12, 2013 12:36 pm
OS or Distro: Raspbian

Re: Execute Plugin

Postby AlxAlxV » Tue Nov 12, 2013 7:54 pm

So when the event is raised ?

Cas
Top Bloke
Top Bloke
Posts: 3557
Joined: Mon Dec 07, 2009 6:04 am
OS or Distro: Ubuntu 16.04
Location: Scotland

Re: Execute Plugin

Postby Cas » Tue Nov 12, 2013 10:59 pm

"When a torrent get 100%"

AlxAlxV
Member
Member
Posts: 19
Joined: Tue Nov 12, 2013 12:36 pm
OS or Distro: Raspbian

Re: Execute Plugin

Postby AlxAlxV » Tue Nov 12, 2013 11:16 pm

Ok. Thanks.
How Can I execute the script after the copy in the completed folder?
Coz my copy script failed when the move take time...

Thx

Cas
Top Bloke
Top Bloke
Posts: 3557
Joined: Mon Dec 07, 2009 6:04 am
OS or Distro: Ubuntu 16.04
Location: Scotland

Re: Execute Plugin

Postby Cas » Thu Nov 14, 2013 8:42 am

You could maybe check whether the same file/folder exists in your download location vs the move location

AlxAlxV
Member
Member
Posts: 19
Joined: Tue Nov 12, 2013 12:36 pm
OS or Distro: Raspbian

Re: Execute Plugin

Postby AlxAlxV » Thu Nov 14, 2013 12:44 pm

Ok but if the file is on both side ?
I wait & retry ? In a while statement maybe.

Is there a new feature planned to add "On file destination move completed" ?

Cas
Top Bloke
Top Bloke
Posts: 3557
Joined: Mon Dec 07, 2009 6:04 am
OS or Distro: Ubuntu 16.04
Location: Scotland

Re: Execute Plugin

Postby Cas » Thu Nov 14, 2013 7:22 pm

libtorrent has the storage_moved_alert but we need to implement it and will be covered in this ticket: http://dev.deluge-torrent.org/ticket/637

AlxAlxV
Member
Member
Posts: 19
Joined: Tue Nov 12, 2013 12:36 pm
OS or Distro: Raspbian

Re: Execute Plugin

Postby AlxAlxV » Thu Oct 23, 2014 9:00 am

Thank Cas,

I seen that this point is Fixed.
So is a new event available now for the Execute plugin ?

Cas
Top Bloke
Top Bloke
Posts: 3557
Joined: Mon Dec 07, 2009 6:04 am
OS or Distro: Ubuntu 16.04
Location: Scotland

Re: Execute Plugin

Postby Cas » Mon Oct 27, 2014 4:41 pm

It will be in the next major release.


Return to “Plugins”

Who is online

Users browsing this forum: No registered users and 4 guests