Add more fixtures for release groups and releases

This commit is contained in:
Claudio Ortolina
2024-12-14 23:24:21 +03:00
parent 632f5c4661
commit a19d42ae30
3 changed files with 2937 additions and 1 deletions
@@ -13,10 +13,14 @@ defmodule Mix.Tasks.MusicBrainz.RefreshFixtures do
@fixture_files %{
"release_group - marillion - marbles.json" =>
"https://musicbrainz.org/ws/2/release-group/20790e26-98e4-3ad3-a67f-b674758b942d?fmt=json&inc=artists+genres+releases+release-group-rels",
"release_group - avantasia - the mystery of time.json" =>
"https://musicbrainz.org/ws/2/release-group/a40fdacb-2f29-4385-8177-e6b72c93a442?fmt=json&inc=artists+genres+releases+release-group-rels",
"release_group_with_includes - mariusz duda - lockdown trilogy.json" =>
"https://musicbrainz.org/ws/2/release-group/5db72bc0-6ce3-4beb-bd51-86b58ed8cf71?fmt=json&inc=artists+genres+releases+release-group-rels",
"release - marillion - marbles.json" =>
"https://musicbrainz.org/ws/2/release/0e290154-5375-4f4f-a658-4a92bf02faa5?fmt=json&inc=release-groups"
"https://musicbrainz.org/ws/2/release/0e290154-5375-4f4f-a658-4a92bf02faa5?fmt=json&inc=release-groups",
"release - avantasia - the mystery of time.json" =>
"https://musicbrainz.org/ws/2/release/003d1505-b3ac-4acf-bed1-02e2c8134a26?fmt=json&inc=release-groups"
}
@impl Mix.Task
@@ -0,0 +1,51 @@
{
"asin": null,
"barcode": "727361300722",
"country": "DE",
"cover-art-archive": {
"artwork": true,
"back": true,
"count": 2,
"darkened": false,
"front": true
},
"date": "2013-03-30",
"disambiguation": "",
"id": "003d1505-b3ac-4acf-bed1-02e2c8134a26",
"packaging": "Jewel Case",
"packaging-id": "ec27701a-4a22-37f4-bfac-6616e0f9750a",
"quality": "normal",
"release-events": [
{
"area": {
"disambiguation": "",
"id": "85752fda-13c4-31a3-bee5-0e5cb1f51dad",
"iso-3166-1-codes": [
"DE"
],
"name": "Germany",
"sort-name": "Germany",
"type": null,
"type-id": null
},
"date": "2013-03-30"
}
],
"release-group": {
"disambiguation": "",
"first-release-date": "2013-03-27",
"id": "a40fdacb-2f29-4385-8177-e6b72c93a442",
"primary-type": "Album",
"primary-type-id": "f529b476-6e62-324f-b0aa-1f3e33d313fc",
"secondary-type-ids": [],
"secondary-types": [],
"title": "The Mystery of Time: A Rock Epic"
},
"status": "Official",
"status-id": "4e304316-386d-3409-af2e-78857eec5cfe",
"text-representation": {
"language": "eng",
"script": "Latn"
},
"title": "The Mystery of Time: A Rock Epic"
}
File diff suppressed because it is too large Load Diff