Merge branch 'opus-cover-tagging' into 'develop'
Fixed album art not being retrieved from Ogg/Opus files See merge request funkwhale/funkwhale!865
This commit is contained in:
commit
efabd4b704
|
@ -147,6 +147,10 @@ CONF = {
|
|||
"license": {},
|
||||
"copyright": {},
|
||||
"genre": {},
|
||||
"pictures": {
|
||||
"field": "metadata_block_picture",
|
||||
"to_application": clean_ogg_pictures,
|
||||
},
|
||||
},
|
||||
},
|
||||
"OggVorbis": {
|
||||
|
|
|
@ -142,7 +142,14 @@ def test_can_get_metadata_from_id3_mp3_file(field, value):
|
|||
|
||||
|
||||
@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):
|
||||
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