[grilo-plugins] AcoustID: Add new sample for testing album-artist to artist change



commit 8166bcca675f167ab7d0a6a2fbbe35f6b0d3f62a
Author: Saiful B. Khan <saifulbkhan gmail com>
Date:   Sat Jul 9 22:43:37 2016 +0530

    AcoustID: Add new sample for testing album-artist to artist change
    
    Added sample pair of acoustID metadata and chromaprint have different
    'recording' artist and 'release-group' artist and still passes the
    original test setup. This is needed to check 'album-artist != artist'
    and hence makes it easy to validate whether the plugin retrieves the
    expected artist and/or album-artist, distinctively.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=768520

 tests/lua-factory/sources/Makefile.am              |    4 +++-
 .../data/acoustid_radiohead_paranoid_android.txt   |    1 +
 .../chromaprint_radiohead_paranoid_android.txt     |    1 +
 tests/lua-factory/sources/data/config.ini          |    2 ++
 tests/lua-factory/sources/test_lua_acoustid.c      |    6 ++++++
 .../sources/test_lua_acoustid.gresource.xml        |    1 +
 6 files changed, 14 insertions(+), 1 deletions(-)
---
diff --git a/tests/lua-factory/sources/Makefile.am b/tests/lua-factory/sources/Makefile.am
index d361158..3b35041 100644
--- a/tests/lua-factory/sources/Makefile.am
+++ b/tests/lua-factory/sources/Makefile.am
@@ -42,10 +42,12 @@ acoustid_resources_files =  \
   data/acoustid_norah_jones_chasing_pirates.txt                \
   data/acoustid_philip_glass_the_passion_of.txt                \
   data/acoustid_trombone_shorty_buckjump.txt            \
+  data/acoustid_radiohead_paranoid_android.txt         \
   data/chromaprint_ludovico_einaudi_primavera.txt      \
   data/chromaprint_norah_jones_chasing_pirates.txt     \
   data/chromaprint_philip_glass_the_passion_of.txt     \
-  data/chromaprint_trombone_shorty_buckjump.txt
+  data/chromaprint_trombone_shorty_buckjump.txt                \
+  data/chromaprint_radiohead_paranoid_android.txt
 
 test_lua_metrolyrics_SOURCES = \
        test_lua_metrolyrics.c  \
