feat: Bump version to 0.2.5, enhance logging, normalize Cyrillic characters, and improve database info formatting

This commit is contained in:
sha
2025-12-27 02:55:34 +00:00
parent 95cbaee7fa
commit f2060b4a92
15 changed files with 136 additions and 37 deletions
+2 -2
View File
@@ -73,10 +73,10 @@ class MediaInfoExtractor:
return 'HDR'
return None
def extract_audio_langs(self) -> str:
def extract_audio_langs(self) -> str | None:
"""Extract audio languages from media info"""
if not self.audio_tracks:
return ''
return None
langs = []
for a in self.audio_tracks:
lang_code = getattr(a, 'language', 'und').lower()