feat: Update version to 0.4.7 and add new extraction methods for anamorphic, extension, and 3D layout

This commit is contained in:
sha
2025-12-28 17:06:29 +00:00
parent 75339ee7f7
commit eedc32bf31
8 changed files with 118 additions and 6 deletions
+19 -1
View File
@@ -29,4 +29,22 @@ class TestMediaInfoExtractor:
"""Test extracting audio languages"""
langs = extractor.extract_audio_langs()
# Text files don't have audio tracks
assert langs is None
assert langs is None
def test_extract_anamorphic(self, extractor, test_file):
"""Test extracting anamorphic info"""
anamorphic = extractor.extract_anamorphic()
# Text files don't have video tracks
assert anamorphic is None
def test_extract_extension(self, extractor, test_file):
"""Test extracting extension"""
extension = extractor.extract_extension()
# For text file, should return None since no media info
assert extension is None
def test_is_3d(self, extractor, test_file):
"""Test checking if video is 3D"""
is_3d = extractor.is_3d()
# Text files don't have video tracks
assert is_3d is False