Opened 9 years ago

Last modified 7 years ago

#2751 assigned feature-request

pass LABEL on execute plugin

Reported by: jobrien2001 Owned by: Calum
Priority: minor Milestone: Future
Component: Plugin Version: develop
Keywords: execute label Cc:

Description

I think the function responsible for this is get_torrent_status()

It would be great to be able to execute different commands based on the label of the torrents

Change History (6)

comment:1 by David Torosyan, 9 years ago

Owner: set to David Torosyan
Status: newassigned
Version: 1.3.11develop (git)

comment:2 by Calum, 8 years ago

I know this would be useful but I would rather see a list of all available torrent status options for the user to select from, rather than being hardcoded.

This was something I had started working on and can push to a PR when I get a moment.

Just to note that your PR doesn't seem to account for the label plugin being disabled.

Last edited 8 years ago by Calum (previous) (diff)

comment:3 by David Torosyan, 8 years ago

That would be more useful, but quite a bit more work to implement. If you don't get around to it I think just including labels would cover most of the use cases. Plus, including this change now wouldn't preclude updating it in the future.

Also, I think my code accounts for that. If "label" isn't found, get_status just won't return anything, and the plugin uses "get" instead of "[]", using "" for a default value.

Last edited 8 years ago by David Torosyan (previous) (diff)

comment:4 by aerglkajhkme, 8 years ago

20 months later, any progress on this? As a regular user, I have no idea about python, but this feature would be very useful for me even if it only included labels.

comment:5 by David Torosyan, 8 years ago

Owner: changed from David Torosyan to Calum

Don't know, they didn't take my change. Assigning to Cas for update.

comment:6 by jobrien2001, 7 years ago

Is there an update on this?

Cas did say "Just to note that your PR doesn't seem to account for the label plugin being disabled."

Maybe that is the issue?

Last edited 7 years ago by jobrien2001 (previous) (diff)
Note: See TracTickets for help on using tickets.