Fixed album art not being retrieved from Ogg/Opus files
This commit is contained in:
parent
fc9c6f8906
commit
1a1878445c
|
@ -147,6 +147,10 @@ CONF = {
|
||||||
"license": {},
|
"license": {},
|
||||||
"copyright": {},
|
"copyright": {},
|
||||||
"genre": {},
|
"genre": {},
|
||||||
|
"pictures": {
|
||||||
|
"field": "metadata_block_picture",
|
||||||
|
"to_application": clean_ogg_pictures,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"OggVorbis": {
|
"OggVorbis": {
|
||||||
|
|
|
@ -142,7 +142,14 @@ def test_can_get_metadata_from_id3_mp3_file(field, value):
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
"name", ["test.mp3", "with_other_picture.mp3", "sample.flac", "with_cover.ogg"]
|
"name",
|
||||||
|
[
|
||||||
|
"test.mp3",
|
||||||
|
"with_other_picture.mp3",
|
||||||
|
"sample.flac",
|
||||||
|
"with_cover.ogg",
|
||||||
|
"with_cover.opus",
|
||||||
|
],
|
||||||
)
|
)
|
||||||
def test_can_get_pictures(name):
|
def test_can_get_pictures(name):
|
||||||
path = os.path.join(DATA_DIR, name)
|
path = os.path.join(DATA_DIR, name)
|
||||||
|
|
Binary file not shown.
|
@ -0,0 +1 @@
|
||||||
|
Fixed album art not being retrieved from Ogg/Opus files
|
Loading…
Reference in New Issue