mirror of
https://github.com/shadoll/moma.git
synced 2026-08-28 03:27:34 +00:00
feat: Bump version to 0.2.5, enhance logging, normalize Cyrillic characters, and improve database info formatting
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user