diff --git a/tests/lua-factory/sources/data/acoustid_radiohead_paranoid_android.txt 
b/tests/lua-factory/sources/data/acoustid_radiohead_paranoid_android.txt
new file mode 100644
index 0000000..bc545fb
--- /dev/null
+++ b/tests/lua-factory/sources/data/acoustid_radiohead_paranoid_android.txt
@@ -0,0 +1 @@
+{"status": "ok", "results": [{"recordings": [{"artists": [{"id": "a74b1b7f-71a5-4011-9441-d0b5e4122711", 
"name": "Radiohead"}], "duration": 385, "releasegroups": [{"artists": [{"id": 
"89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various Artists"}], "secondarytypes": ["Compilation"], 
"type": "Album", "id": "67b2ff2a-38e9-32d0-84a0-85ac98cb16b4", "title": "The Greatest Hits of 1997"}], 
"title": "Paranoid Android", "id": "33e369bb-b8de-402f-b88f-594dea3544dc"}, {"artists": [{"id": 
"a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], "duration": 384, "releasegroups": [{"artists": 
[{"id": "89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various Artists"}], "secondarytypes": 
["Compilation"], "type": "Album", "id": "896d40c0-d34c-49db-88a4-7c3e1f8ff3ee", "title": "40 Years of 
Music"}], "title": "Paranoid Android", "id": "446ecb28-b134-418a-8154-16002c93c879"}, {"artists": [{"id": 
"a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], "duration": 385, "releasegr
 oups": [{"artists": [{"id": "89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various Artists"}], 
"secondarytypes": ["Compilation"], "type": "Album", "id": "1f3d9176-3e6f-3dec-b8dd-42c3c97acdfa", "title": 
"Sounds Like Teen Spirit: Best of Alternative & Nu Rock"}], "title": "Paranoid Android", "id": 
"55104d1b-e5db-42ee-b3b1-9b46761389a2"}, {"artists": [{"id": "a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": 
"Radiohead"}], "duration": 387, "releasegroups": [{"artists": [{"id": "a74b1b7f-71a5-4011-9441-d0b5e4122711", 
"name": "Radiohead"}], "secondarytypes": ["Compilation"], "type": "Album", "id": 
"c4ae4ebb-2d68-4ba7-9c81-18ad7cb9022f", "title": "Greatest Hits"}], "title": "Paranoid Android", "id": 
"637e2a81-4b22-4148-9b91-4f66d2df5ca8"}, {"releasegroups": [{"artists": [{"id": 
"72cfa726-10e1-4a9a-aec9-435bb4160096", "name": "Madder Rose"}], "type": "Album", "id": 
"4c068d6a-8efc-3f31-acfb-e8923009c94d", "title": "Panic On"}], "title": "[silence]", "id": 
"87fbbdba-86e7-494b-8dfa-4d3
 caa7313e8", "artists": [{"id": "eec63d3c-3b81-4ad4-b1e4-7c147d4d2b61", "name": "[no artist]"}]}, {"artists": 
[{"id": "a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], "duration": 229, "releasegroups": 
[{"artists": [{"id": "89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various Artists"}], "secondarytypes": 
["Compilation"], "type": "Album", "id": "8d35aab9-45ee-3a21-bc35-5bb40fc211c4", "title": "Chillout 05: The 
Ultimate Chillout"}, {"artists": [{"id": "89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various Artists"}], 
"secondarytypes": ["Compilation"], "type": "Album", "id": "f96ccebc-83a3-4a87-9c3f-97d3bb774639", "title": 
"Pure FM \u2013 Lazy Factory"}, {"artists": [{"id": "89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various 
Artists"}], "secondarytypes": ["Compilation"], "type": "Album", "id": "790f50de-baf9-4694-97ec-1d393b53c335", 
"title": "The Best of Acoustic"}, {"artists": [{"id": "89ad4ac3-39f7-470e-963a-56509c546377", "name": 
"Various Artists"}], "
 secondarytypes": ["Compilation"], "type": "Album", "id": "a144b92d-d7a6-31db-bbb2-4904ff184643", "title": 
"20th Century Lullabies, Volume II: Big Divas and Gentle Bad Boys"}, {"artists": [{"id": 
"89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various Artists"}], "secondarytypes": ["Compilation"], 
"type": "Album", "id": "d692bad3-8427-3364-89be-5c81762a13e6", "title": "Music of the Millennium III"}, 
{"artists": [{"id": "89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various Artists"}], "secondarytypes": 
["Compilation"], "type": "Album", "id": "28852fdc-671b-3545-80ff-a7a47f510573", "title": "100% Hits, Volume 
24"}, {"artists": [{"id": "89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various Artists"}], 
"secondarytypes": ["Compilation"], "type": "Album", "id": "aa396c36-8b36-309b-bd7d-f629d7289b9c", "title": 
"Acoustic Songbook"}, {"artists": [{"id": "89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various 
Artists"}], "secondarytypes": ["Compilation"], "type": "Album", "id": 
 "e83fc6a5-5f97-3a30-b26b-17a2f2e51b5a", "title": "Brit Awards 99"}, {"artists": [{"id": 
"89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various Artists"}], "secondarytypes": ["Compilation"], 
"type": "Album", "id": "b9e4e157-6ee3-356c-8033-411e8e684042", "title": "Now That\u2019s What I Call Music! 
39"}, {"artists": [{"id": "89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various Artists"}], 
"secondarytypes": ["Compilation"], "type": "Album", "id": "1e8f4e64-1479-3940-b373-156b08807934", "title": 
"Life is Music: 100 onsterfelijke Studio Brussel songs"}, {"artists": [{"id": 
"89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various Artists"}], "secondarytypes": ["Compilation"], 
"type": "Album", "id": "4ee7031d-6523-3c5e-a0b4-11b111bda2a8", "title": "Lazy Sunday 2"}, {"artists": [{"id": 
"89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various Artists"}], "secondarytypes": ["Compilation"], 
"type": "Album", "id": "6e002e81-17bb-494d-b761-9e3d783c4d15", "title": "Coastal Chill: The
  Collection"}, {"artists": [{"id": "a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], "type": 
"EP", "id": "1626bbb8-05bd-3621-a0c7-9278e3b79dca", "title": "No Surprises / Running From Demons"}, 
{"artists": [{"id": "89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various Artists"}], "secondarytypes": 
["Compilation"], "type": "Album", "id": "d903a81e-695b-3b55-ba20-235b7caf1f15", "title": "Summer Moods"}, 
{"artists": [{"id": "89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various Artists"}], "secondarytypes": 
["Compilation"], "type": "Album", "id": "c0e6040c-a0ce-3544-bb9c-dad66068bc0c", "title": "Clubbed Out, Volume 
2"}, {"artists": [{"id": "89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various Artists"}], 
"secondarytypes": ["Compilation"], "type": "Album", "id": "703b17c6-90ac-3fff-ace9-2e049c2a18fd", "title": 
"Acoustic"}, {"artists": [{"id": "89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various Artists"}], 
"secondarytypes": ["Compilation"], "type": "Album"
 , "id": "95a0bdaf-3d32-3d45-b9d2-184ccab5f97c", "title": "Triple J: Hottest 100, Volume 6"}, {"artists": 
[{"id": "a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], "secondarytypes": ["Live"], "type": 
"Album", "id": "f279ac4f-7ea9-3b25-8ec4-94bd7d2b7316", "title": "1997-06-24: Interactive: Muziekcentrum 
Vredenburg, Utrecht, The Netherlands"}, {"artists": [{"id": "a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": 
"Radiohead"}], "secondarytypes": ["Compilation"], "type": "Album", "id": 
"b7db08f4-835a-4a69-970b-5321e6305032", "title": "Album Box Set"}, {"artists": [{"id": 
"89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various Artists"}], "secondarytypes": ["Compilation"], 
"type": "Album", "id": "db1dbb28-5539-3aac-8d69-d3a59770ed5c", "title": "Pure Lounge 2"}, {"artists": [{"id": 
"89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various Artists"}], "secondarytypes": ["Compilation"], 
"type": "Album", "id": "73904752-11da-36fa-986e-aa7fc1bbf04e", "title": "Now That's Wha
 t I Call Music! 6"}, {"artists": [{"id": "89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various 
Artists"}], "secondarytypes": ["Compilation"], "type": "Album", "id": "71c3461e-a26f-3df5-9e01-07d05f6b1110", 
"title": "Now That\u2019s What I Call Music! 1998: The Millennium Series"}, {"artists": [{"id": 
"a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], "secondarytypes": ["Compilation"], "type": 
"Album", "id": "e607d0d4-b520-37f9-b82b-8aec9e786c72", "title": "Greatest Hits 98"}, {"artists": [{"id": 
"a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], "secondarytypes": ["Compilation"], "type": 
"Album", "id": "80975c59-4094-30d5-bb58-365e8b061274", "title": "The Best Of"}, {"artists": [{"id": 
"a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], "secondarytypes": ["Compilation"], "type": 
"Album", "id": "c4ae4ebb-2d68-4ba7-9c81-18ad7cb9022f", "title": "Greatest Hits"}, {"artists": [{"id": 
"89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various Art
 ists"}], "secondarytypes": ["Compilation"], "type": "Album", "id": "81c00741-841e-3760-b15a-cc00f9c31415", 
"title": "Coastal Chill"}, {"artists": [{"id": "89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various 
Artists"}], "secondarytypes": ["Compilation"], "type": "Album", "id": "be340201-c5ef-3a39-8243-b94ed1278f4b", 
"title": "Acoustic, Volume 2"}, {"artists": [{"id": "a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": 
"Radiohead"}], "type": "Album", "id": "b1392450-e666-3926-a536-22c65f834433", "title": "OK Computer"}, 
{"artists": [{"id": "a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], "secondarytypes": 
["Compilation"], "type": "Album", "id": "30f765ef-d7f0-4cce-8a3b-d6e1069f1dda", "title": "5 Album Set"}, 
{"artists": [{"id": "89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various Artists"}], "secondarytypes": 
["Soundtrack"], "type": "Album", "id": "757753f3-7a3f-3898-99c1-f9e71f555945", "title": "L'Auberge 
espagnole"}, {"artists": [{"id": "a74b1b7f-71a5-4011-
 9441-d0b5e4122711", "name": "Radiohead"}], "type": "Single", "id": "e263349d-6dc2-3cba-864a-e28407b2bf2b", 
"title": "No Surprises"}, {"artists": [{"id": "a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], 
"secondarytypes": ["Compilation"], "type": "Album", "id": "60b9bffe-5959-3de1-ac79-63581b541323", "title": 
"Leftover Computer"}, {"artists": [{"id": "89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various 
Artists"}], "secondarytypes": ["Compilation"], "type": "Album", "id": "274f9b7c-8896-314a-81ac-c48b10dede3d", 
"title": "MTV Fresh, Volume 4"}, {"artists": [{"id": "89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various 
Artists"}], "secondarytypes": ["Compilation"], "type": "Album", "id": "4f50e688-b863-3111-8bf3-7e15293ef726", 
"title": "L'Album Rock, Volume 2"}, {"artists": [{"id": "89ad4ac3-39f7-470e-963a-56509c546377", "name": 
"Various Artists"}], "secondarytypes": ["Compilation"], "type": "Album", "id": 
"d104e434-dbda-3ba5-897d-3822baa11b4e", "title": "21st
  Century Rock"}], "title": "No Surprises", "id": "980a426e-623e-4ea5-98c7-008d037a0508"}, {"artists": 
[{"id": "a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], "duration": 383, "releasegroups": 
[{"artists": [{"id": "89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various Artists"}], "secondarytypes": 
["Compilation"], "type": "Album", "id": "b7f2b485-3a8f-4573-b23d-9873cbbb2f1a", "title": "Triple J: Hottest 
100 of All Time"}, {"artists": [{"id": "89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various Artists"}], 
"secondarytypes": ["Compilation"], "type": "Album", "id": "773be37f-d92f-380a-998a-c5e6e74f2baa", "title": 
"Shine 9"}, {"artists": [{"id": "89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various Artists"}], 
"secondarytypes": ["Compilation"], "type": "Album", "id": "ce7f6a36-eb4d-3e46-b4bb-68c24b0f19f6", "title": 
"MTV Fresh 3"}, {"artists": [{"id": "a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], 
"secondarytypes": ["Compilation"], "type": "
 Album", "id": "b7db08f4-835a-4a69-970b-5321e6305032", "title": "Album Box Set"}, {"artists": [{"id": 
"89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various Artists"}], "secondarytypes": ["Compilation"], 
"type": "Album", "id": "2d9231c1-2279-35f2-8697-7f29c1735113", "title": "Festival 06"}, {"artists": [{"id": 
"89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various Artists"}], "secondarytypes": ["Compilation"], 
"type": "Album", "id": "dd02a722-bb7f-4771-9a5b-681f5556ce71", "title": "3X plus de bruit!"}, {"artists": 
[{"id": "89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various Artists"}], "secondarytypes": 
["Compilation"], "type": "Album", "id": "45acecb7-b1a9-3bc2-989e-ef2f9de4df4b", "title": "Big Shiny Tunes 
2"}, {"artists": [{"id": "89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various Artists"}], 
"secondarytypes": ["Compilation"], "type": "Album", "id": "65249aaa-d14a-306e-8b9e-05cab478bf67", "title": 
"Music of the Millennium 2"}, {"artists": [{"id": "a74b1b7f-71a5
 -4011-9441-d0b5e4122711", "name": "Radiohead"}], "type": "Album", "id": 
"b1392450-e666-3926-a536-22c65f834433", "title": "OK Computer"}, {"artists": [{"id": 
"89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various Artists"}], "secondarytypes": ["Compilation"], 
"type": "Album", "id": "c14707bf-0b73-3fa9-8efe-7a60d2d372ff", "title": "Triple J: Hottest Box"}, {"artists": 
[{"id": "89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various Artists"}], "secondarytypes": 
["Compilation"], "type": "Album", "id": "a72f18dd-86d1-3208-bb2c-459a1189a728", "title": "Rep\u00e9rages, 
Volume 12"}, {"artists": [{"id": "a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], 
"secondarytypes": ["Compilation"], "type": "Album", "id": "30f765ef-d7f0-4cce-8a3b-d6e1069f1dda", "title": "5 
Album Set"}, {"artists": [{"id": "a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], "type": "EP", 
"id": "e418e013-c2a4-3d77-af37-2e92cd48ba5a", "title": "College Karma EP"}, {"artists": [{"id": "a74b
 1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], "type": "Single", "id": 
"1f4d4fe7-ddb0-36b8-8fd9-283d40190c3b", "title": "Paranoid Android"}, {"artists": [{"id": 
"89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various Artists"}], "secondarytypes": ["Compilation"], 
"type": "Album", "id": "6edd1b32-d020-3f63-b340-16963b1f989e", "title": "Triple J: Hottest 100, Volume 5"}, 
{"artists": [{"id": "7e2b0679-002d-49ad-9748-b5d97ef123ea", "name": "\u6c60\u983c\u5e83"}], "secondarytypes": 
["Soundtrack"], "type": "Album", "id": "ace5135c-1fde-33bd-bfd0-139c8c58212d", "title": "Ergo Proxy Original 
Soundtrack opus 01"}, {"artists": [{"id": "a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], 
"secondarytypes": ["Compilation"], "type": "Album", "id": "f720c4d7-a80d-4466-b92d-9d1de99ddba7", "title": 
"World Ballads Collection"}, {"artists": [{"id": "89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various 
Artists"}], "secondarytypes": ["Compilation"], "type": "Album", "id"
 : "ee62c493-eb1e-36f7-99db-5d3bc5b0faee", "title": "Now That\u2019s What I Call Music! 37"}, {"artists": 
[{"id": "89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various Artists"}], "secondarytypes": 
["Compilation"], "type": "Album", "id": "b95cceaf-4108-3ecc-a037-b76e4c04300e", "title": "Shine: Best of 
97"}, {"artists": [{"id": "a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], "secondarytypes": 
["Compilation"], "type": "Album", "id": "80975c59-4094-30d5-bb58-365e8b061274", "title": "The Best Of"}], 
"title": "Paranoid Android", "id": "9f9cf187-d6f9-437f-9d98-d59cdbd52757"}, {"artists": [{"id": 
"a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], "duration": 383, "releasegroups": [{"artists": 
[{"id": "a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], "type": "Album", "id": 
"b1392450-e666-3926-a536-22c65f834433", "title": "OK Computer"}], "title": "Paranoid Android", "id": 
"a53a283c-0288-4184-a59e-8e1d3e5f4b8b"}, {"artists": [{"id": "a74b1b7f
 -71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], "duration": 401, "releasegroups": [{"artists": [{"id": 
"a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], "secondarytypes": ["Live"], "type": "Album", 
"id": "53f59e5b-adc9-4c36-a724-cf3aeab69b38", "title": "Computer K.O."}], "title": "Paranoid Android", "id": 
"ef26d1e5-41f1-43a8-a968-75e43ff47057"}, {"artists": [{"id": "a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": 
"Radiohead"}], "duration": 258, "releasegroups": [{"artists": [{"id": "a74b1b7f-71a5-4011-9441-d0b5e4122711", 
"name": "Radiohead"}], "secondarytypes": ["Compilation"], "type": "Album", "id": 
"af44dc42-1bf4-4cdc-ad98-cdfdc2312b09", "title": "The Best of Radiohead"}], "title": "High and Dry", "id": 
"fc356105-9ef1-4107-995d-6220f21a7c17"}], "score": 0.977782, "id": "f2157413-dc2c-4990-a767-2aeb7bb926a2"}, 
{"recordings": [{"artists": [{"id": "a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], 
"duration": 383, "releasegroups": [{"artists": [{
 "id": "a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], "secondarytypes": ["Compilation"], 
"type": "Album", "id": "85b7b7b5-cf37-3380-8569-f281c5edbe15", "title": "Climbing Up the Walls"}, {"artists": 
[{"id": "a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], "secondarytypes": ["Compilation"], 
"type": "Album", "id": "2a3892ce-ce25-3577-8c1c-634dc3faaf8b", "title": "Kill All the Rarities"}], "title": 
"Paranoid Android", "id": "0606596f-14de-4621-b04a-eae0a865fc88"}, {"artists": [{"id": 
"a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], "duration": 394, "releasegroups": [{"artists": 
[{"id": "a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], "type": "Album", "id": 
"b1392450-e666-3926-a536-22c65f834433", "title": "OK Computer"}], "title": "Paranoid Android (video)", "id": 
"520c3d4c-2008-421f-a486-992743f809de"}], "score": 0.964003, "id": "b9874d0d-aa67-474a-b2bd-4b6aa58d3727"}, 
{"recordings": [{"artists": [{"id": "a74b1b7f-71a5-40
 11-9441-d0b5e4122711", "name": "Radiohead"}], "duration": 382, "releasegroups": [{"artists": [{"id": 
"a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], "secondarytypes": ["Live"], "type": "Album", 
"id": "a7448d43-e69d-3c7b-94cb-e18b8b66dc29", "title": "2001-06-23: The Gorge Amphitheatre, George, WA, 
USA"}], "title": "Paranoid Android", "id": "02243a45-04c1-4784-8205-e4199fe75816"}, {"artists": [{"id": 
"a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], "duration": 384, "releasegroups": [{"artists": 
[{"id": "89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various Artists"}], "type": "Album", "id": 
"180bcd7f-8f8e-40a1-a8ed-94809c8b085d", "title": "MTV Most Wanted"}], "title": "Paranoid Android", "id": 
"08ca81a0-93c9-41d3-a5dc-9fc39db7ebfb"}, {"artists": [{"id": "a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": 
"Radiohead"}], "duration": 383, "releasegroups": [{"artists": [{"id": "89ad4ac3-39f7-470e-963a-56509c546377", 
"name": "Various Artists"}], "secondar
 ytypes": ["Compilation"], "type": "Album", "id": "f2b380a8-b2d6-4474-a93c-a6a74b5c3df1", "title": "The 
Album"}], "title": "Paranoid Android", "id": "174be24a-a0a1-410e-bfc8-d2639c1fc461"}, {"artists": [{"id": 
"a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], "duration": 385, "releasegroups": [{"artists": 
[{"id": "89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various Artists"}], "secondarytypes": 
["Compilation"], "type": "Album", "id": "6e31d56e-a101-3f63-8aa5-e74d4fb25c99", "title": "UK Music Hall of 
Fame"}], "title": "Paranoid Android", "id": "1bf0d11f-0e38-4702-be15-ae0b6dbe72ba"}, {"artists": [{"id": 
"a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], "duration": 394, "releasegroups": [{"artists": 
[{"id": "a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], "type": "Album", "id": 
"b1392450-e666-3926-a536-22c65f834433", "title": "OK Computer"}], "title": "Paranoid Android", "id": 
"2b3dae6c-a7f3-407a-a0a9-7325aeacfc75"}, {"artists": [{"id
 ": "a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], "duration": 385, "releasegroups": 
[{"artists": [{"id": "89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various Artists"}], "secondarytypes": 
["Compilation"], "type": "Album", "id": "67b2ff2a-38e9-32d0-84a0-85ac98cb16b4", "title": "The Greatest Hits 
of 1997"}], "title": "Paranoid Android", "id": "33e369bb-b8de-402f-b88f-594dea3544dc"}, {"artists": [{"id": 
"a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], "duration": 381, "releasegroups": [{"artists": 
[{"id": "a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], "secondarytypes": ["Live"], "type": 
"Album", "id": "9bea627f-15a9-3d91-9853-865d053a77f7", "title": "2002-08-07: Salamanca, Spain"}], "title": 
"Paranoid Android", "id": "3f30434c-fc27-40ce-b17e-290639d6f0f4"}, {"artists": [{"id": 
"a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], "duration": 387, "releasegroups": [{"artists": 
[{"id": "89ad4ac3-39f7-470e-963a-56509c54637
 7", "name": "Various Artists"}], "secondarytypes": ["Compilation"], "type": "Album", "id": 
"191147ab-b16d-48c2-9ea4-e6cc997ebf16", "title": "Veronica Album Top 1000 - The Long Versions"}, {"artists": 
[{"id": "a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], "secondarytypes": ["Compilation"], 
"type": "Album", "id": "e607d0d4-b520-37f9-b82b-8aec9e786c72", "title": "Greatest Hits 98"}], "title": 
"Paranoid Android", "id": "41888792-b019-4306-9429-07f6f0ddb4a5"}, {"artists": [{"id": 
"a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], "duration": 384, "releasegroups": [{"artists": 
[{"id": "89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various Artists"}], "secondarytypes": 
["Compilation"], "type": "Album", "id": "896d40c0-d34c-49db-88a4-7c3e1f8ff3ee", "title": "40 Years of 
Music"}], "title": "Paranoid Android", "id": "446ecb28-b134-418a-8154-16002c93c879"}, {"artists": [{"id": 
"a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], "duration": 379, 
 "releasegroups": [{"artists": [{"id": "a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], 
"secondarytypes": ["Live"], "type": "Album", "id": "6a7e474c-46ad-3e5c-a4cd-49834a3aa740", "title": 
"2006-06-17: Bonnaroo Festival, Manchester, TN, USA"}], "title": "Paranoid Android", "id": 
"49dfa13e-15e2-4bbc-8409-f3774d70569e"}, {"artists": [{"id": "a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": 
"Radiohead"}], "duration": 385, "releasegroups": [{"artists": [{"id": "89ad4ac3-39f7-470e-963a-56509c546377", 
"name": "Various Artists"}], "secondarytypes": ["Compilation"], "type": "Album", "id": 
"1f3d9176-3e6f-3dec-b8dd-42c3c97acdfa", "title": "Sounds Like Teen Spirit: Best of Alternative & Nu Rock"}], 
"title": "Paranoid Android", "id": "55104d1b-e5db-42ee-b3b1-9b46761389a2"}, {"id": 
"5e895228-26c2-44ac-990c-2cd2683fb550"}, {"artists": [{"id": "a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": 
"Radiohead"}], "duration": 387, "releasegroups": [{"artists": [{"id": "a74b1b7f-71a5-4011-
 9441-d0b5e4122711", "name": "Radiohead"}], "secondarytypes": ["Compilation"], "type": "Album", "id": 
"c4ae4ebb-2d68-4ba7-9c81-18ad7cb9022f", "title": "Greatest Hits"}], "title": "Paranoid Android", "id": 
"637e2a81-4b22-4148-9b91-4f66d2df5ca8"}, {"artists": [{"id": "a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": 
"Radiohead"}], "duration": 387, "releasegroups": [{"artists": [{"id": "a74b1b7f-71a5-4011-9441-d0b5e4122711", 
"name": "Radiohead"}], "secondarytypes": ["Compilation"], "type": "Album", "id": 
"e449d0a3-5661-338c-a51e-a9910f725fa5", "title": "Towering Above the Rest"}], "title": "Paranoid Android", 
"id": "7487331c-0aac-4a21-abef-ead335ae72f6"}, {"artists": [{"id": "a74b1b7f-71a5-4011-9441-d0b5e4122711", 
"name": "Radiohead"}], "duration": 384, "releasegroups": [{"artists": [{"id": 
"89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various Artists"}], "secondarytypes": ["Compilation"], 
"type": "Album", "id": "e21a40aa-9418-4273-bd68-1b3feaf39e23", "title": "20 Years of Rage
 "}], "title": "Paranoid Android", "id": "8fd28255-4622-45c4-b8f4-36d3d5174299"}, {"artists": [{"id": 
"a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], "duration": 383, "releasegroups": [{"artists": 
[{"id": "89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various Artists"}], "secondarytypes": 
["Compilation"], "type": "Album", "id": "b7f2b485-3a8f-4573-b23d-9873cbbb2f1a", "title": "Triple J: Hottest 
100 of All Time"}, {"artists": [{"id": "89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various Artists"}], 
"secondarytypes": ["Compilation"], "type": "Album", "id": "773be37f-d92f-380a-998a-c5e6e74f2baa", "title": 
"Shine 9"}, {"artists": [{"id": "89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various Artists"}], 
"secondarytypes": ["Compilation"], "type": "Album", "id": "ce7f6a36-eb4d-3e46-b4bb-68c24b0f19f6", "title": 
"MTV Fresh 3"}, {"artists": [{"id": "a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], 
"secondarytypes": ["Compilation"], "type": "Album", "
 id": "b7db08f4-835a-4a69-970b-5321e6305032", "title": "Album Box Set"}, {"artists": [{"id": 
"89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various Artists"}], "secondarytypes": ["Compilation"], 
"type": "Album", "id": "2d9231c1-2279-35f2-8697-7f29c1735113", "title": "Festival 06"}, {"artists": [{"id": 
"89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various Artists"}], "secondarytypes": ["Compilation"], 
"type": "Album", "id": "dd02a722-bb7f-4771-9a5b-681f5556ce71", "title": "3X plus de bruit!"}, {"artists": 
[{"id": "89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various Artists"}], "secondarytypes": 
["Compilation"], "type": "Album", "id": "45acecb7-b1a9-3bc2-989e-ef2f9de4df4b", "title": "Big Shiny Tunes 
2"}, {"artists": [{"id": "89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various Artists"}], 
"secondarytypes": ["Compilation"], "type": "Album", "id": "65249aaa-d14a-306e-8b9e-05cab478bf67", "title": 
"Music of the Millennium 2"}, {"artists": [{"id": "a74b1b7f-71a5-4011-944
 1-d0b5e4122711", "name": "Radiohead"}], "type": "Album", "id": "b1392450-e666-3926-a536-22c65f834433", 
"title": "OK Computer"}, {"artists": [{"id": "89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various 
Artists"}], "secondarytypes": ["Compilation"], "type": "Album", "id": "c14707bf-0b73-3fa9-8efe-7a60d2d372ff", 
"title": "Triple J: Hottest Box"}, {"artists": [{"id": "89ad4ac3-39f7-470e-963a-56509c546377", "name": 
"Various Artists"}], "secondarytypes": ["Compilation"], "type": "Album", "id": 
"a72f18dd-86d1-3208-bb2c-459a1189a728", "title": "Rep\u00e9rages, Volume 12"}, {"artists": [{"id": 
"a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], "secondarytypes": ["Compilation"], "type": 
"Album", "id": "30f765ef-d7f0-4cce-8a3b-d6e1069f1dda", "title": "5 Album Set"}, {"artists": [{"id": 
"a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], "type": "EP", "id": 
"e418e013-c2a4-3d77-af37-2e92cd48ba5a", "title": "College Karma EP"}, {"artists": [{"id": "a74b1b7f-71a5
 -4011-9441-d0b5e4122711", "name": "Radiohead"}], "type": "Single", "id": 
"1f4d4fe7-ddb0-36b8-8fd9-283d40190c3b", "title": "Paranoid Android"}, {"artists": [{"id": 
"89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various Artists"}], "secondarytypes": ["Compilation"], 
"type": "Album", "id": "6edd1b32-d020-3f63-b340-16963b1f989e", "title": "Triple J: Hottest 100, Volume 5"}, 
{"artists": [{"id": "7e2b0679-002d-49ad-9748-b5d97ef123ea", "name": "\u6c60\u983c\u5e83"}], "secondarytypes": 
["Soundtrack"], "type": "Album", "id": "ace5135c-1fde-33bd-bfd0-139c8c58212d", "title": "Ergo Proxy Original 
Soundtrack opus 01"}, {"artists": [{"id": "a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], 
"secondarytypes": ["Compilation"], "type": "Album", "id": "f720c4d7-a80d-4466-b92d-9d1de99ddba7", "title": 
"World Ballads Collection"}, {"artists": [{"id": "89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various 
Artists"}], "secondarytypes": ["Compilation"], "type": "Album", "id": "ee62c4
 93-eb1e-36f7-99db-5d3bc5b0faee", "title": "Now That\u2019s What I Call Music! 37"}, {"artists": [{"id": 
"89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various Artists"}], "secondarytypes": ["Compilation"], 
"type": "Album", "id": "b95cceaf-4108-3ecc-a037-b76e4c04300e", "title": "Shine: Best of 97"}, {"artists": 
[{"id": "a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], "secondarytypes": ["Compilation"], 
"type": "Album", "id": "80975c59-4094-30d5-bb58-365e8b061274", "title": "The Best Of"}], "title": "Paranoid 
Android", "id": "9f9cf187-d6f9-437f-9d98-d59cdbd52757"}, {"artists": [{"id": 
"a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], "duration": 386, "releasegroups": [{"artists": 
[{"id": "89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various Artists"}], "secondarytypes": 
["Compilation"], "type": "Album", "id": "a87c0938-2a56-31dc-a816-e9f78fc255e6", "title": "The Best\u2026 
Album in the World\u2026 Ever! Volume 6"}], "title": "Paranoid Android", "
 id": "a15baa69-91c0-4d86-b59c-454ab441d658"}, {"artists": [{"id": "a74b1b7f-71a5-4011-9441-d0b5e4122711", 
"name": "Radiohead"}], "duration": 382, "releasegroups": [{"artists": [{"id": 
"a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], "secondarytypes": ["Live"], "type": "Album", 
"id": "afe72a58-1de1-4ebf-a671-97a7b5069003", "title": "OK MTV"}], "title": "Paranoid Android", "id": 
"a15ea3c3-190f-424b-8bbc-3cb3d3a1791f"}, {"artists": [{"id": "a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": 
"Radiohead"}], "duration": 383, "releasegroups": [{"artists": [{"id": "a74b1b7f-71a5-4011-9441-d0b5e4122711", 
"name": "Radiohead"}], "type": "Album", "id": "b1392450-e666-3926-a536-22c65f834433", "title": "OK 
Computer"}], "title": "Paranoid Android", "id": "a53a283c-0288-4184-a59e-8e1d3e5f4b8b"}, {"artists": [{"id": 
"a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], "duration": 382, "releasegroups": [{"artists": 
[{"id": "a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "R
 adiohead"}], "secondarytypes": ["Live"], "type": "Album", "id": "99dc2e64-2a50-40a9-a425-41c4ffb8f033", 
"title": "1997-10-18: Le Z\u00e9nith, Paris, France"}, {"artists": [{"id": 
"89ad4ac3-39f7-470e-963a-56509c546377", "name": "Various Artists"}], "secondarytypes": ["Compilation"], 
"type": "Album", "id": "8cd3ea59-8d45-4ca5-a436-4ddfd1abcd0e", "title": "Triple J: Hottest 100"}], "title": 
"Paranoid Android", "id": "be4a59c7-d4e3-45e1-8bfc-09e28fc8d5aa"}, {"id": 
"c6745e59-f95f-4d46-ad1a-5f63739abb37"}, {"artists": [{"id": "a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": 
"Radiohead"}], "duration": 384, "releasegroups": [{"artists": [{"id": "89ad4ac3-39f7-470e-963a-56509c546377", 
"name": "Various Artists"}], "secondarytypes": ["Compilation"], "type": "Album", "id": 
"15ea7f45-f522-3c37-9c44-b3e67d6d92e1", "title": "The Best Album Tracks... Ever!"}], "title": "Paranoid 
Android", "id": "c83abbc7-9329-476e-a00f-cf9324a4c152"}, {"artists": [{"id": 
"a74b1b7f-71a5-4011-9441-d0b5e4122711
 ", "name": "Radiohead"}], "duration": 376, "releasegroups": [{"artists": [{"id": 
"a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], "secondarytypes": ["Compilation"], "type": 
"Album", "id": "e449d0a3-5661-338c-a51e-a9910f725fa5", "title": "Towering Above the Rest"}], "title": 
"Paranoid Android", "id": "cb9a5ed5-66d5-4e97-ae3b-b5710de0283d"}, {"artists": [{"id": 
"a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], "duration": 380, "releasegroups": [{"artists": 
[{"id": "a74b1b7f-71a5-4011-9441-d0b5e4122711", "name": "Radiohead"}], "secondarytypes": ["Compilation"], 
"type": "Album", "id": "e449d0a3-5661-338c-a51e-a9910f725fa5", "title": "Towering Above the Rest"}], "title": 
"Paranoid Android", "id": "ce45956e-5d4a-4f2e-9c67-ed65d2b1828a"}], "score": 0.942115, "id": 
"d7cbae5f-283c-48f5-8442-a3a48e655ed4"}]}
diff --git a/tests/lua-factory/sources/data/chromaprint_radiohead_paranoid_android.txt 
b/tests/lua-factory/sources/data/chromaprint_radiohead_paranoid_android.txt
new file mode 100644
index 0000000..5553be0
--- /dev/null
+++ b/tests/lua-factory/sources/data/chromaprint_radiohead_paranoid_android.txt
@@ -0,0 +1 @@
+AQADtEmUaEkSRZEGAPjwEP-Q45gTPHiRA2KeI_QjPFLxH83icDm6Hz_iQyMZpNfxH36EVo_wDu-RnoSaUDHeHJ-GUjtO6MGXPfCkFvqRD9XxfMXHDc14VD3yF9qRNw9-NLpxcyIelDzSD1fw45YQKo3QH_-JfSVxHb_U48X1ILSOyxe0XEEvGTeP5kZnVoHarsiNhg_RC3-DK8ZJ_MP3I1IqQUd-pGOWSaj84J8hpmHQI72Uo2-Qc0f74At35DrxLIf3DdWFdkGj1vgR5iM6xeFxHdeF79B-IV2OUgq7FKeIC5v64cse_Pg0C6EJ8fTxH_fROElRUYcfhI9C4Lawa1txBT-aKjv-Iz6skBn6Q-WDH3fO4NqOF_2RHj9aHvkyoXbsQG10hGFE0niIn6h-NP_xHZ-eIp_EIZl8PITVKajt4N1x6nh4dDfMmEIyHaF6-Lj-IdehScsw5QjtYw8nSjiJPoeXoE6I2FlK6AnyC5O-Fe0iGs90PHnRVEzBPMdxnDnOvDhNdEuk46bho8zwPsEvBfwRrcNl_MinY5IuVMmJhymR58MF6smOnKAqPniycHiiEFN-FDET4oPHPjgf_MeDqkdz9jjyBxe2Mccj5TmK5pLw8XiOxw8qY8qFB0i-ENeW43NwaiifsTh2XYib4-bxH11xrenxiCPyDEygw5PeI27ywYfV6eiPi3j1oTzSbtCHmwdVPfhzuNAepcgPfCr-YbZS9Dgv5DF0_ug1Drc6Hflz3FE6fMFvhNcG_-ihjzvyCyX8pChJ4_nR8oPDVqg-5NmRPB--tGjiHOVVfEpyPMKPhz3yHvoRSvKx5T1u4dO0IZkqJUeu_PhRMvAl_MeVm7D440p0eN2R7EROD8-GSwYfsjgPOjn6w9_xIIQujFkunE_w8EbJH-kZoWcmfEe-QBd2Hteo4Isij0iTszieoz6axsZ5PEfDow5LPEquID8e7vDx8Dj6B82ZqjiiJ_ixnReOH
 
_8MV9qEMmj849gzIfbRTcMWP9CZEPlxH-aD_cJdPDzRHmFibqh_5Flw4Xo-fHiO50EOLXyGSC_-FN9OcBpCNoeWF8dxBdLzocoaC44L_fgHnsO5SYau4aLhI29xbmioH3kGVfibGNVZHFI-XLyQNzj65IF_VG-KcOHhU6hGXOiP_fgl_IWj5MGLiQ90qUN7eFqEvscPaZRE9EF3PEfMyyjXEB55HD6PUGYs6InQHenIHI-O87B75IM0HXx4_PAJ7TWuJB1iJSJ-HBez40xWXMeDVKEUTdBzxPvRPMMPhza6FpMqNNXwHcejNghH3RAZFZFI4sef4EcO6dmRO_jxo8_hL52I80jDY9qPH0d9-EQrCRd-Q8sxaRle9NFxMPIP_eiJO6iObw_xXCj80hBzHV1InAquN6h9GHrxDBWPH88RWifc6vhp_DiPyWKOcD_ePBBDsbhRysfRH81OPJKOh6JwaMnxZjFCGfUVfDm8VVJxbFU2HRVNJE195LmE_3iXBrx4XMSHLMp4JJWUEs-LXkMp6oH5HOWR79DSJkf4E5eIRxeakcmWoDaXog-H9CzEZb0Q8mSGC__Rh2gMjkTzoXMe_MionEYyaT-oWsRzVGlxJzqu40e6RHqQnDlx_PiHLygTa2g2HfeRPEGe45GkMMgdfA_0R0idHH929GjSoko0GulvlMyCg_7xhMkR-zIeoQf1493BKXFiOPnxkMKP4gdxJhfyiNDiXsiV4YePPh8m67BpONaOvjxy7dAsovnxTziuEy-aXhV6hD4ahxd-PBpCMzkaR1MU4dzR_NC-4I1QC1OuHh-L99Dx3ThK8vg0H17GGeeF7hzuo9-h5QuHW7hefBIe4lYXSHkRixJI0_j34QtMXAp-46bxPOhv_B_yI7kTozwvuDooJw_q43F83CHOFufxG-EhXoqHOkXNQ_-RPg96_Cbx5ccX_Wj2EeGNRP_x5MIp4cmOWRT6D31SPImHSD_ED7
 
FuCe3qBM-UB59QH01-3Gg-oR9OZSvqaKnQHB_iPYGaUjyeIUyP_sePJ2rwJ8ajHedxnA985TiaH3ETDs8NMxKHfjw-BvEDLqG-4vnxI8cXxui3wTwqilbwfEpwlM-O5jguQc-MPgaTC-_RFyJ_TA9KvLhrXIZ1aMeHPfhxkBveB8ePUxN2nTiVQkvMDF2J6BS-C_UN__hxsXiOc_JA5zESHjmT4ykuHTf-Ej15nD1yJLm44A0u9DHhiMcnmjh8ChdOwztx2MaP7XiPVAVE0UTJo_MFyil6nBd0Hi81HC1fwkoHOyu0M_h2BRe0H2G24luMTwfzoBmJ-8ct9EfzI58u44Ye5UdIBr2O8_iC82iWHOGe4zSaa9C-4-IRHnYCc_jxIz8SHq16XMd_VF91-C38HsmeIRcuH5dy3Ohu-EyHa0d6XIdbUThemPHAn9BvHFZRN_iMHsqqZMZd5McpnEePf8HU7HCOfIeyagn643vQL_CpCpWPe4FG-Ecvood39KSEo6EODXeDP0STShqeHdZ1HD_UD4GAdSiJjxRQAgJAgKFYEEKMUIQJBJCxBBwAIdJMMKUI0AIBcABTEDEMJEIAAGUIAIoRRgQBwCgDiAGQQ8EIgEQYQQhQSghAjAIMEGGoAAAy4YgQDnCEhAREAAYQAsYQZBwU0AjACFGKIUGEAcgihJRgzBgABEBECeMYEIAwYJECAihFCDBEOA2IcAgpYTkzhAkAACSCCaKIIwQChYiBADGBGBQCMIAUYAQAuIg4BBDhjBPAUAIIck6AQYwATgAgjBIAEAIIgoBACQgCQAiKmAOEUAIMAQAAIgAxAAFBhFHEKGGMVUQgwoQAhjoGAJGAKEGEMoRgIIAgCBgBGCIKRIUQE1YAqhJghBiBBIKCCKEAIVMpphhhBijDBACIKAGcQAYoCiQRiIgjECASAUAUYsAZAhAQyCFnlAcKWAEE4N4QIACQDBlkFSCCCAIsQQqRgYA
 
yQBCCmGJEGgIgAMIpICBBCjmADCgOECEAJIAxyAgnAgmBBENWCMAQBMAQToQDUhNlFIFGKEAMM8AYM5VIThFAkEAQOGERQQQQAwwBiBnlABEEGKUMA4QIowBYgiBixBHMMWaAQgoJgoixkAJAAAAMGAAAQEAAoZkAwhgihQLMAYawggYgaoGA3CAIlRFEGUSMAUYRwQgCRnATACFSKISoI4IAw5ASRBEiEAAEAE6cUhIYoIQwggoChDCSMETEIAIoAgyBghFomAEACEKYAIAIhQRAgghiiAMGKeAMcIAIIBAwAAgkADCEEwMQosQpg5QwTAjAKHLUCgTAA8wAAxBhBAABhDiIABgQIEQYBhgQyHlCODBeIEYSwoYYgAyhgIjpIHFsMcAkIcAgwIAggDgDBKPKIGJEAEIwwoRChAmnjLPOIUkMFooIgZQVAgEkGDJGCQMoEwIBQQEREDDoBFFAMEAEIhoBZgyjihgBARAAICEMIAoAQAw0mHJBCKBEIISIQUwB5pgA0CAClDACaEUEAowYAxC1AgA
diff --git a/tests/lua-factory/sources/data/config.ini b/tests/lua-factory/sources/data/config.ini
index 5bdf0a5..0bc075b 100644
--- a/tests/lua-factory/sources/data/config.ini
+++ b/tests/lua-factory/sources/data/config.ini
@@ -11,3 +11,5 @@ data = acoustid_norah_jones_chasing_pirates.txt
 data = acoustid_trombone_shorty_buckjump.txt
 
[https://api.acoustid.org/v2/lookup?client=ACOUSTID_TEST_MOCK_API_KEY&meta=recordings+releasegroups&duration=601]
 data = acoustid_philip_glass_the_passion_of.txt
+[https://api.acoustid.org/v2/lookup?client=ACOUSTID_TEST_MOCK_API_KEY&meta=recordings+releasegroups&duration=385]
+data = acoustid_radiohead_paranoid_android.txt
diff --git a/tests/lua-factory/sources/test_lua_acoustid.c b/tests/lua-factory/sources/test_lua_acoustid.c
index a377460..a832f48 100644
--- a/tests/lua-factory/sources/test_lua_acoustid.c
+++ b/tests/lua-factory/sources/test_lua_acoustid.c
@@ -36,6 +36,7 @@
 #define FINGERPRINT_NORAH_JONES  GRESOURCE_PREFIX "chromaprint_norah_jones_chasing_pirates.txt"
 #define FINGERPRINT_PHILIP_GLAS  GRESOURCE_PREFIX "chromaprint_philip_glass_the_passion_of.txt"
 #define FINGERPRINT_TROMBONE_SH  GRESOURCE_PREFIX "chromaprint_trombone_shorty_buckjump.txt"
+#define FINGERPRINT_RADIOHEAD_PA GRESOURCE_PREFIX "chromaprint_radiohead_paranoid_android.txt"
 
 static gchar *
 resolve (GrlSource   *source,
@@ -125,6 +126,11 @@ test_resolve_fingerprint (void)
      "5ae54dee-4dba-49c0-802a-a3b3b3adfe9b", "Philip Glass",
      "52f1f9d5-5166-4ceb-9289-6fb1a87f367c", "The Passion of Ramakrishna",
      "298e15a1-b29b-4947-9dca-ec3634f9ebde", "Part 2" },
+   { FINGERPRINT_RADIOHEAD_PA, 385,
+     "a74b1b7f-71a5-4011-9441-d0b5e4122711", "Radiohead",
+     "67b2ff2a-38e9-32d0-84a0-85ac98cb16b4", "The Greatest Hits of 1997",
+     "33e369bb-b8de-402f-b88f-594dea3544dc", "Paranoid Android",
+   },
   };
 
   source = test_lua_factory_get_source (ACOUSTID_ID, ACOUSTID_OPS);
diff --git a/tests/lua-factory/sources/test_lua_acoustid.gresource.xml 
b/tests/lua-factory/sources/test_lua_acoustid.gresource.xml
index 7d61e9d..4e56374 100644
--- a/tests/lua-factory/sources/test_lua_acoustid.gresource.xml
+++ b/tests/lua-factory/sources/test_lua_acoustid.gresource.xml
@@ -5,5 +5,6 @@
     <file compressed="false">data/chromaprint_norah_jones_chasing_pirates.txt</file>
     <file compressed="false">data/chromaprint_philip_glass_the_passion_of.txt</file>
     <file compressed="false">data/chromaprint_trombone_shorty_buckjump.txt</file>
+    <file compressed="false">data/chromaprint_radiohead_paranoid_android.txt</file>
   </gresource>
 </gresources>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]