Skip to content
Snippets Groups Projects
Commit efabd4b7 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Merge branch 'opus-cover-tagging' into 'develop'

Fixed album art not being retrieved from Ogg/Opus files

See merge request funkwhale/funkwhale!865
parents 84838596 1a187844
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
File added
Fixed album art not being retrieved from Ogg/Opus files
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment