mirror of
https://github.com/shadoll/moma.git
synced 2026-08-28 11:33:25 +00:00
feat: Update version to 0.4.7 and add new extraction methods for anamorphic, extension, and 3D layout
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user