Opened 9 years ago

Last modified 7 years ago

#2751 assigned feature-request

pass LABEL on execute plugin

Reported by: jobrien2001 Owned by: Cas
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 Changed 8 years ago by JimboMonkey1234

  • Owner set to JimboMonkey1234
  • Status changed from new to assigned
  • Version changed from 1.3.11 to develop (git)

comment:2 Changed 8 years ago by Cas

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 Cas (previous) (diff)

comment:3 Changed 8 years ago by JimboMonkey1234

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 JimboMonkey1234 (previous) (diff)

comment:4 Changed 7 years ago by aerglkajhkme

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 Changed 7 years ago by JimboMonkey1234

  • Owner changed from JimboMonkey1234 to Cas

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

comment:6 Changed 7 years ago by jobrien2001

Is there an update on this?

Version 0, edited 7 years ago by jobrien2001 (next)
Note: See TracTickets for help on using tickets.