Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run external program on torrent METADATA received #18156

Open
KayLeung opened this issue Dec 5, 2022 · 3 comments
Open

Run external program on torrent METADATA received #18156

KayLeung opened this issue Dec 5, 2022 · 3 comments
Labels
Feature request Triggers Procedures activated when state changes occur (i.e. torrent completes)

Comments

@KayLeung
Copy link

KayLeung commented Dec 5, 2022

Suggestion

On v4.5 has added a feature on torrent added but which is only useful for .torrent files. For magnet links, before METADATA received we have not enough info to make decisions.

Use case

set Torrent Stop Condition to "Metadata received".
when "Metadata received" is true, run an external program to unselect useless files and then start the downloads.

Extra info/examples/attachments

No response

@thalieht
Copy link
Contributor

thalieht commented Dec 5, 2022

run an external program to unselect useless files and then start the downloads.

v4.5.0 changelog:
FEATURE: Add file name filter/blacklist

@KayLeung
Copy link
Author

KayLeung commented Dec 5, 2022

run an external program to unselect useless files and then start the downloads.

v4.5.0 changelog:
FEATURE: Add file name filter/blacklist

@thalieht
Ahh Cool. Thanks for the reminder.

I have an external script to filter the files now. Based on my experience, a simple filename filter does not enough.

e.g. my script has a rule to make decisions based on file sizes

@KayLeung KayLeung changed the title Run external program on torrent METEDATA received Run external program on torrent METADATA received Dec 8, 2022
@luzpaz
Copy link
Contributor

luzpaz commented Jun 11, 2023

Related to #18457

@luzpaz luzpaz added the Triggers Procedures activated when state changes occur (i.e. torrent completes) label Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request Triggers Procedures activated when state changes occur (i.e. torrent completes)
Projects
None yet
Development

No branches or pull requests

3 participants