From ee8a56b48d7366a025b09b6aa9fbe855ee2684fb Mon Sep 17 00:00:00 2001 From: Sambhav Kothari Date: Thu, 13 Jul 2017 02:53:50 +0530 Subject: [PATCH] Add tests for mbjson --- test/data/ws_data/artist.json | 38 + test/data/ws_data/country.json | 39 + test/data/ws_data/media.json | 11 + test/data/ws_data/recording.json | 632 ++++++++++++++++ test/data/ws_data/release.json | 290 ++++++++ test/data/ws_data/release_group.json | 1019 ++++++++++++++++++++++++++ test/data/ws_data/track.json | 13 + test/test_mbjson.py | 3 +- 8 files changed, 2043 insertions(+), 2 deletions(-) create mode 100644 test/data/ws_data/artist.json create mode 100644 test/data/ws_data/country.json create mode 100644 test/data/ws_data/media.json create mode 100644 test/data/ws_data/recording.json create mode 100644 test/data/ws_data/release.json create mode 100644 test/data/ws_data/release_group.json create mode 100644 test/data/ws_data/track.json diff --git a/test/data/ws_data/artist.json b/test/data/ws_data/artist.json new file mode 100644 index 000000000..363ce2a08 --- /dev/null +++ b/test/data/ws_data/artist.json @@ -0,0 +1,38 @@ +{ + "gender":"Male", + "type-id":"b6e035f4-3ce9-331c-97df-83397230b0df", + "id":"b8a7c51f-362c-4dcb-a259-bc6e0095f0a6", + "gender-id":"36d3d30a-839d-3eda-8cb3-29be4384e4a9", + "type":"Person", + "ipis":[ + "00600664284" + ], + "area":{ + "iso-3166-1-codes":[ + "GB" + ], + "disambiguation":"", + "id":"8a754a16-0027-3a29-b6d7-2b40ea0481ed", + "name":"United Kingdom", + "sort-name":"United Kingdom" + }, + "begin_area":{ + "disambiguation":"", + "id":"3bad79a2-895a-49ff-8277-fe683fade6b2", + "name":"Hebden Bridge", + "sort-name":"Hebden Bridge" + }, + "country":"GB", + "disambiguation":"famous UK singer-songwriter", + "name":"Ed Sheeran", + "sort-name":"Sheeran, Ed", + "end_area":null, + "isnis":[ + "0000000364434564" + ], + "life-span":{ + "end":null, + "begin":"1991-02-17", + "ended":false + } +} \ No newline at end of file diff --git a/test/data/ws_data/country.json b/test/data/ws_data/country.json new file mode 100644 index 000000000..c31242ff3 --- /dev/null +++ b/test/data/ws_data/country.json @@ -0,0 +1,39 @@ +{ + "country":"GB", + "barcode":"", + "packaging":"Cardboard/Paper Sleeve", + "disambiguation":"", + "cover-art-archive":{ + "darkened":false, + "back":false, + "count":1, + "artwork":true, + "front":true + }, + "date":"1986-03", + "status-id":"4e304316-386d-3409-af2e-78857eec5cfe", + "asin":null, + "quality":"normal", + "title":"Master of Puppets", + "text-representation":{ + "script":"Latn", + "language":"eng" + }, + "release-events":[ + { + "area":{ + "disambiguation":"", + "iso-3166-1-codes":[ + "GB" + ], + "name":"United Kingdom", + "id":"8a754a16-0027-3a29-b6d7-2b40ea0481ed", + "sort-name":"United Kingdom" + }, + "date":"1986-03" + } + ], + "id":"03e4ebe1-0a44-411c-8e19-78e0768603f8", + "status":"Official", + "packaging-id":"f7101ce3-0384-39ce-9fde-fbbd0044d35f" +} \ No newline at end of file diff --git a/test/data/ws_data/media.json b/test/data/ws_data/media.json new file mode 100644 index 000000000..963552b98 --- /dev/null +++ b/test/data/ws_data/media.json @@ -0,0 +1,11 @@ +{ + "format-id":"3e9080b0-5e6c-34ab-bd15-f526b6306a64", + "track-count":10, + "position":1, + "title":"", + "track-offset":0, + "format":"12\" Vinyl", + "tracks":[ + + ] +} \ No newline at end of file diff --git a/test/data/ws_data/recording.json b/test/data/ws_data/recording.json new file mode 100644 index 000000000..fd2debc02 --- /dev/null +++ b/test/data/ws_data/recording.json @@ -0,0 +1,632 @@ +{ + "disambiguation":"", + "id":"cb2cc207-8125-445c-9ef9-6ea44eee959a", + "aliases":[ + { + "type":null, + "sort-name":"Thinking Out Loud’", + "primary":null, + "end":null, + "ended":false, + "begin":null, + "locale":null, + "name":"Thinking Out Loud’", + "type-id":null + } + ], + "video":false, + "isrcs":[ + "GBAHS1400099" + ], + "artist-credit":[ + { + "name":"Ed Sheeran", + "joinphrase":"", + "artist":{ + "disambiguation":"famous UK singer-songwriter", + "name":"Ed Sheeran", + "sort-name":"Sheeran, Ed", + "id":"b8a7c51f-362c-4dcb-a259-bc6e0095f0a6" + } + } + ], + "relations":[ + { + "target-credit":"", + "begin":null, + "attributes":[ + + ], + "direction":"backward", + "attribute-values":{ + + }, + "type-id":"451076df-61cf-46ab-9921-555cab2f050d", + "source-credit":"", + "type":"DJ-mix", + "target-type":"recording", + "recording":{ + "disambiguation":"", + "aliases":[ + + ], + "id":"89f35c6f-84f4-4b5d-8966-ef2572faf230", + "isrcs":[ + + ], + "video":false, + "length":317000, + "artist-credit":[ + { + "artist":{ + "disambiguation":"", + "sort-name":"Earworm, DJ", + "name":"DJ Earworm", + "id":"e407802a-bfc3-4979-a5e1-3196ccf9c8d9" + }, + "name":"DJ Earworm", + "joinphrase":"" + } + ], + "title":"United State of Pop 2015 (50 Shades of Pop)" + }, + "end":null, + "ended":false + }, + { + "attributes":[ + + ], + "begin":null, + "target-credit":"", + "type-id":"a3005666-a872-32c3-ad06-98af558e99b0", + "attribute-values":{ + + }, + "direction":"forward", + "work":{ + "id":"dc469dc8-198e-42e5-b5a7-6be2f0a95ac0", + "language":"eng", + "aliases":[ + + ], + "type":null, + "disambiguation":"", + "languages":[ + "eng" + ], + "attributes":[ + + ], + "title":"Thinking Out Loud", + "relations":[ + { + "direction":"backward", + "type-id":"a3005666-a872-32c3-ad06-98af558e99b0", + "attribute-values":{ + + }, + "attributes":[ + "cover" + ], + "begin":null, + "target-credit":"", + "type":"performance", + "source-credit":"", + "recording":{ + "length":224000, + "artist-credit":[ + { + "artist":{ + "id":"31c0df3c-2d23-41d3-a772-ec3cfc3cc625", + "disambiguation":"", + "sort-name":"Kidz Bop", + "name":"Kidz Bop" + }, + "joinphrase":"", + "name":"Kidz Bop" + } + ], + "title":"Thinking Out Loud", + "disambiguation":"", + "aliases":[ + + ], + "id":"5718a458-fefe-423a-9300-9758cdd0f69e", + "isrcs":[ + + ], + "video":false + }, + "ended":false, + "target-type":"recording", + "end":null + }, + { + "begin":null, + "attributes":[ + "cover" + ], + "target-credit":"", + "type-id":"a3005666-a872-32c3-ad06-98af558e99b0", + "attribute-values":{ + + }, + "direction":"backward", + "target-type":"recording", + "recording":{ + "title":"Thinking out loud", + "artist-credit":[ + { + "name":"Sofia Truta", + "joinphrase":"", + "artist":{ + "id":"45440d49-cee2-458e-a558-9a22585fa0ce", + "disambiguation":"", + "name":"Sofia Truta", + "sort-name":"Truta, Sofia" + } + } + ], + "length":222179, + "video":false, + "isrcs":[ + + ], + "id":"5d240d0e-bbf5-4190-872d-116f532d9be2", + "aliases":[ + + ], + "disambiguation":"" + }, + "end":null, + "ended":false, + "source-credit":"", + "type":"performance" + }, + { + "target-credit":"", + "attributes":[ + "cover" + ], + "begin":null, + "attribute-values":{ + + }, + "type-id":"a3005666-a872-32c3-ad06-98af558e99b0", + "direction":"backward", + "target-type":"recording", + "recording":{ + "disambiguation":"", + "video":false, + "isrcs":[ + + ], + "id":"6f6a7b2b-1b68-4b82-9fab-4cf952167e90", + "aliases":[ + + ], + "artist-credit":[ + { + "joinphrase":"", + "name":"Luke Wade", + "artist":{ + "name":"Luke Wade", + "sort-name":"Wade, Luke", + "disambiguation":"", + "id":"25f90957-0cdd-45e4-a1ab-3362dc5681fa" + } + } + ], + "length":230000, + "title":"Thinking Out Loud" + }, + "ended":false, + "end":null, + "source-credit":"", + "type":"performance" + }, + { + "attribute-values":{ + + }, + "type-id":"a3005666-a872-32c3-ad06-98af558e99b0", + "direction":"backward", + "target-credit":"", + "attributes":[ + "cover" + ], + "begin":null, + "recording":{ + "aliases":[ + + ], + "id":"c8133db7-f5ee-429d-90dd-586ad40b07e8", + "isrcs":[ + + ], + "video":false, + "disambiguation":"", + "title":"Thinking Out Loud", + "length":253000, + "artist-credit":[ + { + "name":"Amy Wadge", + "joinphrase":"", + "artist":{ + "id":"e6523192-ca22-40ab-a82c-995b82594031", + "disambiguation":"", + "sort-name":"Wadge, Amy", + "name":"Amy Wadge" + } + } + ] + }, + "target-type":"recording", + "ended":false, + "end":null, + "source-credit":"", + "type":"performance" + }, + { + "attribute-values":{ + + }, + "type-id":"a3005666-a872-32c3-ad06-98af558e99b0", + "direction":"backward", + "target-credit":"", + "attributes":[ + "partial" + ], + "begin":null, + "recording":{ + "title":"Thinking Out Loud / Four Five Seconds", + "length":232571, + "artist-credit":[ + { + "artist":{ + "id":"18689349-0ec3-4fe0-b9da-bec4899560f0", + "disambiguation":"", + "sort-name":"Clark, Liddy", + "name":"Liddy Clark" + }, + "name":"Liddy Clark", + "joinphrase":"" + } + ], + "isrcs":[ + + ], + "video":false, + "aliases":[ + + ], + "id":"c8e0a6bf-3034-4879-a865-34fd89556054", + "disambiguation":"" + }, + "ended":false, + "target-type":"recording", + "end":null, + "source-credit":"", + "type":"performance" + }, + { + "attributes":[ + + ], + "begin":null, + "target-credit":"", + "direction":"backward", + "type-id":"a3005666-a872-32c3-ad06-98af558e99b0", + "attribute-values":{ + + }, + "type":"performance", + "source-credit":"", + "end":null, + "recording":{ + "video":false, + "isrcs":[ + "GBAHS1400099" + ], + "id":"cb2cc207-8125-445c-9ef9-6ea44eee959a", + "aliases":[ + { + "name":"Thinking Out Loud’", + "type-id":null, + "begin":null, + "locale":null, + "type":null, + "sort-name":"Thinking Out Loud’", + "primary":null, + "ended":false, + "end":null + } + ], + "disambiguation":"", + "title":"Thinking Out Loud", + "artist-credit":[ + { + "artist":{ + "disambiguation":"famous UK singer-songwriter", + "name":"Ed Sheeran", + "sort-name":"Sheeran, Ed", + "id":"b8a7c51f-362c-4dcb-a259-bc6e0095f0a6" + }, + "joinphrase":"", + "name":"Ed Sheeran" + } + ], + "length":281000 + }, + "target-type":"recording", + "ended":false + }, + { + "ended":false, + "recording":{ + "video":false, + "isrcs":[ + + ], + "id":"cc5bc2ea-5ff8-48e0-a416-dde9a942c53c", + "aliases":[ + + ], + "disambiguation":"", + "title":"Thinking Out Loud", + "artist-credit":[ + { + "artist":{ + "disambiguation":"classical violinist", + "sort-name":"Garrett, David", + "name":"David Garrett", + "id":"88be1fb5-0112-4549-9608-526591c7f415" + }, + "joinphrase":"", + "name":"David Garrett" + } + ], + "length":223000 + }, + "target-type":"recording", + "end":null, + "type":"performance", + "source-credit":"", + "type-id":"a3005666-a872-32c3-ad06-98af558e99b0", + "attribute-values":{ + + }, + "direction":"backward", + "begin":null, + "attributes":[ + "cover", + "instrumental" + ], + "target-credit":"" + }, + { + "target-credit":"", + "attributes":[ + "cover" + ], + "begin":null, + "attribute-values":{ + + }, + "type-id":"a3005666-a872-32c3-ad06-98af558e99b0", + "direction":"backward", + "recording":{ + "length":219374, + "artist-credit":[ + { + "artist":{ + "id":"b25a57f6-2ddb-4f29-9d12-b0c308cfc845", + "name":"Tom Law", + "sort-name":"Law, Tom", + "disambiguation":"" + }, + "name":"Tom Law", + "joinphrase":"" + } + ], + "title":"Thinking Out Loud", + "disambiguation":"", + "isrcs":[ + + ], + "video":false, + "aliases":[ + + ], + "id":"e5705f6f-f450-49ab-9397-96c6b030e251" + }, + "end":null, + "target-type":"recording", + "ended":false, + "type":"performance", + "source-credit":"" + }, + { + "source-credit":"", + "type":"performance", + "end":null, + "recording":{ + "disambiguation":"", + "isrcs":[ + + ], + "video":false, + "aliases":[ + + ], + "id":"fa9f3d37-3e43-428f-8a97-49311ff10775", + "length":163000, + "artist-credit":[ + { + "name":"Soul System", + "joinphrase":"", + "artist":{ + "id":"f3a47c64-e32a-473d-af34-b393d0c2f302", + "sort-name":"Soul System", + "name":"Soul System", + "disambiguation":"X-Factor 10 Italy" + } + } + ], + "title":"Thinking out Loud" + }, + "target-type":"recording", + "ended":false, + "target-credit":"", + "begin":null, + "attributes":[ + "cover" + ], + "direction":"backward", + "attribute-values":{ + + }, + "type-id":"a3005666-a872-32c3-ad06-98af558e99b0" + }, + { + "type":"wikidata", + "source-credit":"", + "ended":false, + "target-type":"url", + "end":null, + "target-credit":"", + "begin":null, + "attributes":[ + + ], + "direction":"backward", + "attribute-values":{ + + }, + "url":{ + "id":"62a2695d-9218-487a-8b5e-d05dd00aa202", + "resource":"https://www.wikidata.org/wiki/Q17332468" + }, + "type-id":"587fdd8f-080e-46a9-97af-6425ebbcb3a2" + }, + { + "target-type":"artist", + "ended":false, + "end":null, + "source-credit":"", + "type":"writer", + "attributes":[ + + ], + "artist":{ + "name":"Ed Sheeran", + "sort-name":"Sheeran, Ed", + "disambiguation":"famous UK singer-songwriter", + "aliases":[ + + ], + "id":"b8a7c51f-362c-4dcb-a259-bc6e0095f0a6" + }, + "begin":null, + "target-credit":"", + "type-id":"a255bca1-b157-4518-9108-7b147dc3fc68", + "attribute-values":{ + + }, + "direction":"backward" + }, + { + "source-credit":"", + "type":"writer", + "ended":false, + "target-type":"artist", + "end":null, + "direction":"backward", + "attribute-values":{ + + }, + "type-id":"a255bca1-b157-4518-9108-7b147dc3fc68", + "target-credit":"", + "begin":null, + "artist":{ + "name":"Amy Wadge", + "sort-name":"Wadge, Amy", + "disambiguation":"", + "aliases":[ + + ], + "id":"e6523192-ca22-40ab-a82c-995b82594031" + }, + "attributes":[ + + ] + } + ], + "type-id":null, + "iswcs":[ + + ] + }, + "ended":false, + "target-type":"work", + "end":null, + "type":"performance", + "source-credit":"" + }, + { + "end":null, + "target-type":"artist", + "ended":false, + "type":"performer", + "source-credit":"", + "target-credit":"", + "artist":{ + "id":"b8a7c51f-362c-4dcb-a259-bc6e0095f0a6", + "aliases":[ + + ], + "sort-name":"Sheeran, Ed", + "name":"Ed Sheeran", + "disambiguation":"famous UK singer-songwriter" + }, + "attributes":[ + + ], + "begin":null, + "attribute-values":{ + + }, + "type-id":"628a9658-f54c-4142-b0c0-95f031b544da", + "direction":"backward" + }, + { + "source-credit":"", + "type":"vocal", + "target-type":"artist", + "end":null, + "ended":false, + "direction":"backward", + "type-id":"0fdbe3c6-7700-4a31-ae54-b53f06ae1cfa", + "attribute-values":{ + + }, + "artist":{ + "aliases":[ + + ], + "id":"b8a7c51f-362c-4dcb-a259-bc6e0095f0a6", + "disambiguation":"famous UK singer-songwriter", + "sort-name":"Sheeran, Ed", + "name":"Ed Sheeran" + }, + "begin":null, + "attributes":[ + + ], + "target-credit":"" + } + ], + "length":281000, + "title":"Thinking Out Loud" +} \ No newline at end of file diff --git a/test/data/ws_data/release.json b/test/data/ws_data/release.json new file mode 100644 index 000000000..e1b3f1afa --- /dev/null +++ b/test/data/ws_data/release.json @@ -0,0 +1,290 @@ +{ + "release-group": { + "first-release-date": "1973-03-24", + "artist-credit": [ + { + "name": "Pink Floyd", + "artist": { + "id": "83d91898-7763-47d7-b03b-b92132375c47", + "disambiguation": "", + "sort-name": "Pink Floyd", + "name": "Pink Floyd" + }, + "joinphrase": "" + } + ], + "primary-type": "Album", + "id": "f5093c06-23e3-404f-aeaa-40f72885ee3a", + "title": "The Dark Side of the Moon", + "disambiguation": "", + "secondary-type-ids": [ + + ], + "primary-type-id": "f529b476-6e62-324f-b0aa-1f3e33d313fc", + "secondary-types": [ + + ], + "aliases": [ + + ] + }, + "aliases": [ + + ], + "cover-art-archive": { + "front": true, + "back": true, + "count": 10, + "artwork": true, + "darkened": false + }, + "media": [ + { + "position": 1, + "track-count": 10, + "format-id": "3e9080b0-5e6c-34ab-bd15-f526b6306a64", + "title": "", + "format": "12\" Vinyl", + "track-offset": 0 + } + ], + "title": "The Dark Side of the Moon", + "date": "1973-03-24", + "packaging": "Gatefold Cover", + "artist-credit": [ + { + "artist": { + "id": "83d91898-7763-47d7-b03b-b92132375c47", + "disambiguation": "", + "aliases": [ + { + "end": null, + "primary": null, + "name": "Floyd", + "type-id": "1937e404-b981-3cb7-8151-4c86ebfc8d8e", + "ended": false, + "type": "Search hint", + "locale": null, + "sort-name": "Floyd", + "begin": null + }, + { + "begin": null, + "sort-name": "Pink Floid", + "locale": null, + "type": "Search hint", + "ended": false, + "type-id": "1937e404-b981-3cb7-8151-4c86ebfc8d8e", + "name": "Pink Floid", + "end": null, + "primary": null + }, + { + "end": null, + "primary": true, + "type-id": "894afba6-2816-3c24-8072-eadb66bd04bc", + "name": "Pink Floyd", + "ended": false, + "type": "Artist name", + "locale": "en", + "sort-name": "Pink Floyd", + "begin": null + }, + { + "type": "Search hint", + "locale": null, + "sort-name": "The Pink Floyd", + "begin": null, + "primary": null, + "end": null, + "name": "The Pink Floyd", + "type-id": "1937e404-b981-3cb7-8151-4c86ebfc8d8e", + "ended": false + }, + { + "ended": false, + "primary": true, + "end": null, + "name": "ピンク・フロイド", + "type-id": "894afba6-2816-3c24-8072-eadb66bd04bc", + "sort-name": "ピンク・フロイド", + "begin": null, + "type": "Artist name", + "locale": "ja" + }, + { + "sort-name": "핑크 플로이드", + "begin": null, + "type": "Artist name", + "locale": "ko", + "ended": false, + "primary": true, + "end": null, + "type-id": "894afba6-2816-3c24-8072-eadb66bd04bc", + "name": "핑크 플로이드" + } + ], + "sort-name": "Pink Floyd", + "name": "Pink Floyd" + }, + "joinphrase": "", + "name": "Pink Floyd" + } + ], + "release-events": [ + { + "date": "1973-03-24", + "area": { + "disambiguation": "", + "sort-name": "United Kingdom", + "iso-3166-1-codes": [ + "GB" + ], + "id": "8a754a16-0027-3a29-b6d7-2b40ea0481ed", + "name": "United Kingdom" + } + } + ], + "quality": "normal", + "asin": "b123", + "status": "Official", + "text-representation": { + "language": "eng", + "script": "Latn" + }, + "barcode": "123", + "tags": [ + + ], + "relations": [ + { + "attributes": [ + + ], + "target-credit": "George Hardie N.T.A.", + "source-credit": "", + "target-type": "artist", + "type": "design/illustration", + "attribute-values": { + + }, + "begin": null, + "type-id": "307e95dd-88b5-419b-8223-b146d4a0d439", + "end": null, + "direction": "backward", + "artist": { + "id": "89931942-3182-4448-8e63-0c2ce90f1f81", + "aliases": [ + + ], + "sort-name": "Hardie, George", + "disambiguation": "", + "name": "George Hardie" + }, + "ended": false + }, + { + "attributes": [ + + ], + "target-credit": "", + "source-credit": "", + "type": "design/illustration", + "target-type": "artist", + "attribute-values": { + + }, + "begin": null, + "type-id": "307e95dd-88b5-419b-8223-b146d4a0d439", + "end": null, + "direction": "backward", + "ended": false, + "artist": { + "name": "Hipgnosis", + "id": "fd1a4572-59ca-40f2-8f55-b82be28bb0ff", + "aliases": [ + + ], + "sort-name": "Hipgnosis", + "disambiguation": "UK art design group" + } + }, + { + "end": null, + "direction": "forward", + "type-id": "4a78823c-1c53-4176-a5f3-58026c76f2bc", + "ended": false, + "target-credit": "", + "source-credit": "", + "url": { + "resource": "https://www.discogs.com/release/1873013", + "id": "49af9dc2-196e-42be-bdf6-ea320eaa1dab" + }, + "target-type": "url", + "type": "discogs", + "attributes": [ + + ], + "attribute-values": { + + }, + "begin": null + }, + { + "attribute-values": { + + }, + "begin": null, + "type": "photography", + "target-type": "artist", + "target-credit": "", + "source-credit": "", + "attributes": [ + + ], + "ended": false, + "artist": { + "id": "fd1a4572-59ca-40f2-8f55-b82be28bb0ff", + "sort-name": "Hipgnosis", + "aliases": [ + + ], + "disambiguation": "UK art design group", + "name": "Hipgnosis" + }, + "end": null, + "direction": "backward", + "type-id": "0b58dc9b-9c49-4b19-bb58-9c06d41c8fbf" + } + ], + "id": "b84ee12a-09ef-421b-82de-0441a926375b", + "packaging-id": "e724a489-a7e8-30a1-a17c-30dfd6831202", + "disambiguation": "", + "label-info": [ + { + "catalog-number": "SHVL 804", + "label": { + "disambiguation": "UK based sub-label of EMI, re-activated in 2013 under Capitol Music Group in Hollywood, CA", + "aliases": [ + { + "locale": null, + "type": null, + "begin": null, + "sort-name": "Harvest Records", + "type-id": null, + "name": "Harvest Records", + "primary": null, + "end": null, + "ended": false + } + ], + "sort-name": "Harvest", + "id": "993af7f6-bb99-456b-83e7-5e728ea80a0e", + "label-code": 1305, + "name": "Harvest" + } + } + ], + "country": "GB", + "status-id": "4e304316-386d-3409-af2e-78857eec5cfe" +} \ No newline at end of file diff --git a/test/data/ws_data/release_group.json b/test/data/ws_data/release_group.json new file mode 100644 index 000000000..f7de37059 --- /dev/null +++ b/test/data/ws_data/release_group.json @@ -0,0 +1,1019 @@ +{ + "first-release-date":"1973-03-24", + "disambiguation":"", + "title":"The Dark Side of the Moon", + "id":"f5093c06-23e3-404f-aeaa-40f72885ee3a", + "primary-type":"Album", + "secondary-type-ids":[ + + ], + "primary-type-id":"f529b476-6e62-324f-b0aa-1f3e33d313fc", + "secondary-types":[ + + ], + "releases":[ + { + "barcode":"", + "text-representation":{ + "language":"eng", + "script":"Latn" + }, + "quality":"normal", + "country":"US", + "release-events":[ + { + "date":"1979-06", + "area":{ + "sort-name":"United States", + "disambiguation":"", + "iso-3166-1-codes":[ + "US" + ], + "id":"489ce91b-6658-3307-9877-795b68554c98", + "name":"United States" + } + } + ], + "status":"Official", + "status-id":"4e304316-386d-3409-af2e-78857eec5cfe", + "id":"03683c48-eb9e-47a8-bcdf-d5e5bae93de3", + "media":[ + { + "position":1, + "track-count":10, + "format-id":"3e9080b0-5e6c-34ab-bd15-f526b6306a64", + "title":"", + "format":"12\" Vinyl" + } + ], + "disambiguation":"1979 Mobile Fidelity Sound Lab remaster", + "packaging-id":"f7101ce3-0384-39ce-9fde-fbbd0044d35f", + "title":"The Dark Side of the Moon", + "packaging":"Cardboard/Paper Sleeve", + "date":"1979-06" + }, + { + "status-id":"4e304316-386d-3409-af2e-78857eec5cfe", + "status":"Official", + "quality":"normal", + "country":"US", + "release-events":[ + { + "area":{ + "disambiguation":"", + "sort-name":"United States", + "iso-3166-1-codes":[ + "US" + ], + "id":"489ce91b-6658-3307-9877-795b68554c98", + "name":"United States" + }, + "date":"1993" + } + ], + "packaging-id":null, + "title":"The Dark Side of the Moon", + "packaging":null, + "date":"1993", + "disambiguation":"", + "media":[ + { + "format":"CD", + "title":"", + "position":1, + "track-count":10, + "format-id":"9712d52a-4509-3d4b-a1a2-67c88c643e31" + } + ], + "id":"10600476-3b48-4709-a91d-3fdf6d2455e6", + "text-representation":{ + "language":"eng", + "script":"Latn" + }, + "barcode":"015775151727" + }, + { + "text-representation":{ + "language":"eng", + "script":"Latn" + }, + "barcode":"", + "status-id":"4e304316-386d-3409-af2e-78857eec5cfe", + "status":"Official", + "country":"GB", + "quality":"normal", + "release-events":[ + { + "area":{ + "name":"United Kingdom", + "iso-3166-1-codes":[ + "GB" + ], + "id":"8a754a16-0027-3a29-b6d7-2b40ea0481ed", + "disambiguation":"", + "sort-name":"United Kingdom" + }, + "date":"1984-08" + } + ], + "packaging-id":"ec27701a-4a22-37f4-bfac-6616e0f9750a", + "title":"The Dark Side of the Moon", + "packaging":"Jewel Case", + "date":"1984-08", + "disambiguation":"", + "media":[ + { + "title":"", + "format":"CD", + "format-id":"9712d52a-4509-3d4b-a1a2-67c88c643e31", + "track-count":9, + "position":1 + } + ], + "id":"106ec6c3-1a30-336f-9572-65cc0e47109d" + }, + { + "barcode":"", + "text-representation":{ + "script":"Latn", + "language":"eng" + }, + "quality":"normal", + "release-events":[ + { + "date":"1973", + "area":{ + "id":"8a754a16-0027-3a29-b6d7-2b40ea0481ed", + "iso-3166-1-codes":[ + "GB" + ], + "disambiguation":"", + "sort-name":"United Kingdom", + "name":"United Kingdom" + } + } + ], + "country":"GB", + "status":"Official", + "status-id":"4e304316-386d-3409-af2e-78857eec5cfe", + "id":"1c3ea255-3cc5-4861-9864-81e3bceb4443", + "media":[ + { + "position":1, + "track-count":10, + "format-id":"f5e6e254-8f39-331c-936b-9c69d686dc47", + "title":"", + "format":"Cassette" + } + ], + "disambiguation":"", + "packaging-id":"c70b737a-0114-39a9-88f7-82843e54f906", + "packaging":"Cassette Case", + "date":"1973", + "title":"The Dark Side of the Moon" + }, + { + "quality":"normal", + "release-events":[ + { + "date":"1973", + "area":{ + "name":"United States", + "disambiguation":"", + "sort-name":"United States", + "iso-3166-1-codes":[ + "US" + ], + "id":"489ce91b-6658-3307-9877-795b68554c98" + } + } + ], + "country":"US", + "status-id":"4e304316-386d-3409-af2e-78857eec5cfe", + "status":"Official", + "id":"24824319-9bb8-3d1e-a2c5-b8b864dafd1b", + "media":[ + { + "title":"", + "format":"12\" Vinyl", + "track-count":10, + "position":1, + "format-id":"3e9080b0-5e6c-34ab-bd15-f526b6306a64" + } + ], + "packaging-id":"e724a489-a7e8-30a1-a17c-30dfd6831202", + "date":"1973", + "packaging":"Gatefold Cover", + "title":"The Dark Side of the Moon", + "disambiguation":"", + "text-representation":{ + "language":"eng", + "script":"Latn" + }, + "barcode":"" + }, + { + "quality":"normal", + "country":"XE", + "release-events":[ + { + "date":"1993", + "area":{ + "iso-3166-1-codes":[ + "XE" + ], + "id":"89a675c2-3e37-3518-b83c-418bad59a85a", + "sort-name":"Europe", + "disambiguation":"", + "name":"Europe" + } + } + ], + "status":"Official", + "status-id":"4e304316-386d-3409-af2e-78857eec5cfe", + "media":[ + { + "title":"", + "format":"CD", + "track-count":9, + "position":1, + "format-id":"9712d52a-4509-3d4b-a1a2-67c88c643e31" + } + ], + "id":"2755bfc1-9438-4ae8-8a49-3f820dbca482", + "disambiguation":"20th anniversary edition", + "packaging-id":"8f931351-d2e2-310f-afc6-37b89ddba246", + "date":"1993", + "packaging":"Digipak", + "title":"The Dark Side of the Moon", + "barcode":"077778147923", + "text-representation":{ + "language":"eng", + "script":"Latn" + } + }, + { + "media":[ + { + "title":"", + "format":"CD", + "position":1, + "track-count":9, + "format-id":"9712d52a-4509-3d4b-a1a2-67c88c643e31" + } + ], + "id":"35bd2c37-d3d2-34b8-bdf5-5afa0693e4b9", + "packaging-id":null, + "packaging":null, + "date":"1993-04-28", + "title":"The Dark Side of the Moon", + "disambiguation":"", + "quality":"normal", + "country":"JP", + "release-events":[ + { + "date":"1993-04-28", + "area":{ + "name":"Japan", + "iso-3166-1-codes":[ + "JP" + ], + "id":"2db42837-c832-3c27-b4a3-08198f75693c", + "disambiguation":"", + "sort-name":"Japan" + } + } + ], + "status-id":"4e304316-386d-3409-af2e-78857eec5cfe", + "status":"Official", + "text-representation":{ + "language":"eng", + "script":"Latn" + }, + "barcode":"4988006680951" + }, + { + "quality":"normal", + "country":"YU", + "release-events":[ + { + "area":{ + "iso-3166-1-codes":[ + "YU" + ], + "id":"885dce63-c211-3033-8cf7-46cb82d440c7", + "disambiguation":"", + "sort-name":"Yugoslavia", + "name":"Yugoslavia", + "iso-3166-3-codes":[ + "YUCS" + ] + }, + "date":"1973" + } + ], + "status":"Official", + "status-id":"4e304316-386d-3409-af2e-78857eec5cfe", + "id":"3fde611f-de09-46c9-8233-731b3e2ed76f", + "media":[ + { + "format-id":"3e9080b0-5e6c-34ab-bd15-f526b6306a64", + "position":1, + "track-count":10, + "title":"", + "format":"12\" Vinyl" + } + ], + "disambiguation":"quadraphonic", + "date":"1973", + "packaging-id":"e724a489-a7e8-30a1-a17c-30dfd6831202", + "packaging":"Gatefold Cover", + "title":"The Dark Side of the Moon", + "barcode":"", + "text-representation":{ + "language":"eng", + "script":"Latn" + } + }, + { + "disambiguation":"", + "packaging-id":"e724a489-a7e8-30a1-a17c-30dfd6831202", + "title":"The Dark Side of the Moon", + "packaging":"Gatefold Cover", + "date":"1973", + "id":"4534f168-c25e-4d84-9da6-4fb26a261640", + "media":[ + { + "position":1, + "track-count":10, + "format-id":"3e9080b0-5e6c-34ab-bd15-f526b6306a64", + "title":"", + "format":"12\" Vinyl" + } + ], + "status":"Official", + "status-id":"4e304316-386d-3409-af2e-78857eec5cfe", + "quality":"normal", + "country":"NZ", + "release-events":[ + { + "date":"1973", + "area":{ + "name":"New Zealand", + "iso-3166-1-codes":[ + "NZ" + ], + "id":"8524c7d9-f472-3890-a458-f28d5081d9c4", + "sort-name":"New Zealand", + "disambiguation":"" + } + } + ], + "barcode":"", + "text-representation":{ + "language":"eng", + "script":"Latn" + } + }, + { + "barcode":"4988006683129", + "text-representation":{ + "script":"Latn", + "language":"eng" + }, + "status":"Official", + "status-id":"4e304316-386d-3409-af2e-78857eec5cfe", + "quality":"normal", + "release-events":[ + { + "area":{ + "id":"2db42837-c832-3c27-b4a3-08198f75693c", + "iso-3166-1-codes":[ + "JP" + ], + "disambiguation":"", + "sort-name":"Japan", + "name":"Japan" + }, + "date":"1993-03-31" + } + ], + "country":"JP", + "disambiguation":"", + "packaging":null, + "packaging-id":null, + "title":"The Dark Side of the Moon", + "date":"1993-03-31", + "media":[ + { + "title":"", + "format":"CD", + "track-count":9, + "position":1, + "format-id":"9712d52a-4509-3d4b-a1a2-67c88c643e31" + } + ], + "id":"58fd6184-9753-3843-8cee-b79507583298" + }, + { + "quality":"normal", + "release-events":[ + { + "date":"1981", + "area":{ + "disambiguation":"", + "sort-name":"United States", + "iso-3166-1-codes":[ + "US" + ], + "id":"489ce91b-6658-3307-9877-795b68554c98", + "name":"United States" + } + } + ], + "country":"US", + "status-id":"4e304316-386d-3409-af2e-78857eec5cfe", + "status":"Official", + "media":[ + { + "position":1, + "track-count":10, + "format-id":"3e9080b0-5e6c-34ab-bd15-f526b6306a64", + "title":"", + "format":"12\" Vinyl" + } + ], + "id":"6151d934-4eb2-3b51-8868-c18440b9864d", + "packaging-id":"f7101ce3-0384-39ce-9fde-fbbd0044d35f", + "packaging":"Cardboard/Paper Sleeve", + "date":"1981", + "title":"The Dark Side of the Moon", + "disambiguation":"1979 Mobile Fidelity Sound Lab remaster", + "text-representation":{ + "language":"eng", + "script":"Latn" + }, + "barcode":"" + }, + { + "text-representation":{ + "language":"eng", + "script":"Latn" + }, + "barcode":"", + "media":[ + { + "position":1, + "track-count":9, + "format-id":"9712d52a-4509-3d4b-a1a2-67c88c643e31", + "format":"CD", + "title":"" + } + ], + "id":"7f6d3088-837d-495e-905f-be5c70ac2d82", + "date":"1983-05-21", + "packaging-id":"ec27701a-4a22-37f4-bfac-6616e0f9750a", + "packaging":"Jewel Case", + "title":"The Dark Side of the Moon", + "disambiguation":"", + "quality":"normal", + "country":"JP", + "release-events":[ + { + "date":"1983-05-21", + "area":{ + "name":"Japan", + "disambiguation":"", + "sort-name":"Japan", + "id":"2db42837-c832-3c27-b4a3-08198f75693c", + "iso-3166-1-codes":[ + "JP" + ] + } + } + ], + "status-id":"4e304316-386d-3409-af2e-78857eec5cfe", + "status":"Official" + }, + { + "id":"8d17f5db-b9d0-4e35-9a06-9e1bffebc5be", + "media":[ + { + "format-id":"9712d52a-4509-3d4b-a1a2-67c88c643e31", + "track-count":9, + "position":1, + "title":"", + "format":"CD" + } + ], + "disambiguation":"TO remastering", + "packaging-id":"ec27701a-4a22-37f4-bfac-6616e0f9750a", + "date":"1986", + "packaging":"Jewel Case", + "title":"The Dark Side of the Moon", + "quality":"normal", + "release-events":[ + { + "area":{ + "name":"Japan", + "disambiguation":"", + "sort-name":"Japan", + "id":"2db42837-c832-3c27-b4a3-08198f75693c", + "iso-3166-1-codes":[ + "JP" + ] + }, + "date":"1986" + } + ], + "country":"JP", + "status":"Official", + "status-id":"4e304316-386d-3409-af2e-78857eec5cfe", + "barcode":"", + "text-representation":{ + "language":"eng", + "script":"Latn" + } + }, + { + "id":"8ede3645-4d20-4ca6-a4e3-4e9179115968", + "media":[ + { + "title":"", + "format":"12\" Vinyl", + "format-id":"3e9080b0-5e6c-34ab-bd15-f526b6306a64", + "position":1, + "track-count":10 + } + ], + "disambiguation":"quadraphonic", + "packaging-id":"e724a489-a7e8-30a1-a17c-30dfd6831202", + "packaging":"Gatefold Cover", + "title":"The Dark Side of the Moon", + "date":"1973", + "country":"NZ", + "quality":"normal", + "release-events":[ + { + "date":"1973", + "area":{ + "sort-name":"New Zealand", + "disambiguation":"", + "iso-3166-1-codes":[ + "NZ" + ], + "id":"8524c7d9-f472-3890-a458-f28d5081d9c4", + "name":"New Zealand" + } + } + ], + "status":"Official", + "status-id":"4e304316-386d-3409-af2e-78857eec5cfe", + "barcode":"", + "text-representation":{ + "language":"eng", + "script":"Latn" + } + }, + { + "text-representation":{ + "script":"Latn", + "language":"eng" + }, + "barcode":"", + "media":[ + { + "format":"12\" Vinyl", + "title":"", + "format-id":"3e9080b0-5e6c-34ab-bd15-f526b6306a64", + "track-count":10, + "position":1 + } + ], + "id":"956fbc58-362d-43b8-b880-3779e0508559", + "packaging":"Cardboard/Paper Sleeve", + "packaging-id":"f7101ce3-0384-39ce-9fde-fbbd0044d35f", + "title":"The Dark Side of the Moon", + "date":"1977", + "disambiguation":"", + "quality":"normal", + "country":"DE", + "release-events":[ + { + "area":{ + "id":"85752fda-13c4-31a3-bee5-0e5cb1f51dad", + "iso-3166-1-codes":[ + "DE" + ], + "sort-name":"Germany", + "disambiguation":"", + "name":"Germany" + }, + "date":"1977" + } + ], + "status-id":"4e304316-386d-3409-af2e-78857eec5cfe", + "status":"Official" + }, + { + "id":"a1170afd-e95f-3975-ad26-e04c70d6a42b", + "media":[ + { + "format-id":"9712d52a-4509-3d4b-a1a2-67c88c643e31", + "track-count":9, + "position":1, + "title":"", + "format":"CD" + } + ], + "packaging":null, + "packaging-id":null, + "title":"The Dark Side of the Moon", + "date":"1993", + "disambiguation":"", + "quality":"normal", + "release-events":[ + { + "date":"1993", + "area":{ + "name":"Canada", + "id":"71bbafaa-e825-3e15-8ca9-017dcad1748b", + "iso-3166-1-codes":[ + "CA" + ], + "sort-name":"Canada", + "disambiguation":"" + } + } + ], + "country":"CA", + "status-id":"4e304316-386d-3409-af2e-78857eec5cfe", + "status":"Official", + "text-representation":{ + "language":"eng", + "script":"Latn" + }, + "barcode":"077774600125" + }, + { + "barcode":"", + "text-representation":{ + "language":"eng", + "script":"Latn" + }, + "status":"Official", + "status-id":"4e304316-386d-3409-af2e-78857eec5cfe", + "release-events":[ + { + "area":{ + "iso-3166-1-codes":[ + "GB" + ], + "id":"8a754a16-0027-3a29-b6d7-2b40ea0481ed", + "disambiguation":"", + "sort-name":"United Kingdom", + "name":"United Kingdom" + }, + "date":"1973-03-24" + } + ], + "quality":"normal", + "country":"GB", + "disambiguation":"", + "packaging":"Gatefold Cover", + "packaging-id":"e724a489-a7e8-30a1-a17c-30dfd6831202", + "title":"The Dark Side of the Moon", + "date":"1973-03-24", + "id":"b84ee12a-09ef-421b-82de-0441a926375b", + "media":[ + { + "format":"12\" Vinyl", + "title":"", + "format-id":"3e9080b0-5e6c-34ab-bd15-f526b6306a64", + "position":1, + "track-count":10 + } + ] + }, + { + "packaging-id":"e724a489-a7e8-30a1-a17c-30dfd6831202", + "title":"The Dark Side of the Moon", + "packaging":"Gatefold Cover", + "date":"1973-12", + "disambiguation":"quadraphonic", + "id":"b8ee4313-2915-40f1-913d-ac0315b4ba3d", + "media":[ + { + "format-id":"3e9080b0-5e6c-34ab-bd15-f526b6306a64", + "position":1, + "track-count":10, + "format":"12\" Vinyl", + "title":"" + } + ], + "status-id":"4e304316-386d-3409-af2e-78857eec5cfe", + "status":"Official", + "release-events":[ + { + "date":"1973-12", + "area":{ + "name":"United Kingdom", + "id":"8a754a16-0027-3a29-b6d7-2b40ea0481ed", + "iso-3166-1-codes":[ + "GB" + ], + "disambiguation":"", + "sort-name":"United Kingdom" + } + } + ], + "quality":"normal", + "country":"GB", + "text-representation":{ + "language":"eng", + "script":"Latn" + }, + "barcode":"" + }, + { + "media":[ + { + "track-count":10, + "position":1, + "format-id":"9712d52a-4509-3d4b-a1a2-67c88c643e31", + "title":"", + "format":"CD" + } + ], + "id":"badcfda9-2ca8-32e5-a68b-c9a3cf807502", + "disambiguation":"", + "packaging-id":"ec27701a-4a22-37f4-bfac-6616e0f9750a", + "packaging":"Jewel Case", + "title":"The Dark Side of the Moon", + "date":"1988-04", + "release-events":[ + { + "area":{ + "name":"United States", + "disambiguation":"", + "sort-name":"United States", + "iso-3166-1-codes":[ + "US" + ], + "id":"489ce91b-6658-3307-9877-795b68554c98" + }, + "date":"1988-04" + } + ], + "quality":"normal", + "country":"US", + "status":"Official", + "status-id":"4e304316-386d-3409-af2e-78857eec5cfe", + "barcode":"015775151727", + "text-representation":{ + "language":"eng", + "script":"Latn" + } + }, + { + "status":"Official", + "status-id":"4e304316-386d-3409-af2e-78857eec5cfe", + "country":"JP", + "quality":"normal", + "release-events":[ + { + "area":{ + "id":"2db42837-c832-3c27-b4a3-08198f75693c", + "iso-3166-1-codes":[ + "JP" + ], + "sort-name":"Japan", + "disambiguation":"", + "name":"Japan" + }, + "date":"1988-12-21" + } + ], + "disambiguation":"", + "packaging":null, + "packaging-id":null, + "title":"The Dark Side of the Moon", + "date":"1988-12-21", + "id":"c8050a51-9716-40b0-924e-82843164d81c", + "media":[ + { + "format":"CD", + "title":"", + "position":1, + "track-count":9, + "format-id":"9712d52a-4509-3d4b-a1a2-67c88c643e31" + } + ], + "barcode":"4988006628977", + "text-representation":{ + "script":"Latn", + "language":"eng" + } + }, + { + "barcode":"4988006641594", + "text-representation":{ + "script":"Latn", + "language":"eng" + }, + "status":"Official", + "status-id":"4e304316-386d-3409-af2e-78857eec5cfe", + "quality":"normal", + "release-events":[ + { + "area":{ + "name":"Japan", + "iso-3166-1-codes":[ + "JP" + ], + "id":"2db42837-c832-3c27-b4a3-08198f75693c", + "disambiguation":"", + "sort-name":"Japan" + }, + "date":"1986" + } + ], + "country":"JP", + "disambiguation":"", + "packaging":null, + "packaging-id":null, + "title":"The Dark Side of the Moon", + "date":"1986", + "id":"d5088e04-945d-3332-b752-26a40c7e7754", + "media":[ + { + "format":"CD", + "title":"", + "format-id":"9712d52a-4509-3d4b-a1a2-67c88c643e31", + "position":1, + "track-count":9 + } + ] + }, + { + "disambiguation":"No barcode; on the CD: Made in U.K.", + "packaging-id":"ec27701a-4a22-37f4-bfac-6616e0f9750a", + "title":"The Dark Side of the Moon", + "packaging":"Jewel Case", + "date":"1986-05", + "media":[ + { + "title":"", + "format":"CD", + "track-count":9, + "position":1, + "format-id":"9712d52a-4509-3d4b-a1a2-67c88c643e31" + } + ], + "id":"dfd839f7-4741-36cf-af82-a1a1e797714e", + "status":"Official", + "status-id":"4e304316-386d-3409-af2e-78857eec5cfe", + "quality":"normal", + "country":"GB", + "release-events":[ + { + "date":"1986-05", + "area":{ + "disambiguation":"", + "sort-name":"United Kingdom", + "id":"8a754a16-0027-3a29-b6d7-2b40ea0481ed", + "iso-3166-1-codes":[ + "GB" + ], + "name":"United Kingdom" + } + } + ], + "barcode":"", + "text-representation":{ + "language":"eng", + "script":"Latn" + } + }, + { + "packaging-id":null, + "date":"1985", + "packaging":null, + "title":"The Dark Side of the Moon", + "disambiguation":"", + "media":[ + { + "position":1, + "track-count":9, + "format-id":"9712d52a-4509-3d4b-a1a2-67c88c643e31", + "format":"CD", + "title":"" + } + ], + "id":"e9216a3b-ee97-3464-88e3-887796c2c29b", + "status-id":"4e304316-386d-3409-af2e-78857eec5cfe", + "status":"Official", + "country":"US", + "quality":"normal", + "release-events":[ + { + "area":{ + "sort-name":"United States", + "disambiguation":"", + "iso-3166-1-codes":[ + "US" + ], + "id":"489ce91b-6658-3307-9877-795b68554c98", + "name":"United States" + }, + "date":"1985" + } + ], + "text-representation":{ + "language":"eng", + "script":"Latn" + }, + "barcode":"077774600125" + }, + { + "id":"e92282b9-8963-4362-87b3-bbc990d40360", + "media":[ + { + "format":"CD", + "title":"", + "format-id":"9712d52a-4509-3d4b-a1a2-67c88c643e31", + "track-count":9, + "position":1 + } + ], + "packaging":"Cardboard/Paper Sleeve", + "packaging-id":"f7101ce3-0384-39ce-9fde-fbbd0044d35f", + "date":"1993-09-23", + "title":"The Dark Side of the Moon", + "disambiguation":"20th Anniversary Limited Edition", + "quality":"normal", + "country":"US", + "release-events":[ + { + "date":"1993-09-23", + "area":{ + "id":"489ce91b-6658-3307-9877-795b68554c98", + "iso-3166-1-codes":[ + "US" + ], + "sort-name":"United States", + "disambiguation":"", + "name":"United States" + } + } + ], + "status-id":"4e304316-386d-3409-af2e-78857eec5cfe", + "status":"Official", + "text-representation":{ + "language":"eng", + "script":"Latn" + }, + "barcode":"077774600125" + }, + { + "disambiguation":"", + "packaging-id":"f7101ce3-0384-39ce-9fde-fbbd0044d35f", + "date":"1973", + "packaging":"Cardboard/Paper Sleeve", + "title":"The Dark Side of the Moon", + "media":[ + { + "format-id":"3e9080b0-5e6c-34ab-bd15-f526b6306a64", + "track-count":10, + "position":1, + "title":"", + "format":"12\" Vinyl" + } + ], + "id":"fd7d8f8e-c894-4088-a7b4-4a66057f41ee", + "status":"Official", + "status-id":"4e304316-386d-3409-af2e-78857eec5cfe", + "country":"JP", + "quality":"normal", + "release-events":[ + { + "date":"1973", + "area":{ + "disambiguation":"", + "sort-name":"Japan", + "id":"2db42837-c832-3c27-b4a3-08198f75693c", + "iso-3166-1-codes":[ + "JP" + ], + "name":"Japan" + } + } + ], + "barcode":"", + "text-representation":{ + "script":"Latn", + "language":"eng" + } + } + ] +} \ No newline at end of file diff --git a/test/data/ws_data/track.json b/test/data/ws_data/track.json new file mode 100644 index 000000000..748023c99 --- /dev/null +++ b/test/data/ws_data/track.json @@ -0,0 +1,13 @@ +{ + "length":68346, + "recording":{ + "disambiguation":"original stereo mix", + "length":68346, + "video":false, + "title":"Speak to Me", + "id":"bef3fddb-5aca-49f5-b2fd-d56a23268d63" + }, + "number":"A1", + "id":"d4156411-b884-368f-a4cb-7c0101a557a2", + "title":"Speak to Me" +} \ No newline at end of file diff --git a/test/test_mbjson.py b/test/test_mbjson.py index 90cbd8c72..a253157a6 100644 --- a/test/test_mbjson.py +++ b/test/test_mbjson.py @@ -177,7 +177,6 @@ class CountryListTest(unittest.TestCase): with open(os.path.join('test', 'data', 'ws_data', 'country.json')) as f: self.json_doc = json.loads(f.read()) - def test_release_group(self): - m = Metadata() + def test_country_from_node(self): country_list = country_list_from_node(self.json_doc) self.assertEqual(['GB'], country_list)