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

Please add HEVC and other video types when filtering #1217

Open
ctcarino opened this issue Nov 4, 2024 · 5 comments
Open

Please add HEVC and other video types when filtering #1217

ctcarino opened this issue Nov 4, 2024 · 5 comments

Comments

@ctcarino
Copy link

ctcarino commented Nov 4, 2024

my goal is to search only 1080p videos and dont want any form of encoding that has the file size reduction.
i can see 3 variants but HEVC is not included.

even the capital letter H.264 is not being filtered out. only h.264.
tried manually entering the Video Type in the dropdown but its not working

Screenshot 2024-11-04 115507
Screenshot 2024-11-04 120019

@erengy
Copy link
Owner

erengy commented Nov 4, 2024

  • You can type anything you want (e.g. HEVC) in the value input. Dropdown values are just recommendations.
  • Filter comparisons are case insensitive, so there's no issue with H.264 and h.264.
  • H.264 and H264 are different values. Adding a condition for one won't target the other.
  • Using contains/does not contain operators instead of is/is not will give you better results for elements that might contain multiple values such as Episode video type (this way you can also get away with just one condition for 264 instead of multiple conditions for H264, H.264 and X264).
  • You probably want that filter to match Any condition, not All conditions (see Question about filters that has multiple condition. #1186). If that's confusing, you can just create separate filters -- one for 1080p and another one for HEVC.

@ctcarino
Copy link
Author

ctcarino commented Nov 4, 2024

@erengy
tried adding H.264 but after i clicked OK, it removed the dot.
also adding HEVC and H264 in the filter doesnt work

also choosing "any condition" will result to nothing.

Screenshot 2024-11-05 025102

@ctcarino
Copy link
Author

ctcarino commented Nov 4, 2024

seems separating each filter works but kinda hassle since i had to do it one by one.

Screenshot 2024-11-05 025908

@ctcarino
Copy link
Author

ctcarino commented Nov 4, 2024

ok i tried "any" condition aand it seems to be working fine.

but i dont understand why "any" would work? isnt "ANY" is something like an "OR" condition while "ALL" should be "AND" condition?

Screenshot 2024-11-05 030508

@erengy
Copy link
Owner

erengy commented Nov 7, 2024

i dont understand why "any" would work? isnt "ANY" is something like an "OR" condition while "ALL" should be "AND" condition?

When you select the "All conditions" option, all conditions must be true for the action (discarding matching items) to take place. You are basically saying, "discard a torrent if its video resolution is not 1080p and its video type is HEVC and x264 and H.264 at the same time", which is impossible. That's why you use "Any condition" instead.

Don't be too hard on yourself if you don't get it, though. Filters are quite powerful but not exactly user friendly. I intend to simplify them eventually, or at least provide an easier way to handle the most common cases. Suggestions are welcome.

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

No branches or pull requests

2 participants