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

Support regex in quick filters #969

Closed
unai-ndz opened this issue Sep 12, 2024 · 0 comments
Closed

Support regex in quick filters #969

unai-ndz opened this issue Sep 12, 2024 · 0 comments

Comments

@unai-ndz
Copy link

What do you want to happen?

I want to create a quick filter to filter out single episodes.

I tried several versions of this to see if something worked but I assume quick filters do not support regex.
SEASONS=/(season)|(S[0-9][0-9][^E])/

If not clear, why do you want it?

The only pattern to detect if a release contains an episode seems to be: S02E06 and filtering the E is not viable thus the need for the regex.
Using season or complete can work but misses some releases not named like that.
Using the season field in the top indexer search misses compilations like S01-S03. Plus when downloading an entire series I find it quicker to search for all the seasons once and then filter those results than to search all indexers for season 1 first, then season 2, etc.

I have been testing /(season)|(S[0-9][0-9][^E])/ as a normal filter and it works but typing/copying every time kinda defeats the purpose

Alternatives

A quick filter that just types the text into the filter input box. This way regex doesn't need to be implemented in quick filters plus let's users create filters that can be edited on the fly. This could be signaled with : instead of =.
My use case would be this: S1:/(season)|(S01[^E])/. After the pattern is in the input field the season number could be easily edited to S02. This I'm sure would have more use cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant