fix: Update version to 0.9.4 in uv.lock; improve CI checks and code clarity in AGENTS.md, filename_extractor.py, and mediainfo_extractor.py

This commit is contained in:
sha
2026-04-13 14:37:37 +03:00
parent cbcb349c9b
commit 1f87337bb4
5 changed files with 19 additions and 9 deletions
+3 -4
View File
@@ -227,10 +227,9 @@ class FilenameExtractor:
# Check for bare resolution numbers inside brackets (e.g., [720,ukr,eng])
bare_match = re.search(r'[\[,](\d{3,4})(?=[,\]])', normalized_name, re.IGNORECASE)
if bare_match:
height = int(bare_match.group(1))
frame_class = self._get_frame_class_from_height(height)
if frame_class:
return frame_class
bare_fc = self._get_frame_class_from_height(int(bare_match.group(1)))
if bare_fc:
return bare_fc
# If no specific resolution found, check for non-standard quality indicators
for indicator in NON_STANDARD_QUALITY_INDICATORS: