qbittorrent / qBittorrent

qBittorrent BitTorrent client
https://www.qbittorrent.org
Other
28.03k stars 3.95k forks source link

Run external program on torrent METADATA received #18156

Open KayLeung opened 1 year ago

KayLeung commented 1 year ago

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 commented 1 year ago

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

v4.5.0 changelog:
FEATURE: Add file name filter/blacklist
KayLeung commented 1 year ago

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

luzpaz commented 1 year ago

Related to #18457