Advance automatically added torrents file filter #23545
Open
+812
−2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
#2418
How to Enable
Options → Downloads → "Advanced filtering mode"
Configure:
Functionality Added
Files Changed
Backend (Core Logic)
Desktop GUI
Web UI
Web API
API Changes
Web API Preferences Endpoints
advanced_filter_enabled(boolean): Enable/disable the featureadvanced_filter_target_tag(string): Tag name for targeted filtering (optional)advanced_filter_min_file_size(integer): Minimum file size (optional)advanced_filter_max_file_size(integer): Maximum file size (optional)advanced_filter_whitelist_patterns(string): whitelist regex patterns (optional)advanced_filter_blacklist_patterns(string): blacklist regex patterns (optional)Backward Compatibility
Perhaps my code wasn’t quite “maintainer material” 🌱—no worries! It’s been a solid month since the PR, so I’ve rolled my own little sh script (curl + jq, webapi-based) for personal use.
I trimmed a few bits for my own needs (no new features—the PR remains the “full edition”), but it’s easy to tweak if anyone’s interested. Both the PR and this script have clocked 100+ hours on Windows/Linux without a hiccup (that my humble skills could spot, anyway).
Script below
Run: Options-Run external program on torrent added-
/path/to/.sh "%K"