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

RSS Downloader, nested rules. #21934

Open
Wolfie713 opened this issue Dec 2, 2024 · 0 comments
Open

RSS Downloader, nested rules. #21934

Wolfie713 opened this issue Dec 2, 2024 · 0 comments
Labels
Feature request RSS RSS-related issues/changes

Comments

@Wolfie713
Copy link

Suggestion

Sort of like nested categories, except limit it to 2 or 3 deep (ie, main and secondary (2 deep) or a third level max).

Benefit would be multiple "Must (Not) Contain" filters either when one isn't enough (or would be very complex to do singularly), or when needing similar filters for multiple rules that have minor differences in them being applied to different feeds.

Of course, in order for the nested rules to work, the root rule must be active. The top level rule would be a regular rule, treated normally, with the nest rules being independent beyond the "Must (Not) Contain" matches. (Nested rules can use feeds independent of the top level rule, for example.)

Use case

A site I use will sometimes have a bunch of older episodes of shows with many seasons being added to the feed. To prevent downloading those older episodes, I include as part of the "NOT" matching the name of the show and some regex to catch those older seasons. I also like to match multiple different criteria for what to accept and want to control which category each goes to. As it is now, have to copy/paste the matching (or excluding) information to each rule. But nesting it would allow one rule to do it all, with sub rules only needing to match what comes through.

Extra info/examples/attachments

Primary:
INC: (1080p|2160p)
EXC: Show Name s[01]/de\d\d

Secondary-1:
INC: (HEVC|[hx]265)
CAT: 265

Secondary-2:
INC: x264
CAT: 264
@thalieht thalieht added the RSS RSS-related issues/changes label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request RSS RSS-related issues/changes
Projects
None yet
Development

No branches or pull requests

2 participants