diff --git a/pkgs/by-name/sane-scripts/src/sane-bt-search b/pkgs/by-name/sane-scripts/src/sane-bt-search index 518e2aa7e..9b7cc293b 100755 --- a/pkgs/by-name/sane-scripts/src/sane-bt-search +++ b/pkgs/by-name/sane-scripts/src/sane-bt-search @@ -167,11 +167,11 @@ def is_cat(cats: list[str], wanted_cats: list[str], default: bool = False) -> bo return any(c in wanted_cats for c in cats) H265_MARKERS = { - "h265" - "h.265" - "x265" - "x.265" - "hevc" + "H265", + "H.265", + "x265", + "x.265", + "HEVC", } class Filter: @@ -194,7 +194,7 @@ class Filter: @staticmethod def is_h265(t: 'Torrent') -> bool: - return any(tag.upper() in t.title.upper() for tag in H265_MARKERS) + return any(tag.lower() in t.title.lower() for tag in H265_MARKERS) @staticmethod def is_book(t: 'Torrent', default: bool = False) -> bool: