Commit 767b65a1 authored by Sam Thursfield's avatar Sam Thursfield

tests: Fix vorbis/flac tests with GStreamer >= 1.17.0

The AcoustID tag is extracted starting with GStreamer 1.17.0, this
enables a codepath which we previously weren't testing.
parent 803f9bbd
Pipeline #191808 passed with stage
in 4 minutes and 37 seconds
......@@ -38,9 +38,9 @@ extractor_tests = [
'desktop/link-wikipedia-tracker'
]
# Gstreamer 1.18 introduced support for some additionnals
# Gstreamer 1.17/1.18 introduced support for some additional
# MusicBrainz tags
if gstreamer.found() and gstreamer.version() >= '1.18.0'
if gstreamer.found() and gstreamer.version() >= '1.17.0'
extractor_tests += 'audio/flac-musicbrainz'
extractor_tests += 'audio/vorbis-musicbrainz'
else
......
......@@ -12,7 +12,7 @@
"nfo:genre": "Rock",
"nfo:sampleRate": "44100",
"nie:comment": "no comment",
"nie:contentCreated": "2020-01-01",
"nie:contentCreated": "2020-01-01T00:00:00+00:00",
"nie:copyright": "none",
"nie:title": "track title",
"nmm:trackNumber": "12",
......@@ -43,7 +43,7 @@
]
},
"nmm:musicAlbumDisc": {
"@id": "urn:album-disc:awesome%20album:my%20album%20artist:2020-01-01",
"@id": "urn:album-disc:awesome%20album:my%20album%20artist:2020-01-01:Disc1",
"@type": "nmm:MusicAlbumDisc",
"nmm:setNumber": 1
},
......@@ -73,10 +73,12 @@
"tracker:referenceIdentifier": "dfgj-432-iu7"
}
],
"nfo:hasHash": {
"@type": "nfo:hasHash",
"nfo:hashAlgorithm": "chromaprint",
"nfo:hashValue": "123453215"
}
"nfo:hasHash": [
{
"@type": "nfo:hasHash",
"nfo:hashAlgorithm": "chromaprint",
"nfo:hashValue": "123453215"
}
]
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment