Merge pull request #5 from PiratesIRC/claude/fuzzymatcher-ignore-cinemax-011CUrk7Kz5VHK1xuFeNzKbs
Fix fuzzymatcher to ignore Cinemax in channel names
This commit is contained in:
@@ -179,7 +179,7 @@ class FuzzyMatcher:
|
|||||||
|
|
||||||
# Remove "Cinemax" prefix if requested (for channels containing "max")
|
# Remove "Cinemax" prefix if requested (for channels containing "max")
|
||||||
if remove_cinemax:
|
if remove_cinemax:
|
||||||
name = re.sub(r'\bCinemax\s+', '', name, flags=re.IGNORECASE)
|
name = re.sub(r'\bCinemax\b\s*', '', name, flags=re.IGNORECASE)
|
||||||
|
|
||||||
# Apply hardcoded ignore patterns only if remove_quality_tags is True
|
# Apply hardcoded ignore patterns only if remove_quality_tags is True
|
||||||
if remove_quality_tags:
|
if remove_quality_tags:
|
||||||
|
|||||||
Reference in New Issue
Block a user