Source: libmediainfo Version: 26.10+dfsg-1 Severity: important Tags: upstream
Control: affects -1 + src:pymediainfo Control: forwarded -1 https://github.com/MediaArea/MediaInfoLib/issues/2736 libmediainfo 26.10 seems to have a regression w.r.t pymediainfo's `sample_with_cover.mp3` test file -- libmediainfo 26.10 seems to be completely unable to read any metadata from the file. This causes pymediainfo's autopkgtests to fail on the coverart test[1]: =================================== FAILURES =================================== _________________ MediaInfoCoverDataTest.test_parse_cover_data _________________ self = <test_pymediainfo.MediaInfoCoverDataTest testMethod=test_parse_cover_data> def test_parse_cover_data(self) -> None: > self.assertEqual( self.cover_mi.tracks[0].cover_data, "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACXBIWXMAAAAAAA" "AAAQCEeRdzAAAADUlEQVR4nGP4x8DwHwAE/AH+QSRCQgAAAABJRU5ErkJggg==", ) E AssertionError: None != 'iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAf[80 chars]gg==' tests/test_pymediainfo.py:241: AssertionError =========================== short test summary info ============================ FAILED tests/test_pymediainfo.py::MediaInfoCoverDataTest::test_parse_cover_data - AssertionError: None != 'iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAf[80 chars]gg==' ================== 1 failed, 51 passed, 7 deselected in 3.27s ================== E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /tmp/autopkgtest.S5p6mP/autopkgtest_tmp/build; python3.14 -m pytest -k 'not test_parse_url and not test_filelike_returns_the_same' pybuild-autopkgtest: error: pybuild --autopkgtest --test-pytest -i python{version} -p 3.14 --parallel= returned exit code 13 make: *** [/tmp/UV6sOTC8a1/run:4: pybuild-autopkgtest] Error 25 pybuild-autopkgtest: error: /tmp/UV6sOTC8a1/run pybuild-autopkgtest returned exit code 2 autopkgtest [10:15:29]: test pybuild-autopkgtest: -----------------------] Inspecting the file with `mediainfo` under both versions of the library reveals the issue: With libmediainfo 26.01: % mediainfo tests/data/sample_with_cover.mp3 General Complete name : tests/data/sample_with_cover.mp3 Format : MPEG Audio File size : 341 Bytes Duration : 26 ms Overall bit rate mode : Constant Overall bit rate : 56.0 kb/s Writing library : Lavf57.83.100 Cover : Yes Cover type : Cover Cover MIME : image/png Audio Format : MPEG Audio Format version : Version 1 Format profile : Layer 3 Duration : 26 ms Bit rate mode : Constant Bit rate : 56.0 kb/s Channel(s) : 1 channel Sampling rate : 44.1 kHz Frame rate : 38.281 FPS (1152 SPF) Compression mode : Lossy Stream size : 182 Bytes (53%) Image Type : Cover Format : PNG Format/Info : Portable Network Graphic Compression : Deflate Format settings : Linear Muxing mode : ID3v2 APIC Width : 1 pixel Height : 1 pixel Display aspect ratio : 1.000 Color space : RGBA Bit depth : 8 bits Compression mode : Lossless Stream size : 91.0 Bytes (27%) With libmediainfo 26.10: % mediainfo tests/data/sample_with_cover.mp3 General Complete name : tests/data/sample_with_cover.mp3 File size : 341 Bytes [1] https://ci.debian.net/packages/p/pymediainfo/testing/armhf/77190255/ -- Kind regards, Loong Jin
signature.asc
Description: PGP signature

