[tracker-miners: 2/3] tracker-extract-mp3.c: Update MP3 tests for AcoustID Fingerprint
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners: 2/3] tracker-extract-mp3.c: Update MP3 tests for AcoustID Fingerprint
- Date: Fri, 5 Jul 2019 11:16:15 +0000 (UTC)
commit 38d6a7089104f02469464867c4bdab61774bc785
Author: Sumaid Syed <sumaidsyed gmail com>
Date: Fri Jul 5 15:10:14 2019 +0530
tracker-extract-mp3.c: Update MP3 tests for AcoustID Fingerprint
Existing mp3 tests should also check AcoustID fingerprint.
https://gitlab.gnome.org/GNOME/tracker-miners/issues/72
.../audio/audio-test-1.expected.json | 5 +++++
.../test-extraction-data/audio/audio-test-1.mp3 | Bin 61547 -> 61547 bytes
.../audio/audio-test-2.expected.json | 5 +++++
.../test-extraction-data/audio/audio-test-2.mp3 | Bin 65664 -> 65664 bytes
4 files changed, 10 insertions(+)
---
diff --git a/tests/functional-tests/test-extraction-data/audio/audio-test-1.expected.json
b/tests/functional-tests/test-extraction-data/audio/audio-test-1.expected.json
index f8db9f60b..a1e72a2b8 100644
--- a/tests/functional-tests/test-extraction-data/audio/audio-test-1.expected.json
+++ b/tests/functional-tests/test-extraction-data/audio/audio-test-1.expected.json
@@ -28,6 +28,11 @@
"nie:title": "SinCos",
"nmm:mbReleaseGroupID": "561234",
"nmm:mbReleaseID": "345612"
+ },
+ "nfo:hasHash": {
+ "@type": "nfo:hasHash",
+ "nfo:hashAlgorithm": "chromaprint",
+ "nfo:hashValue": "111222"
}
}
}
diff --git a/tests/functional-tests/test-extraction-data/audio/audio-test-1.mp3
b/tests/functional-tests/test-extraction-data/audio/audio-test-1.mp3
index 2727f1209..69e848a14 100644
Binary files a/tests/functional-tests/test-extraction-data/audio/audio-test-1.mp3 and
b/tests/functional-tests/test-extraction-data/audio/audio-test-1.mp3 differ
diff --git a/tests/functional-tests/test-extraction-data/audio/audio-test-2.expected.json
b/tests/functional-tests/test-extraction-data/audio/audio-test-2.expected.json
index 0818e0ca7..d4dd0089e 100644
--- a/tests/functional-tests/test-extraction-data/audio/audio-test-2.expected.json
+++ b/tests/functional-tests/test-extraction-data/audio/audio-test-2.expected.json
@@ -25,6 +25,11 @@
"@type": "nmm:MusicAlbum",
"nmm:mbReleaseGroupID": "561234",
"nmm:mbReleaseID": "345612"
+ },
+ "nfo:hasHash": {
+ "@type": "nfo:hasHash",
+ "nfo:hashAlgorithm": "chromaprint",
+ "nfo:hashValue": "111222"
}
}
}
diff --git a/tests/functional-tests/test-extraction-data/audio/audio-test-2.mp3
b/tests/functional-tests/test-extraction-data/audio/audio-test-2.mp3
index da92a0b2e..60819fddb 100644
Binary files a/tests/functional-tests/test-extraction-data/audio/audio-test-2.mp3 and
b/tests/functional-tests/test-extraction-data/audio/audio-test-2.mp3 differ
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]