diff --git a/tests/json/expected/hex002.json b/tests/json/expected/hex002.json new file mode 100644 index 0000000..f09f4b9 --- /dev/null +++ b/tests/json/expected/hex002.json @@ -0,0 +1,370 @@ +[ + { + "album": "From The Depths", + "album_id": "https://hexbarcelona.bandcamp.com/album/hex002-from-the-depths", + "artist": "VII Circle", + "artist_id": "https://hexbarcelona.bandcamp.com", + "tracks": [ + { + "title": "Conflict", + "track_id": "https://hexbarcelona.bandcamp.com/track/conflict", + "release_track_id": null, + "artist": "VII Circle", + "artist_id": "https://hexbarcelona.bandcamp.com", + "length": 328, + "index": 1, + "media": "Digital Media", + "medium": 1, + "medium_index": 1, + "medium_total": 5, + "artist_sort": null, + "disctitle": null, + "artist_credit": null, + "data_source": "bandcamp", + "data_url": "https://hexbarcelona.bandcamp.com/album/hex002-from-the-depths", + "lyricist": null, + "composer": null, + "composer_sort": null, + "arranger": null, + "track_alt": null, + "work": null, + "mb_workid": null, + "work_disambig": null, + "bpm": null, + "initial_key": null, + "genre": null + }, + { + "title": "Arise", + "track_id": "https://hexbarcelona.bandcamp.com/track/arise", + "release_track_id": null, + "artist": "VII Circle", + "artist_id": "https://hexbarcelona.bandcamp.com", + "length": 298, + "index": 2, + "media": "Digital Media", + "medium": 1, + "medium_index": 2, + "medium_total": 5, + "artist_sort": null, + "disctitle": null, + "artist_credit": null, + "data_source": "bandcamp", + "data_url": "https://hexbarcelona.bandcamp.com/album/hex002-from-the-depths", + "lyricist": null, + "composer": null, + "composer_sort": null, + "arranger": null, + "track_alt": null, + "work": null, + "mb_workid": null, + "work_disambig": null, + "bpm": null, + "initial_key": null, + "genre": null + }, + { + "title": "Timeless", + "track_id": "https://hexbarcelona.bandcamp.com/track/timeless", + "release_track_id": null, + "artist": "VII Circle", + "artist_id": "https://hexbarcelona.bandcamp.com", + "length": 445, + "index": 3, + "media": "Digital Media", + "medium": 1, + "medium_index": 3, + "medium_total": 5, + "artist_sort": null, + "disctitle": null, + "artist_credit": null, + "data_source": "bandcamp", + "data_url": "https://hexbarcelona.bandcamp.com/album/hex002-from-the-depths", + "lyricist": null, + "composer": null, + "composer_sort": null, + "arranger": null, + "track_alt": null, + "work": null, + "mb_workid": null, + "work_disambig": null, + "bpm": null, + "initial_key": null, + "genre": null + }, + { + "title": "END", + "track_id": "https://hexbarcelona.bandcamp.com/track/end", + "release_track_id": null, + "artist": "VII Circle", + "artist_id": "https://hexbarcelona.bandcamp.com", + "length": 312, + "index": 4, + "media": "Digital Media", + "medium": 1, + "medium_index": 4, + "medium_total": 5, + "artist_sort": null, + "disctitle": null, + "artist_credit": null, + "data_source": "bandcamp", + "data_url": "https://hexbarcelona.bandcamp.com/album/hex002-from-the-depths", + "lyricist": null, + "composer": null, + "composer_sort": null, + "arranger": null, + "track_alt": null, + "work": null, + "mb_workid": null, + "work_disambig": null, + "bpm": null, + "initial_key": null, + "genre": null + }, + { + "title": "Conflict (NX1 Remix)", + "track_id": "https://hexbarcelona.bandcamp.com/track/conflict-nx1-remix", + "release_track_id": null, + "artist": "VII Circle", + "artist_id": "https://hexbarcelona.bandcamp.com", + "length": 331, + "index": 5, + "media": "Digital Media", + "medium": 1, + "medium_index": 5, + "medium_total": 5, + "artist_sort": null, + "disctitle": null, + "artist_credit": null, + "data_source": "bandcamp", + "data_url": "https://hexbarcelona.bandcamp.com/album/hex002-from-the-depths", + "lyricist": null, + "composer": null, + "composer_sort": null, + "arranger": null, + "track_alt": null, + "work": null, + "mb_workid": null, + "work_disambig": null, + "bpm": null, + "initial_key": null, + "genre": null + } + ], + "asin": null, + "albumtype": "ep", + "va": false, + "year": 2019, + "month": 10, + "day": 4, + "label": "HEX Recordings - Techno movement", + "mediums": 1, + "artist_sort": null, + "releasegroup_id": null, + "catalognum": "HEX002", + "script": null, + "language": null, + "country": "ES", + "style": "electronic", + "genre": "techno", + "albumstatus": "Official", + "media": "Digital Media", + "albumdisambig": null, + "releasegroupdisambig": null, + "artist_credit": null, + "original_year": null, + "original_month": null, + "original_day": null, + "data_source": "bandcamp", + "data_url": "https://hexbarcelona.bandcamp.com/album/hex002-from-the-depths", + "discogs_albumid": null, + "discogs_labelid": null, + "discogs_artistid": null, + "albumtypes": "ep", + "comments": "‘Conflict’ opens the release with fast paced percussion, sustained atmospherics and frenzied high hats before ‘Arise’ weaves acid dipped synths into metallic clashes and hard hitting stabs. ’Timeless’ is next, painting haunting textures with stormy effects, leading into ‘END’ which swiftly builds into a powerful cut complete with growling bass. Tying everything together, Nexe Records founders NX1 remix ‘Conflict’, incorporating warped frequencies and a murky low-end.\n\nFeedbacks about the EP:\n► Rebekah - killer industrial vibes here, love all tracks and remix\n► Gary Beck - These are huge, especially the timeless one\n► Dasha Rush - like most of the tracks, thanks\n► Under Black Helmet - The whole EP is great!\n► Randomer - great tracks\n► Remco Beekwilder - Conflict is a belter, thanks!!\n► Raffaele Attanasio - I'll play for sure!!!\n► Henning Baer - TOP!\n► Stephanie Sykes - Yaaaaaasssss.... loving this release!! <3\n► Insolate - Arise super cool!\n► Joe Farr - NX1 remix is great. I also like Timeless a lot. Thanks.\n► Nur Jaber - VII <3\n► Cleric - Nice EP will play thanks\n\nand many more...\n\nMastered at The Bass Valley Studios by Alan Lockwood" + }, + { + "album": "From The Depths", + "album_id": "https://hexbarcelona.bandcamp.com/album/hex002-from-the-depths#p1459084917", + "artist": "VII Circle", + "artist_id": "https://hexbarcelona.bandcamp.com", + "tracks": [ + { + "title": "Conflict", + "track_id": "https://hexbarcelona.bandcamp.com/track/conflict", + "release_track_id": null, + "artist": "VII Circle", + "artist_id": "https://hexbarcelona.bandcamp.com", + "length": 328, + "index": 1, + "media": "Vinyl", + "medium": 1, + "medium_index": 1, + "medium_total": 5, + "artist_sort": null, + "disctitle": "Limited 12\" Vinyl", + "artist_credit": null, + "data_source": "bandcamp", + "data_url": "https://hexbarcelona.bandcamp.com/album/hex002-from-the-depths", + "lyricist": null, + "composer": null, + "composer_sort": null, + "arranger": null, + "track_alt": "A1", + "work": null, + "mb_workid": null, + "work_disambig": null, + "bpm": null, + "initial_key": null, + "genre": null + }, + { + "title": "Arise", + "track_id": "https://hexbarcelona.bandcamp.com/track/arise", + "release_track_id": null, + "artist": "VII Circle", + "artist_id": "https://hexbarcelona.bandcamp.com", + "length": 298, + "index": 2, + "media": "Vinyl", + "medium": 1, + "medium_index": 2, + "medium_total": 5, + "artist_sort": null, + "disctitle": "Limited 12\" Vinyl", + "artist_credit": null, + "data_source": "bandcamp", + "data_url": "https://hexbarcelona.bandcamp.com/album/hex002-from-the-depths", + "lyricist": null, + "composer": null, + "composer_sort": null, + "arranger": null, + "track_alt": "A2", + "work": null, + "mb_workid": null, + "work_disambig": null, + "bpm": null, + "initial_key": null, + "genre": null + }, + { + "title": "Timeless", + "track_id": "https://hexbarcelona.bandcamp.com/track/timeless", + "release_track_id": null, + "artist": "VII Circle", + "artist_id": "https://hexbarcelona.bandcamp.com", + "length": 445, + "index": 3, + "media": "Vinyl", + "medium": 1, + "medium_index": 3, + "medium_total": 5, + "artist_sort": null, + "disctitle": "Limited 12\" Vinyl", + "artist_credit": null, + "data_source": "bandcamp", + "data_url": "https://hexbarcelona.bandcamp.com/album/hex002-from-the-depths", + "lyricist": null, + "composer": null, + "composer_sort": null, + "arranger": null, + "track_alt": "A3", + "work": null, + "mb_workid": null, + "work_disambig": null, + "bpm": null, + "initial_key": null, + "genre": null + }, + { + "title": "END", + "track_id": "https://hexbarcelona.bandcamp.com/track/end", + "release_track_id": null, + "artist": "VII Circle", + "artist_id": "https://hexbarcelona.bandcamp.com", + "length": 312, + "index": 4, + "media": "Vinyl", + "medium": 1, + "medium_index": 4, + "medium_total": 5, + "artist_sort": null, + "disctitle": "Limited 12\" Vinyl", + "artist_credit": null, + "data_source": "bandcamp", + "data_url": "https://hexbarcelona.bandcamp.com/album/hex002-from-the-depths", + "lyricist": null, + "composer": null, + "composer_sort": null, + "arranger": null, + "track_alt": "B1", + "work": null, + "mb_workid": null, + "work_disambig": null, + "bpm": null, + "initial_key": null, + "genre": null + }, + { + "title": "Conflict (NX1 Remix)", + "track_id": "https://hexbarcelona.bandcamp.com/track/conflict-nx1-remix", + "release_track_id": null, + "artist": "VII Circle", + "artist_id": "https://hexbarcelona.bandcamp.com", + "length": 331, + "index": 5, + "media": "Vinyl", + "medium": 1, + "medium_index": 5, + "medium_total": 5, + "artist_sort": null, + "disctitle": "Limited 12\" Vinyl", + "artist_credit": null, + "data_source": "bandcamp", + "data_url": "https://hexbarcelona.bandcamp.com/album/hex002-from-the-depths", + "lyricist": null, + "composer": null, + "composer_sort": null, + "arranger": null, + "track_alt": "B2", + "work": null, + "mb_workid": null, + "work_disambig": null, + "bpm": null, + "initial_key": null, + "genre": null + } + ], + "asin": null, + "albumtype": "ep", + "va": false, + "year": 2019, + "month": 10, + "day": 4, + "label": "HEX Recordings - Techno movement", + "mediums": 1, + "artist_sort": null, + "releasegroup_id": null, + "catalognum": "HEX002", + "script": null, + "language": null, + "country": "ES", + "style": "electronic", + "genre": "techno", + "albumstatus": "Official", + "media": "Vinyl", + "albumdisambig": null, + "releasegroupdisambig": null, + "artist_credit": null, + "original_year": null, + "original_month": null, + "original_day": null, + "data_source": "bandcamp", + "data_url": "https://hexbarcelona.bandcamp.com/album/hex002-from-the-depths", + "discogs_albumid": null, + "discogs_labelid": null, + "discogs_artistid": null, + "albumtypes": "ep", + "comments": "‘Conflict’ opens the release with fast paced percussion, sustained atmospherics and frenzied high hats before ‘Arise’ weaves acid dipped synths into metallic clashes and hard hitting stabs. ’Timeless’ is next, painting haunting textures with stormy effects, leading into ‘END’ which swiftly builds into a powerful cut complete with growling bass. Tying everything together, Nexe Records founders NX1 remix ‘Conflict’, incorporating warped frequencies and a murky low-end.\n\nFeedbacks about the EP:\n► Rebekah - killer industrial vibes here, love all tracks and remix\n► Gary Beck - These are huge, especially the timeless one\n► Dasha Rush - like most of the tracks, thanks\n► Under Black Helmet - The whole EP is great!\n► Randomer - great tracks\n► Remco Beekwilder - Conflict is a belter, thanks!!\n► Raffaele Attanasio - I'll play for sure!!!\n► Henning Baer - TOP!\n► Stephanie Sykes - Yaaaaaasssss.... loving this release!! <3\n► Insolate - Arise super cool!\n► Joe Farr - NX1 remix is great. I also like Timeless a lot. Thanks.\n► Nur Jaber - VII <3\n► Cleric - Nice EP will play thanks\n\nand many more...\n\nMastered at The Bass Valley Studios by Alan Lockwood\n---\nHEX002 - From The Depths\n1x12\"\n180 grams\n\nA1 - Conflict\nA2 - Arise\nA3 - Conflict (NX1 Remix)\nB1 - Timeless\nB2 - END" + } +] diff --git a/tests/json/expected/hex008.json b/tests/json/expected/hex008.json new file mode 100644 index 0000000..506f4a0 --- /dev/null +++ b/tests/json/expected/hex008.json @@ -0,0 +1,834 @@ +[ + { + "album": "Angels From Hell", + "album_id": "https://hexbarcelona.bandcamp.com/album/hex008-angels-from-hell-various-artists", + "artist": "Various Artists", + "artist_id": "https://hexbarcelona.bandcamp.com", + "tracks": [ + { + "title": "You Be The Leader", + "track_id": "https://hexbarcelona.bandcamp.com/track/a1-rebekah-you-be-the-leader", + "release_track_id": null, + "artist": "Rebekah", + "artist_id": "https://hexbarcelona.bandcamp.com", + "length": 302, + "index": 1, + "media": "Digital Media", + "medium": 1, + "medium_index": 1, + "medium_total": 13, + "artist_sort": null, + "disctitle": null, + "artist_credit": null, + "data_source": "bandcamp", + "data_url": "https://hexbarcelona.bandcamp.com/album/hex008-angels-from-hell-various-artists", + "lyricist": null, + "composer": null, + "composer_sort": null, + "arranger": null, + "track_alt": "A1", + "work": null, + "mb_workid": null, + "work_disambig": null, + "bpm": null, + "initial_key": null, + "genre": null + }, + { + "title": "Sanitary Dictature", + "track_id": "https://hexbarcelona.bandcamp.com/track/a2-paolo-ferrara-lorenzo-raganzini-sanitary-dictature", + "release_track_id": null, + "artist": "Paolo Ferrara & Lorenzo Raganzini", + "artist_id": "https://hexbarcelona.bandcamp.com", + "length": 397, + "index": 2, + "media": "Digital Media", + "medium": 1, + "medium_index": 2, + "medium_total": 13, + "artist_sort": null, + "disctitle": null, + "artist_credit": null, + "data_source": "bandcamp", + "data_url": "https://hexbarcelona.bandcamp.com/album/hex008-angels-from-hell-various-artists", + "lyricist": null, + "composer": null, + "composer_sort": null, + "arranger": null, + "track_alt": "A2", + "work": null, + "mb_workid": null, + "work_disambig": null, + "bpm": null, + "initial_key": null, + "genre": null + }, + { + "title": "12 Gauge", + "track_id": "https://hexbarcelona.bandcamp.com/track/a3-aeit-12-gauge", + "release_track_id": null, + "artist": "AEIT", + "artist_id": "https://hexbarcelona.bandcamp.com", + "length": 307, + "index": 3, + "media": "Digital Media", + "medium": 1, + "medium_index": 3, + "medium_total": 13, + "artist_sort": null, + "disctitle": null, + "artist_credit": null, + "data_source": "bandcamp", + "data_url": "https://hexbarcelona.bandcamp.com/album/hex008-angels-from-hell-various-artists", + "lyricist": null, + "composer": null, + "composer_sort": null, + "arranger": null, + "track_alt": "A3", + "work": null, + "mb_workid": null, + "work_disambig": null, + "bpm": null, + "initial_key": null, + "genre": null + }, + { + "title": "Demons", + "track_id": "https://hexbarcelona.bandcamp.com/track/b1-vii-circle-demons", + "release_track_id": null, + "artist": "VII Circle", + "artist_id": "https://hexbarcelona.bandcamp.com", + "length": 413, + "index": 4, + "media": "Digital Media", + "medium": 1, + "medium_index": 4, + "medium_total": 13, + "artist_sort": null, + "disctitle": null, + "artist_credit": null, + "data_source": "bandcamp", + "data_url": "https://hexbarcelona.bandcamp.com/album/hex008-angels-from-hell-various-artists", + "lyricist": null, + "composer": null, + "composer_sort": null, + "arranger": null, + "track_alt": "B1", + "work": null, + "mb_workid": null, + "work_disambig": null, + "bpm": null, + "initial_key": null, + "genre": null + }, + { + "title": "Mezcal Worm", + "track_id": "https://hexbarcelona.bandcamp.com/track/b2-rommek-mezcal-worm", + "release_track_id": null, + "artist": "Rommek", + "artist_id": "https://hexbarcelona.bandcamp.com", + "length": 397, + "index": 5, + "media": "Digital Media", + "medium": 1, + "medium_index": 5, + "medium_total": 13, + "artist_sort": null, + "disctitle": null, + "artist_credit": null, + "data_source": "bandcamp", + "data_url": "https://hexbarcelona.bandcamp.com/album/hex008-angels-from-hell-various-artists", + "lyricist": null, + "composer": null, + "composer_sort": null, + "arranger": null, + "track_alt": "B2", + "work": null, + "mb_workid": null, + "work_disambig": null, + "bpm": null, + "initial_key": null, + "genre": null + }, + { + "title": "The Puppet Master", + "track_id": "https://hexbarcelona.bandcamp.com/track/c1-cleric-the-puppet-master", + "release_track_id": null, + "artist": "Cleric", + "artist_id": "https://hexbarcelona.bandcamp.com", + "length": 367, + "index": 6, + "media": "Digital Media", + "medium": 1, + "medium_index": 6, + "medium_total": 13, + "artist_sort": null, + "disctitle": null, + "artist_credit": null, + "data_source": "bandcamp", + "data_url": "https://hexbarcelona.bandcamp.com/album/hex008-angels-from-hell-various-artists", + "lyricist": null, + "composer": null, + "composer_sort": null, + "arranger": null, + "track_alt": "C1", + "work": null, + "mb_workid": null, + "work_disambig": null, + "bpm": null, + "initial_key": null, + "genre": null + }, + { + "title": "Air Of The 90s", + "track_id": "https://hexbarcelona.bandcamp.com/track/c2-remco-beekwilder-air-of-the-90s", + "release_track_id": null, + "artist": "Remco Beekwilder", + "artist_id": "https://hexbarcelona.bandcamp.com", + "length": 399, + "index": 7, + "media": "Digital Media", + "medium": 1, + "medium_index": 7, + "medium_total": 13, + "artist_sort": null, + "disctitle": null, + "artist_credit": null, + "data_source": "bandcamp", + "data_url": "https://hexbarcelona.bandcamp.com/album/hex008-angels-from-hell-various-artists", + "lyricist": null, + "composer": null, + "composer_sort": null, + "arranger": null, + "track_alt": "C2", + "work": null, + "mb_workid": null, + "work_disambig": null, + "bpm": null, + "initial_key": null, + "genre": null + }, + { + "title": "Fearless", + "track_id": "https://hexbarcelona.bandcamp.com/track/d1-and-fearless", + "release_track_id": null, + "artist": "AnD", + "artist_id": "https://hexbarcelona.bandcamp.com", + "length": 436, + "index": 8, + "media": "Digital Media", + "medium": 1, + "medium_index": 8, + "medium_total": 13, + "artist_sort": null, + "disctitle": null, + "artist_credit": null, + "data_source": "bandcamp", + "data_url": "https://hexbarcelona.bandcamp.com/album/hex008-angels-from-hell-various-artists", + "lyricist": null, + "composer": null, + "composer_sort": null, + "arranger": null, + "track_alt": "D1", + "work": null, + "mb_workid": null, + "work_disambig": null, + "bpm": null, + "initial_key": null, + "genre": null + }, + { + "title": "Matriachy", + "track_id": "https://hexbarcelona.bandcamp.com/track/d2-benjamin-damage-matriachy", + "release_track_id": null, + "artist": "Benjamin Damage", + "artist_id": "https://hexbarcelona.bandcamp.com", + "length": 387, + "index": 9, + "media": "Digital Media", + "medium": 1, + "medium_index": 9, + "medium_total": 13, + "artist_sort": null, + "disctitle": null, + "artist_credit": null, + "data_source": "bandcamp", + "data_url": "https://hexbarcelona.bandcamp.com/album/hex008-angels-from-hell-various-artists", + "lyricist": null, + "composer": null, + "composer_sort": null, + "arranger": null, + "track_alt": "D2", + "work": null, + "mb_workid": null, + "work_disambig": null, + "bpm": null, + "initial_key": null, + "genre": null + }, + { + "title": " The Purist", + "track_id": "https://hexbarcelona.bandcamp.com/track/e1-under-black-helmet-the-purist", + "release_track_id": null, + "artist": "Under Black Helmet ", + "artist_id": "https://hexbarcelona.bandcamp.com", + "length": 305, + "index": 10, + "media": "Digital Media", + "medium": 1, + "medium_index": 10, + "medium_total": 13, + "artist_sort": null, + "disctitle": null, + "artist_credit": null, + "data_source": "bandcamp", + "data_url": "https://hexbarcelona.bandcamp.com/album/hex008-angels-from-hell-various-artists", + "lyricist": null, + "composer": null, + "composer_sort": null, + "arranger": null, + "track_alt": "E1", + "work": null, + "mb_workid": null, + "work_disambig": null, + "bpm": null, + "initial_key": null, + "genre": null + }, + { + "title": "Organisms", + "track_id": "https://hexbarcelona.bandcamp.com/track/e2-maere-6siss-organisms", + "release_track_id": null, + "artist": "MAERE & 6SISS", + "artist_id": "https://hexbarcelona.bandcamp.com", + "length": 376, + "index": 11, + "media": "Digital Media", + "medium": 1, + "medium_index": 11, + "medium_total": 13, + "artist_sort": null, + "disctitle": null, + "artist_credit": null, + "data_source": "bandcamp", + "data_url": "https://hexbarcelona.bandcamp.com/album/hex008-angels-from-hell-various-artists", + "lyricist": null, + "composer": null, + "composer_sort": null, + "arranger": null, + "track_alt": "E2", + "work": null, + "mb_workid": null, + "work_disambig": null, + "bpm": null, + "initial_key": null, + "genre": null + }, + { + "title": "Broken Tools", + "track_id": "https://hexbarcelona.bandcamp.com/track/f1-imperial-black-unit-broken-tools", + "release_track_id": null, + "artist": "Imperial Black Unit", + "artist_id": "https://hexbarcelona.bandcamp.com", + "length": 363, + "index": 12, + "media": "Digital Media", + "medium": 1, + "medium_index": 12, + "medium_total": 13, + "artist_sort": null, + "disctitle": null, + "artist_credit": null, + "data_source": "bandcamp", + "data_url": "https://hexbarcelona.bandcamp.com/album/hex008-angels-from-hell-various-artists", + "lyricist": null, + "composer": null, + "composer_sort": null, + "arranger": null, + "track_alt": "F1", + "work": null, + "mb_workid": null, + "work_disambig": null, + "bpm": null, + "initial_key": null, + "genre": null + }, + { + "title": "Ctrl+Alt+Delete The System", + "track_id": "https://hexbarcelona.bandcamp.com/track/f2-end-train-ctrl-alt-delete-the-system", + "release_track_id": null, + "artist": "End Train", + "artist_id": "https://hexbarcelona.bandcamp.com", + "length": 387, + "index": 13, + "media": "Digital Media", + "medium": 1, + "medium_index": 13, + "medium_total": 13, + "artist_sort": null, + "disctitle": null, + "artist_credit": null, + "data_source": "bandcamp", + "data_url": "https://hexbarcelona.bandcamp.com/album/hex008-angels-from-hell-various-artists", + "lyricist": null, + "composer": null, + "composer_sort": null, + "arranger": null, + "track_alt": "F2", + "work": null, + "mb_workid": null, + "work_disambig": null, + "bpm": null, + "initial_key": null, + "genre": null + } + ], + "asin": null, + "albumtype": "compilation", + "va": true, + "year": 2021, + "month": 9, + "day": 1, + "label": "HEX Recordings - Techno movement", + "mediums": 1, + "artist_sort": null, + "releasegroup_id": null, + "catalognum": "HEX008", + "script": null, + "language": null, + "country": "ES", + "style": "electronic", + "genre": "techno", + "albumstatus": "Official", + "media": "Digital Media", + "albumdisambig": null, + "releasegroupdisambig": null, + "artist_credit": null, + "original_year": null, + "original_month": null, + "original_day": null, + "data_source": "bandcamp", + "data_url": "https://hexbarcelona.bandcamp.com/album/hex008-angels-from-hell-various-artists", + "discogs_albumid": null, + "discogs_labelid": null, + "discogs_artistid": null, + "albumtypes": "album; compilation", + "comments": "HEX008 | Angels From Hell (Various Artists)\nTriple-Red-Vinyl\n\n---\n\nSome feedback on the release:\n\n► Quail - HUGE pack, absolute killers all round. Thanks!\n► Essan - Thank you very much for sending me your promo, the tracks sound amazing, I love!!!!\n► JC Laurent - Super Solid VA! Thanks a lot :) Rommek & Cleric are my favs\n► boyd schidt - sick release thanks for the promo\n► Downwell - Great tracks ! Fav: Imperial Black Unit - Broken Tools\n► Jay Clarke - Heavy Heavy selection of tunes here. Solid release chaps! Thx for sharing!\n► takaaki itoh - great v.a!\n► slam - nice collection\n► Henning Baer - Massive!\n► Cristian Varela - AWESOME!\n► Roll Dann - Crazy Tracks, muchas gracias!\n► Luca Agnelli - super pack\n► ENDLEC - Superb selections as usual!\n► Jerm - Cleric's & Benjamin's my top picks, great compilation overall guys :)\n► Tom Page - Loads here for me, fantastic compilation! Love the Rommek, Benjamin Damage, Cleric & Imperial Black Unit tracks, but its all top notch, thanks :)\n► Alex Guerra - Brutal,Friends! Congrats for 2nd Anniversary.Thanks again!\n\n---\n\nWe're very excited to celebrate the 2nd Anniversary of \"HEX Recordings\" so for the occasion, we decided to create the most powerful release so far, a Triple-Vinyl Various Artists, which includes the creations of some of the artists that are closest to the Movement but never released on the label until now like Rebekah, Cleric, Remco Beekwilder, together with new members like Benjamin Damage, AEIT, Imperial Black Unit, End Train, Rommek, Maere, 6Siss and of course some of the ambassadors of the label like Under Black Helmet, VII Circle and the two HEX Founders Paolo Ferrara and Lorenzo Raganzini.\n\nThe title of the release is \"Angels From Hell\" and it represents the most ambitious release ever created by HEX. 3 flaming Red colour Vinyl, together with some new T-shirts + Hoodie characterised by the VA's unique design.\n\n15 Artists will represent the unity under Techno of 7 different countries: France, England, Italy, Netherlands, Lithuania, Belgium and Israel.\n\n---\n\nVinyl 1\nA1 - Rebekah - You Be The Leader\nA2 - Paolo Ferrara & Lorenzo Raganzini - Sanitary Dictature\nA3 - AEIT - 12 Gauge\nB1 - VII Circle - Demons\nB2 - Rommek - Mezcal Worm\n\n\nVinyl 2\nC1 - Cleric - The Puppet Master \nC2 - Remco Beekwilder - Air Of The 90s\nD1 - AnD - Fearless\nD2 - Benjamin Damage - Matriachy\n\n\nVinyl 3 \nE1 - Under Black Helmet - The Purist\nE2 - MAERE & 6SISS - Organisms\nF1 - Imperial Black Unit - Broken Tools\nF2 - End Train - Ctrl+Alt+Delete The System\n\n\nMasters by Alain Paul (Germany)\nDesign by Giambrone Studio" + }, + { + "album": "Angels From Hell", + "album_id": "https://hexbarcelona.bandcamp.com/album/hex008-angels-from-hell-various-artists#p3220875979", + "artist": "Various Artists", + "artist_id": "https://hexbarcelona.bandcamp.com", + "tracks": [ + { + "title": "You Be The Leader", + "track_id": "https://hexbarcelona.bandcamp.com/track/a1-rebekah-you-be-the-leader", + "release_track_id": null, + "artist": "Rebekah", + "artist_id": "https://hexbarcelona.bandcamp.com", + "length": 302, + "index": 1, + "media": "Vinyl", + "medium": 1, + "medium_index": 1, + "medium_total": 5, + "artist_sort": null, + "disctitle": "XXX008 | Angels From Hell (Various Artists) Triple-Vinyl", + "artist_credit": null, + "data_source": "bandcamp", + "data_url": "https://hexbarcelona.bandcamp.com/album/hex008-angels-from-hell-various-artists", + "lyricist": null, + "composer": null, + "composer_sort": null, + "arranger": null, + "track_alt": "A1", + "work": null, + "mb_workid": null, + "work_disambig": null, + "bpm": null, + "initial_key": null, + "genre": null + }, + { + "title": "Sanitary Dictature", + "track_id": "https://hexbarcelona.bandcamp.com/track/a2-paolo-ferrara-lorenzo-raganzini-sanitary-dictature", + "release_track_id": null, + "artist": "Paolo Ferrara & Lorenzo Raganzini", + "artist_id": "https://hexbarcelona.bandcamp.com", + "length": 397, + "index": 2, + "media": "Vinyl", + "medium": 1, + "medium_index": 2, + "medium_total": 5, + "artist_sort": null, + "disctitle": "XXX008 | Angels From Hell (Various Artists) Triple-Vinyl", + "artist_credit": null, + "data_source": "bandcamp", + "data_url": "https://hexbarcelona.bandcamp.com/album/hex008-angels-from-hell-various-artists", + "lyricist": null, + "composer": null, + "composer_sort": null, + "arranger": null, + "track_alt": "A2", + "work": null, + "mb_workid": null, + "work_disambig": null, + "bpm": null, + "initial_key": null, + "genre": null + }, + { + "title": "12 Gauge", + "track_id": "https://hexbarcelona.bandcamp.com/track/a3-aeit-12-gauge", + "release_track_id": null, + "artist": "AEIT", + "artist_id": "https://hexbarcelona.bandcamp.com", + "length": 307, + "index": 3, + "media": "Vinyl", + "medium": 1, + "medium_index": 3, + "medium_total": 5, + "artist_sort": null, + "disctitle": "XXX008 | Angels From Hell (Various Artists) Triple-Vinyl", + "artist_credit": null, + "data_source": "bandcamp", + "data_url": "https://hexbarcelona.bandcamp.com/album/hex008-angels-from-hell-various-artists", + "lyricist": null, + "composer": null, + "composer_sort": null, + "arranger": null, + "track_alt": "A3", + "work": null, + "mb_workid": null, + "work_disambig": null, + "bpm": null, + "initial_key": null, + "genre": null + }, + { + "title": "Demons", + "track_id": "https://hexbarcelona.bandcamp.com/track/b1-vii-circle-demons", + "release_track_id": null, + "artist": "VII Circle", + "artist_id": "https://hexbarcelona.bandcamp.com", + "length": 413, + "index": 4, + "media": "Vinyl", + "medium": 1, + "medium_index": 4, + "medium_total": 5, + "artist_sort": null, + "disctitle": "XXX008 | Angels From Hell (Various Artists) Triple-Vinyl", + "artist_credit": null, + "data_source": "bandcamp", + "data_url": "https://hexbarcelona.bandcamp.com/album/hex008-angels-from-hell-various-artists", + "lyricist": null, + "composer": null, + "composer_sort": null, + "arranger": null, + "track_alt": "B1", + "work": null, + "mb_workid": null, + "work_disambig": null, + "bpm": null, + "initial_key": null, + "genre": null + }, + { + "title": "Mezcal Worm", + "track_id": "https://hexbarcelona.bandcamp.com/track/b2-rommek-mezcal-worm", + "release_track_id": null, + "artist": "Rommek", + "artist_id": "https://hexbarcelona.bandcamp.com", + "length": 397, + "index": 5, + "media": "Vinyl", + "medium": 1, + "medium_index": 5, + "medium_total": 5, + "artist_sort": null, + "disctitle": "XXX008 | Angels From Hell (Various Artists) Triple-Vinyl", + "artist_credit": null, + "data_source": "bandcamp", + "data_url": "https://hexbarcelona.bandcamp.com/album/hex008-angels-from-hell-various-artists", + "lyricist": null, + "composer": null, + "composer_sort": null, + "arranger": null, + "track_alt": "B2", + "work": null, + "mb_workid": null, + "work_disambig": null, + "bpm": null, + "initial_key": null, + "genre": null + }, + { + "title": "The Puppet Master", + "track_id": "https://hexbarcelona.bandcamp.com/track/c1-cleric-the-puppet-master", + "release_track_id": null, + "artist": "Cleric", + "artist_id": "https://hexbarcelona.bandcamp.com", + "length": 367, + "index": 6, + "media": "Vinyl", + "medium": 2, + "medium_index": 1, + "medium_total": 4, + "artist_sort": null, + "disctitle": "XXX008 | Angels From Hell (Various Artists) Triple-Vinyl", + "artist_credit": null, + "data_source": "bandcamp", + "data_url": "https://hexbarcelona.bandcamp.com/album/hex008-angels-from-hell-various-artists", + "lyricist": null, + "composer": null, + "composer_sort": null, + "arranger": null, + "track_alt": "C1", + "work": null, + "mb_workid": null, + "work_disambig": null, + "bpm": null, + "initial_key": null, + "genre": null + }, + { + "title": "Air Of The 90s", + "track_id": "https://hexbarcelona.bandcamp.com/track/c2-remco-beekwilder-air-of-the-90s", + "release_track_id": null, + "artist": "Remco Beekwilder", + "artist_id": "https://hexbarcelona.bandcamp.com", + "length": 399, + "index": 7, + "media": "Vinyl", + "medium": 2, + "medium_index": 2, + "medium_total": 4, + "artist_sort": null, + "disctitle": "XXX008 | Angels From Hell (Various Artists) Triple-Vinyl", + "artist_credit": null, + "data_source": "bandcamp", + "data_url": "https://hexbarcelona.bandcamp.com/album/hex008-angels-from-hell-various-artists", + "lyricist": null, + "composer": null, + "composer_sort": null, + "arranger": null, + "track_alt": "C2", + "work": null, + "mb_workid": null, + "work_disambig": null, + "bpm": null, + "initial_key": null, + "genre": null + }, + { + "title": "Fearless", + "track_id": "https://hexbarcelona.bandcamp.com/track/d1-and-fearless", + "release_track_id": null, + "artist": "AnD", + "artist_id": "https://hexbarcelona.bandcamp.com", + "length": 436, + "index": 8, + "media": "Vinyl", + "medium": 2, + "medium_index": 3, + "medium_total": 4, + "artist_sort": null, + "disctitle": "XXX008 | Angels From Hell (Various Artists) Triple-Vinyl", + "artist_credit": null, + "data_source": "bandcamp", + "data_url": "https://hexbarcelona.bandcamp.com/album/hex008-angels-from-hell-various-artists", + "lyricist": null, + "composer": null, + "composer_sort": null, + "arranger": null, + "track_alt": "D1", + "work": null, + "mb_workid": null, + "work_disambig": null, + "bpm": null, + "initial_key": null, + "genre": null + }, + { + "title": "Matriachy", + "track_id": "https://hexbarcelona.bandcamp.com/track/d2-benjamin-damage-matriachy", + "release_track_id": null, + "artist": "Benjamin Damage", + "artist_id": "https://hexbarcelona.bandcamp.com", + "length": 387, + "index": 9, + "media": "Vinyl", + "medium": 2, + "medium_index": 4, + "medium_total": 4, + "artist_sort": null, + "disctitle": "XXX008 | Angels From Hell (Various Artists) Triple-Vinyl", + "artist_credit": null, + "data_source": "bandcamp", + "data_url": "https://hexbarcelona.bandcamp.com/album/hex008-angels-from-hell-various-artists", + "lyricist": null, + "composer": null, + "composer_sort": null, + "arranger": null, + "track_alt": "D2", + "work": null, + "mb_workid": null, + "work_disambig": null, + "bpm": null, + "initial_key": null, + "genre": null + }, + { + "title": " The Purist", + "track_id": "https://hexbarcelona.bandcamp.com/track/e1-under-black-helmet-the-purist", + "release_track_id": null, + "artist": "Under Black Helmet ", + "artist_id": "https://hexbarcelona.bandcamp.com", + "length": 305, + "index": 10, + "media": "Vinyl", + "medium": 3, + "medium_index": 1, + "medium_total": 4, + "artist_sort": null, + "disctitle": "XXX008 | Angels From Hell (Various Artists) Triple-Vinyl", + "artist_credit": null, + "data_source": "bandcamp", + "data_url": "https://hexbarcelona.bandcamp.com/album/hex008-angels-from-hell-various-artists", + "lyricist": null, + "composer": null, + "composer_sort": null, + "arranger": null, + "track_alt": "E1", + "work": null, + "mb_workid": null, + "work_disambig": null, + "bpm": null, + "initial_key": null, + "genre": null + }, + { + "title": "Organisms", + "track_id": "https://hexbarcelona.bandcamp.com/track/e2-maere-6siss-organisms", + "release_track_id": null, + "artist": "MAERE & 6SISS", + "artist_id": "https://hexbarcelona.bandcamp.com", + "length": 376, + "index": 11, + "media": "Vinyl", + "medium": 3, + "medium_index": 2, + "medium_total": 4, + "artist_sort": null, + "disctitle": "XXX008 | Angels From Hell (Various Artists) Triple-Vinyl", + "artist_credit": null, + "data_source": "bandcamp", + "data_url": "https://hexbarcelona.bandcamp.com/album/hex008-angels-from-hell-various-artists", + "lyricist": null, + "composer": null, + "composer_sort": null, + "arranger": null, + "track_alt": "E2", + "work": null, + "mb_workid": null, + "work_disambig": null, + "bpm": null, + "initial_key": null, + "genre": null + }, + { + "title": "Broken Tools", + "track_id": "https://hexbarcelona.bandcamp.com/track/f1-imperial-black-unit-broken-tools", + "release_track_id": null, + "artist": "Imperial Black Unit", + "artist_id": "https://hexbarcelona.bandcamp.com", + "length": 363, + "index": 12, + "media": "Vinyl", + "medium": 3, + "medium_index": 3, + "medium_total": 4, + "artist_sort": null, + "disctitle": "XXX008 | Angels From Hell (Various Artists) Triple-Vinyl", + "artist_credit": null, + "data_source": "bandcamp", + "data_url": "https://hexbarcelona.bandcamp.com/album/hex008-angels-from-hell-various-artists", + "lyricist": null, + "composer": null, + "composer_sort": null, + "arranger": null, + "track_alt": "F1", + "work": null, + "mb_workid": null, + "work_disambig": null, + "bpm": null, + "initial_key": null, + "genre": null + }, + { + "title": "Ctrl+Alt+Delete The System", + "track_id": "https://hexbarcelona.bandcamp.com/track/f2-end-train-ctrl-alt-delete-the-system", + "release_track_id": null, + "artist": "End Train", + "artist_id": "https://hexbarcelona.bandcamp.com", + "length": 387, + "index": 13, + "media": "Vinyl", + "medium": 3, + "medium_index": 4, + "medium_total": 4, + "artist_sort": null, + "disctitle": "XXX008 | Angels From Hell (Various Artists) Triple-Vinyl", + "artist_credit": null, + "data_source": "bandcamp", + "data_url": "https://hexbarcelona.bandcamp.com/album/hex008-angels-from-hell-various-artists", + "lyricist": null, + "composer": null, + "composer_sort": null, + "arranger": null, + "track_alt": "F2", + "work": null, + "mb_workid": null, + "work_disambig": null, + "bpm": null, + "initial_key": null, + "genre": null + } + ], + "asin": null, + "albumtype": "compilation", + "va": true, + "year": 2021, + "month": 9, + "day": 1, + "label": "HEX Recordings - Techno movement", + "mediums": 3, + "artist_sort": null, + "releasegroup_id": null, + "catalognum": "XXX008", + "script": null, + "language": null, + "country": "ES", + "style": "electronic", + "genre": "techno", + "albumstatus": "Official", + "media": "Vinyl", + "albumdisambig": null, + "releasegroupdisambig": null, + "artist_credit": null, + "original_year": null, + "original_month": null, + "original_day": null, + "data_source": "bandcamp", + "data_url": "https://hexbarcelona.bandcamp.com/album/hex008-angels-from-hell-various-artists", + "discogs_albumid": null, + "discogs_labelid": null, + "discogs_artistid": null, + "albumtypes": "album; compilation", + "comments": "HEX008 | Angels From Hell (Various Artists)\nTriple-Red-Vinyl\n\n---\n\nSome feedback on the release:\n\n► Quail - HUGE pack, absolute killers all round. Thanks!\n► Essan - Thank you very much for sending me your promo, the tracks sound amazing, I love!!!!\n► JC Laurent - Super Solid VA! Thanks a lot :) Rommek & Cleric are my favs\n► boyd schidt - sick release thanks for the promo\n► Downwell - Great tracks ! Fav: Imperial Black Unit - Broken Tools\n► Jay Clarke - Heavy Heavy selection of tunes here. Solid release chaps! Thx for sharing!\n► takaaki itoh - great v.a!\n► slam - nice collection\n► Henning Baer - Massive!\n► Cristian Varela - AWESOME!\n► Roll Dann - Crazy Tracks, muchas gracias!\n► Luca Agnelli - super pack\n► ENDLEC - Superb selections as usual!\n► Jerm - Cleric's & Benjamin's my top picks, great compilation overall guys :)\n► Tom Page - Loads here for me, fantastic compilation! Love the Rommek, Benjamin Damage, Cleric & Imperial Black Unit tracks, but its all top notch, thanks :)\n► Alex Guerra - Brutal,Friends! Congrats for 2nd Anniversary.Thanks again!\n\n---\n\nWe're very excited to celebrate the 2nd Anniversary of \"HEX Recordings\" so for the occasion, we decided to create the most powerful release so far, a Triple-Vinyl Various Artists, which includes the creations of some of the artists that are closest to the Movement but never released on the label until now like Rebekah, Cleric, Remco Beekwilder, together with new members like Benjamin Damage, AEIT, Imperial Black Unit, End Train, Rommek, Maere, 6Siss and of course some of the ambassadors of the label like Under Black Helmet, VII Circle and the two HEX Founders Paolo Ferrara and Lorenzo Raganzini.\n\nThe title of the release is \"Angels From Hell\" and it represents the most ambitious release ever created by HEX. 3 flaming Red colour Vinyl, together with some new T-shirts + Hoodie characterised by the VA's unique design.\n\n15 Artists will represent the unity under Techno of 7 different countries: France, England, Italy, Netherlands, Lithuania, Belgium and Israel.\n\n---\n\nVinyl 1\nA1 - Rebekah - You Be The Leader\nA2 - Paolo Ferrara & Lorenzo Raganzini - Sanitary Dictature\nA3 - AEIT - 12 Gauge\nB1 - VII Circle - Demons\nB2 - Rommek - Mezcal Worm\n\n\nVinyl 2\nC1 - Cleric - The Puppet Master \nC2 - Remco Beekwilder - Air Of The 90s\nD1 - AnD - Fearless\nD2 - Benjamin Damage - Matriachy\n\n\nVinyl 3 \nE1 - Under Black Helmet - The Purist\nE2 - MAERE & 6SISS - Organisms\nF1 - Imperial Black Unit - Broken Tools\nF2 - End Train - Ctrl+Alt+Delete The System\n\n\nMasters by Alain Paul (Germany)\nDesign by Giambrone Studio\n---\nTriple-Red Flamed-Vinyl\n(only 300 copies)\n\nNo black version\n\nXXX008 | Angels From Hell\n3x12\" special red edition" + } +] diff --git a/tests/json/expected/rr2.json b/tests/json/expected/rr2.json new file mode 100644 index 0000000..77e2534 --- /dev/null +++ b/tests/json/expected/rr2.json @@ -0,0 +1,70 @@ +[ + { + "album": "RR2", + "album_id": "https://44labelgroup.bandcamp.com/album/rr2", + "artist": "RADICAL G & THE HORRORIST", + "artist_id": "https://44labelgroup.bandcamp.com", + "tracks": [ + { + "title": "Here Comes The Storm (Kobosil 44 Terror Mix)", + "track_id": "https://44labelgroup.bandcamp.com/track/here-comes-the-storm-kobosil-44-terror-mix", + "release_track_id": null, + "artist": "RADICAL G & THE HORRORIST", + "artist_id": "https://44labelgroup.bandcamp.com", + "length": 370, + "index": 1, + "media": "Digital Media", + "medium": 1, + "medium_index": 1, + "medium_total": 1, + "artist_sort": null, + "disctitle": null, + "artist_credit": null, + "data_source": "bandcamp", + "data_url": "https://44labelgroup.bandcamp.com/album/rr2", + "lyricist": null, + "composer": null, + "composer_sort": null, + "arranger": null, + "track_alt": null, + "work": null, + "mb_workid": null, + "work_disambig": null, + "bpm": null, + "initial_key": null, + "genre": null + } + ], + "asin": null, + "albumtype": "album", + "va": false, + "year": 2019, + "month": 1, + "day": 28, + "label": "44 LABEL GROUP", + "mediums": 1, + "artist_sort": null, + "releasegroup_id": null, + "catalognum": "", + "script": null, + "language": null, + "country": "DE", + "style": null, + "genre": null, + "albumstatus": "Official", + "media": "Digital Media", + "albumdisambig": null, + "releasegroupdisambig": null, + "artist_credit": null, + "original_year": null, + "original_month": null, + "original_day": null, + "data_source": "bandcamp", + "data_url": "https://44labelgroup.bandcamp.com/album/rr2", + "discogs_albumid": null, + "discogs_labelid": null, + "discogs_artistid": null, + "albumtypes": "album; remix; single", + "comments": null + } +] diff --git a/tests/json/hex002.json b/tests/json/hex002.json new file mode 100644 index 0000000..c5d398f --- /dev/null +++ b/tests/json/hex002.json @@ -0,0 +1,472 @@ +{ + "@context": "https://schema.org", + "@id": "https://hexbarcelona.bandcamp.com/album/hex002-from-the-depths", + "@type": "MusicAlbum", + "additionalProperty": [ + { + "@type": "PropertyValue", + "name": "art_id", + "value": 3115894657 + }, + { + "@type": "PropertyValue", + "name": "featured_track_num", + "value": 1 + }, + { + "@type": "PropertyValue", + "name": "license_name", + "value": "all_rights_reserved" + } + ], + "albumRelease": [ + { + "@id": "https://hexbarcelona.bandcamp.com/album/hex002-from-the-depths", + "@type": [ + "MusicRelease", + "Product" + ], + "additionalProperty": [ + { + "@type": "PropertyValue", + "name": "item_id", + "value": 2521852486 + }, + { + "@type": "PropertyValue", + "name": "item_type", + "value": "a" + }, + { + "@type": "PropertyValue", + "name": "selling_band_id", + "value": 1252439829 + }, + { + "@type": "PropertyValue", + "name": "type_name", + "value": "Digital" + }, + { + "@type": "PropertyValue", + "name": "art_id", + "value": 3115894657 + } + ], + "description": "Includes high-quality download in MP3, FLAC and more. Paying supporters also get unlimited streaming via the free Bandcamp app.", + "image": [ + "https://f4.bcbits.com/img/a3115894657_10.jpg" + ], + "musicReleaseFormat": "DigitalFormat", + "name": "HEX002 | From The Depths" + }, + { + "@id": "https://hexbarcelona.bandcamp.com/album/hex002-from-the-depths#b59258785", + "@type": [ + "MusicRelease", + "Product" + ], + "additionalProperty": [ + { + "@type": "PropertyValue", + "name": "item_id", + "value": 59258785 + }, + { + "@type": "PropertyValue", + "name": "item_type", + "value": "b" + }, + { + "@type": "PropertyValue", + "name": "selling_band_id", + "value": 1252439829 + }, + { + "@type": "PropertyValue", + "name": "type_name", + "value": "Digital" + }, + { + "@type": "PropertyValue", + "name": "art_id", + "value": 464287237 + }, + { + "@type": "PropertyValue", + "name": "is_bfd", + "value": true + } + ], + "image": [ + "https://f4.bcbits.com/img/a0464287237_10.jpg" + ], + "musicReleaseFormat": "DigitalFormat", + "name": "full digital discography (48 releases)", + "offers": { + "@type": "Offer", + "additionalProperty": [ + { + "@type": "PropertyValue", + "name": "bundle_size", + "value": 48 + }, + { + "@type": "PropertyValue", + "name": "discount", + "value": 0.5 + } + ], + "availability": "OnlineOnly", + "price": 154.7, + "priceCurrency": "EUR", + "priceSpecification": { + "minPrice": 154.7 + }, + "url": "https://hexbarcelona.bandcamp.com/album/hex002-from-the-depths#b59258785-buy" + } + }, + { + "@id": "https://hexbarcelona.bandcamp.com/album/hex002-from-the-depths#p1459084917", + "@type": [ + "MusicRelease", + "Product" + ], + "additionalProperty": [ + { + "@type": "PropertyValue", + "name": "item_id", + "value": 1459084917 + }, + { + "@type": "PropertyValue", + "name": "item_type", + "value": "p" + }, + { + "@type": "PropertyValue", + "name": "selling_band_id", + "value": 1252439829 + }, + { + "@type": "PropertyValue", + "name": "type_name", + "value": "Vinyl LP" + }, + { + "@type": "PropertyValue", + "name": "image_ids", + "value": [ + 19283270, + 19283333 + ] + }, + { + "@type": "PropertyValue", + "name": "is_music_merch", + "value": true + }, + { + "@type": "PropertyValue", + "name": "type_id", + "value": 2 + } + ], + "description": "HEX002 - From The Depths\n1x12\"\n180 grams\n\nA1 - Conflict\nA2 - Arise\nA3 - Conflict (NX1 Remix)\nB1 - Timeless\nB2 - END", + "image": [ + "https://f4.bcbits.com/img/0019283270_10.jpg", + "https://f4.bcbits.com/img/0019283333_10.jpg" + ], + "musicReleaseFormat": "VinylFormat", + "name": "Limited 12\" Vinyl", + "offers": { + "@type": "Offer", + "additionalProperty": [ + { + "@type": "PropertyValue", + "name": "includes_digital_download", + "value": true + } + ], + "availability": "SoldOut", + "price": 11.95, + "priceCurrency": "EUR", + "priceSpecification": { + "minPrice": 11.95 + }, + "url": "https://hexbarcelona.bandcamp.com/album/hex002-from-the-depths#p1459084917-buy" + } + }, + { + "@id": "https://hexbarcelona.bandcamp.com/track/conflict", + "@type": "MusicRelease" + }, + { + "@id": "https://hexbarcelona.bandcamp.com/track/arise", + "@type": "MusicRelease" + }, + { + "@id": "https://hexbarcelona.bandcamp.com/track/timeless", + "@type": "MusicRelease" + }, + { + "@id": "https://hexbarcelona.bandcamp.com/track/end", + "@type": "MusicRelease" + }, + { + "@id": "https://hexbarcelona.bandcamp.com/track/conflict-nx1-remix", + "@type": "MusicRelease" + } + ], + "albumReleaseType": "AlbumRelease", + "byArtist": { + "@type": "MusicGroup", + "name": "VII Circle, NX1" + }, + "copyrightNotice": "All Rights Reserved", + "dateModified": "19 Nov 2022 22:42:50 GMT", + "datePublished": "04 Oct 2019 00:00:00 GMT", + "description": "‘Conflict’ opens the release with fast paced percussion, sustained atmospherics and frenzied high hats before ‘Arise’ weaves acid dipped synths into metallic clashes and hard hitting stabs. ’Timeless’ is next, painting haunting textures with stormy effects, leading into ‘END’ which swiftly builds into a powerful cut complete with growling bass. Tying everything together, Nexe Records founders NX1 remix ‘Conflict’, incorporating warped frequencies and a murky low-end.\r\n\r\nFeedbacks about the EP:\r\n► Rebekah - killer industrial vibes here, love all tracks and remix\r\n► Gary Beck - These are huge, especially the timeless one\r\n► Dasha Rush - like most of the tracks, thanks\r\n► Under Black Helmet - The whole EP is great!\r\n► Randomer - great tracks\r\n► Remco Beekwilder - Conflict is a belter, thanks!!\r\n► Raffaele Attanasio - I'll play for sure!!!\r\n► Henning Baer - TOP!\r\n► Stephanie Sykes - Yaaaaaasssss.... loving this release!! <3\r\n► Insolate - Arise super cool!\r\n► Joe Farr - NX1 remix is great. I also like Timeless a lot. Thanks.\r\n► Nur Jaber - VII <3\r\n► Cleric - Nice EP will play thanks\r\n\r\nand many more...\r\n\r\nMastered at The Bass Valley Studios by Alan Lockwood", + "image": "https://f4.bcbits.com/img/a3115894657_10.jpg", + "keywords": [ + "Electronic", + "Techno", + "techno", + "Barcelona" + ], + "mainEntityOfPage": "https://hexbarcelona.bandcamp.com/album/hex002-from-the-depths", + "name": "HEX002 | From The Depths", + "numTracks": 5, + "publisher": { + "@id": "https://hexbarcelona.bandcamp.com", + "@type": "MusicGroup", + "additionalProperty": [ + { + "@type": "PropertyValue", + "name": "band_id", + "value": 1252439829 + }, + { + "@type": "PropertyValue", + "name": "has_any_downloads", + "value": true + }, + { + "@type": "PropertyValue", + "name": "has_download_codes", + "value": true + }, + { + "@type": "PropertyValue", + "name": "has_policies", + "value": true + }, + { + "@type": "PropertyValue", + "name": "image_height", + "value": 1200 + }, + { + "@type": "PropertyValue", + "name": "image_id", + "value": 23279504 + }, + { + "@type": "PropertyValue", + "name": "image_width", + "value": 1200 + } + ], + "description": "TechnoMetal label founded in 2019 by Lorenzo Raganzini and Paolo Ferrara.\n\nIt is related to HEX Techno movement.\n\nDEMOS\ndemos@hex-technomovement.com", + "foundingLocation": { + "@type": "Place", + "name": "Barcelona, Spain" + }, + "genre": "https://bandcamp.com/discover/electronic", + "image": "https://f4.bcbits.com/img/0023279504_10.jpg", + "mainEntityOfPage": [ + { + "@type": "WebSite", + "name": "hex-technomovement.com", + "url": "http://www.hex-technomovement.com" + } + ], + "name": "HEX Recordings - Techno movement", + "subjectOf": [ + { + "@type": "WebPage", + "additionalProperty": [ + { + "@type": "PropertyValue", + "name": "nav_type", + "value": "m" + } + ], + "name": "Digital Music", + "url": "https://hexbarcelona.bandcamp.com/music" + }, + { + "@type": "WebPage", + "additionalProperty": [ + { + "@type": "PropertyValue", + "name": "nav_type", + "value": "p" + } + ], + "name": "Vinyl Store & Merch", + "url": "https://hexbarcelona.bandcamp.com/merch" + }, + { + "@type": "WebPage", + "additionalProperty": [ + { + "@type": "PropertyValue", + "name": "nav_type", + "value": "v" + } + ], + "name": "Videoclips", + "url": "https://hexbarcelona.bandcamp.com/video" + }, + { + "@type": "WebPage", + "additionalProperty": [ + { + "@type": "PropertyValue", + "name": "nav_type", + "value": "c" + } + ], + "name": "Community", + "url": "https://hexbarcelona.bandcamp.com/community" + } + ] + }, + "track": { + "@type": "ItemList", + "itemListElement": [ + { + "@type": "ListItem", + "item": { + "@id": "https://hexbarcelona.bandcamp.com/track/conflict", + "@type": "MusicRecording", + "additionalProperty": [ + { + "@type": "PropertyValue", + "name": "track_id", + "value": 3484674383 + }, + { + "@type": "PropertyValue", + "name": "license_name", + "value": "all_rights_reserved" + } + ], + "copyrightNotice": "All Rights Reserved", + "duration": "P00H05M28S", + "mainEntityOfPage": "https://hexbarcelona.bandcamp.com/track/conflict", + "name": "Conflict" + }, + "position": 1 + }, + { + "@type": "ListItem", + "item": { + "@id": "https://hexbarcelona.bandcamp.com/track/arise", + "@type": "MusicRecording", + "additionalProperty": [ + { + "@type": "PropertyValue", + "name": "track_id", + "value": 3249169829 + }, + { + "@type": "PropertyValue", + "name": "license_name", + "value": "all_rights_reserved" + } + ], + "copyrightNotice": "All Rights Reserved", + "duration": "P00H04M58S", + "mainEntityOfPage": "https://hexbarcelona.bandcamp.com/track/arise", + "name": "Arise" + }, + "position": 2 + }, + { + "@type": "ListItem", + "item": { + "@id": "https://hexbarcelona.bandcamp.com/track/timeless", + "@type": "MusicRecording", + "additionalProperty": [ + { + "@type": "PropertyValue", + "name": "track_id", + "value": 2481022120 + }, + { + "@type": "PropertyValue", + "name": "license_name", + "value": "all_rights_reserved" + } + ], + "copyrightNotice": "All Rights Reserved", + "duration": "P00H07M25S", + "mainEntityOfPage": "https://hexbarcelona.bandcamp.com/track/timeless", + "name": "Timeless" + }, + "position": 3 + }, + { + "@type": "ListItem", + "item": { + "@id": "https://hexbarcelona.bandcamp.com/track/end", + "@type": "MusicRecording", + "additionalProperty": [ + { + "@type": "PropertyValue", + "name": "track_id", + "value": 3006487739 + }, + { + "@type": "PropertyValue", + "name": "license_name", + "value": "all_rights_reserved" + } + ], + "copyrightNotice": "All Rights Reserved", + "duration": "P00H05M12S", + "mainEntityOfPage": "https://hexbarcelona.bandcamp.com/track/end", + "name": "END" + }, + "position": 4 + }, + { + "@type": "ListItem", + "item": { + "@id": "https://hexbarcelona.bandcamp.com/track/conflict-nx1-remix", + "@type": "MusicRecording", + "additionalProperty": [ + { + "@type": "PropertyValue", + "name": "track_id", + "value": 2051893236 + }, + { + "@type": "PropertyValue", + "name": "license_name", + "value": "all_rights_reserved" + } + ], + "copyrightNotice": "All Rights Reserved", + "duration": "P00H05M31S", + "mainEntityOfPage": "https://hexbarcelona.bandcamp.com/track/conflict-nx1-remix", + "name": "Conflict (NX1 Remix)" + }, + "position": 5 + } + ], + "numberOfItems": 5 + } +} diff --git a/tests/json/hex008.json b/tests/json/hex008.json new file mode 100644 index 0000000..7bb3af9 --- /dev/null +++ b/tests/json/hex008.json @@ -0,0 +1,756 @@ +{ + "@context": "https://schema.org", + "@id": "https://hexbarcelona.bandcamp.com/album/hex008-angels-from-hell-various-artists", + "@type": "MusicAlbum", + "additionalProperty": [ + { + "@type": "PropertyValue", + "name": "art_id", + "value": 1834646812 + }, + { + "@type": "PropertyValue", + "name": "featured_track_num", + "value": 1 + }, + { + "@type": "PropertyValue", + "name": "license_name", + "value": "all_rights_reserved" + } + ], + "albumRelease": [ + { + "@id": "https://hexbarcelona.bandcamp.com/album/hex008-angels-from-hell-various-artists", + "@type": [ + "MusicRelease", + "Product" + ], + "additionalProperty": [ + { + "@type": "PropertyValue", + "name": "item_id", + "value": 4192984768 + }, + { + "@type": "PropertyValue", + "name": "item_type", + "value": "a" + }, + { + "@type": "PropertyValue", + "name": "selling_band_id", + "value": 1252439829 + }, + { + "@type": "PropertyValue", + "name": "type_name", + "value": "Digital" + }, + { + "@type": "PropertyValue", + "name": "art_id", + "value": 1834646812 + } + ], + "description": "Includes high-quality download in MP3, FLAC and more. Paying supporters also get unlimited streaming via the free Bandcamp app.", + "image": [ + "https://f4.bcbits.com/img/a1834646812_10.jpg" + ], + "musicReleaseFormat": "DigitalFormat", + "name": "HEX008 | Angels From Hell (Various Artists)" + }, + { + "@id": "https://hexbarcelona.bandcamp.com/album/hex008-angels-from-hell-various-artists#p3220875979", + "@type": [ + "MusicRelease", + "Product" + ], + "additionalProperty": [ + { + "@type": "PropertyValue", + "name": "item_id", + "value": 3220875979 + }, + { + "@type": "PropertyValue", + "name": "item_type", + "value": "p" + }, + { + "@type": "PropertyValue", + "name": "selling_band_id", + "value": 1252439829 + }, + { + "@type": "PropertyValue", + "name": "type_name", + "value": "Vinyl LP" + }, + { + "@type": "PropertyValue", + "name": "image_ids", + "value": [ + 25073911, + 25073924, + 25073937 + ] + }, + { + "@type": "PropertyValue", + "name": "is_music_merch", + "value": true + }, + { + "@type": "PropertyValue", + "name": "type_id", + "value": 2 + } + ], + "description": "Triple-Red Flamed-Vinyl\n(only 300 copies)\n\nNo black version\n\nXXX008 | Angels From Hell\n3x12\" special red edition", + "image": [ + "https://f4.bcbits.com/img/0025073911_10.jpg", + "https://f4.bcbits.com/img/0025073924_10.jpg", + "https://f4.bcbits.com/img/0025073937_10.jpg" + ], + "musicReleaseFormat": "VinylFormat", + "name": "XXX008 | Angels From Hell (Various Artists) Triple-Vinyl", + "offers": { + "@type": "Offer", + "additionalProperty": [ + { + "@type": "PropertyValue", + "name": "includes_digital_download", + "value": true + } + ], + "availability": "InStock", + "price": 37.95, + "priceCurrency": "EUR", + "priceSpecification": { + "minPrice": 37.95 + }, + "url": "https://hexbarcelona.bandcamp.com/album/hex008-angels-from-hell-various-artists#p3220875979-buy" + } + }, + { + "@id": "https://hexbarcelona.bandcamp.com/album/hex008-angels-from-hell-various-artists#p3583995757", + "@type": [ + "MusicRelease", + "Product" + ], + "additionalProperty": [ + { + "@type": "PropertyValue", + "name": "item_id", + "value": 3583995757 + }, + { + "@type": "PropertyValue", + "name": "item_type", + "value": "p" + }, + { + "@type": "PropertyValue", + "name": "selling_band_id", + "value": 1252439829 + }, + { + "@type": "PropertyValue", + "name": "type_name", + "value": "T-Shirt/Apparel" + }, + { + "@type": "PropertyValue", + "name": "image_ids", + "value": [ + 25073641 + ] + }, + { + "@type": "PropertyValue", + "name": "type_id", + "value": 11 + } + ], + "description": "THIS IS A PRE-ORDER\nSHIPPING AT BEGIN OF SEPTEMBER\n\ndesigned by Giambrone Studio\n80% cotton, 20% polyester (280 g/m²)\nhandmade serigraphy in Barcelona\n\nFitting examples (size: Large)\nLorenzo (180cm, 65kg)\nMollie (170cm, 50kg)\n\n*wash inside out at 30°\n\n** If the product (or size) wanted is not available here, you might want to check also on www.hex-clothing.com **", + "image": [ + "https://f4.bcbits.com/img/0025073641_10.jpg" + ], + "name": "HEX008 Hoodie", + "offers": { + "@type": "Offer", + "availability": "InStock", + "price": 49.0, + "priceCurrency": "EUR", + "priceSpecification": { + "minPrice": 49.0 + }, + "url": "https://hexbarcelona.bandcamp.com/album/hex008-angels-from-hell-various-artists#p3583995757-buy" + } + }, + { + "@id": "https://hexbarcelona.bandcamp.com/album/hex008-angels-from-hell-various-artists#b59258785", + "@type": [ + "MusicRelease", + "Product" + ], + "additionalProperty": [ + { + "@type": "PropertyValue", + "name": "item_id", + "value": 59258785 + }, + { + "@type": "PropertyValue", + "name": "item_type", + "value": "b" + }, + { + "@type": "PropertyValue", + "name": "selling_band_id", + "value": 1252439829 + }, + { + "@type": "PropertyValue", + "name": "type_name", + "value": "Digital" + }, + { + "@type": "PropertyValue", + "name": "art_id", + "value": 464287237 + }, + { + "@type": "PropertyValue", + "name": "is_bfd", + "value": true + } + ], + "image": [ + "https://f4.bcbits.com/img/a0464287237_10.jpg" + ], + "musicReleaseFormat": "DigitalFormat", + "name": "full digital discography (48 releases)", + "offers": { + "@type": "Offer", + "additionalProperty": [ + { + "@type": "PropertyValue", + "name": "bundle_size", + "value": 48 + }, + { + "@type": "PropertyValue", + "name": "discount", + "value": 0.5 + } + ], + "availability": "OnlineOnly", + "price": 154.7, + "priceCurrency": "EUR", + "priceSpecification": { + "minPrice": 154.7 + }, + "url": "https://hexbarcelona.bandcamp.com/album/hex008-angels-from-hell-various-artists#b59258785-buy" + } + }, + { + "@id": "https://hexbarcelona.bandcamp.com/track/a1-rebekah-you-be-the-leader", + "@type": "MusicRelease" + }, + { + "@id": "https://hexbarcelona.bandcamp.com/track/a2-paolo-ferrara-lorenzo-raganzini-sanitary-dictature", + "@type": "MusicRelease" + }, + { + "@id": "https://hexbarcelona.bandcamp.com/track/a3-aeit-12-gauge", + "@type": "MusicRelease" + }, + { + "@id": "https://hexbarcelona.bandcamp.com/track/b1-vii-circle-demons", + "@type": "MusicRelease" + }, + { + "@id": "https://hexbarcelona.bandcamp.com/track/b2-rommek-mezcal-worm", + "@type": "MusicRelease" + }, + { + "@id": "https://hexbarcelona.bandcamp.com/track/c1-cleric-the-puppet-master", + "@type": "MusicRelease" + }, + { + "@id": "https://hexbarcelona.bandcamp.com/track/c2-remco-beekwilder-air-of-the-90s", + "@type": "MusicRelease" + }, + { + "@id": "https://hexbarcelona.bandcamp.com/track/d1-and-fearless", + "@type": "MusicRelease" + }, + { + "@id": "https://hexbarcelona.bandcamp.com/track/d2-benjamin-damage-matriachy", + "@type": "MusicRelease" + }, + { + "@id": "https://hexbarcelona.bandcamp.com/track/e1-under-black-helmet-the-purist", + "@type": "MusicRelease" + }, + { + "@id": "https://hexbarcelona.bandcamp.com/track/e2-maere-6siss-organisms", + "@type": "MusicRelease" + }, + { + "@id": "https://hexbarcelona.bandcamp.com/track/f1-imperial-black-unit-broken-tools", + "@type": "MusicRelease" + }, + { + "@id": "https://hexbarcelona.bandcamp.com/track/f2-end-train-ctrl-alt-delete-the-system", + "@type": "MusicRelease" + } + ], + "albumReleaseType": "AlbumRelease", + "byArtist": { + "@type": "MusicGroup", + "name": "Rebekah, Cleric, Under Black Helmet, Paolo Ferrara, Lorenzo Raganzini..." + }, + "copyrightNotice": "All Rights Reserved", + "dateModified": "19 Nov 2022 22:39:37 GMT", + "datePublished": "01 Sep 2021 00:00:00 GMT", + "description": "HEX008 | Angels From Hell (Various Artists)\r\nTriple-Red-Vinyl\r\n\r\n---\r\n\r\nSome feedback on the release:\r\n\r\n► Quail - HUGE pack, absolute killers all round. Thanks!\r\n► Essan - Thank you very much for sending me your promo, the tracks sound amazing, I love!!!!\r\n► JC Laurent - Super Solid VA! Thanks a lot :) Rommek & Cleric are my favs\r\n► boyd schidt - sick release thanks for the promo\r\n► Downwell - Great tracks ! Fav: Imperial Black Unit - Broken Tools\r\n► Jay Clarke - Heavy Heavy selection of tunes here. Solid release chaps! Thx for sharing!\r\n► takaaki itoh - great v.a!\r\n► slam - nice collection\r\n► Henning Baer - Massive!\r\n► Cristian Varela - AWESOME!\r\n► Roll Dann - Crazy Tracks, muchas gracias!\r\n► Luca Agnelli - super pack\r\n► ENDLEC - Superb selections as usual!\r\n► Jerm - Cleric's & Benjamin's my top picks, great compilation overall guys :)\r\n► Tom Page - Loads here for me, fantastic compilation! Love the Rommek, Benjamin Damage, Cleric & Imperial Black Unit tracks, but its all top notch, thanks :)\r\n► Alex Guerra - Brutal,Friends! Congrats for 2nd Anniversary.Thanks again!\r\n\r\n---\r\n\r\nWe're very excited to celebrate the 2nd Anniversary of \"HEX Recordings\" so for the occasion, we decided to create the most powerful release so far, a Triple-Vinyl Various Artists, which includes the creations of some of the artists that are closest to the Movement but never released on the label until now like Rebekah, Cleric, Remco Beekwilder, together with new members like Benjamin Damage, AEIT, Imperial Black Unit, End Train, Rommek, Maere, 6Siss and of course some of the ambassadors of the label like Under Black Helmet, VII Circle and the two HEX Founders Paolo Ferrara and Lorenzo Raganzini.\r\n\r\nThe title of the release is \"Angels From Hell\" and it represents the most ambitious release ever created by HEX. 3 flaming Red colour Vinyl, together with some new T-shirts + Hoodie characterised by the VA's unique design.\r\n\r\n15 Artists will represent the unity under Techno of 7 different countries: France, England, Italy, Netherlands, Lithuania, Belgium and Israel.\r\n\r\n---\r\n\r\nVinyl 1\r\nA1 - Rebekah - You Be The Leader\r\nA2 - Paolo Ferrara & Lorenzo Raganzini - Sanitary Dictature\r\nA3 - AEIT - 12 Gauge\r\nB1 - VII Circle - Demons\r\nB2 - Rommek - Mezcal Worm\r\n\r\n\r\nVinyl 2\r\nC1 - Cleric - The Puppet Master \r\nC2 - Remco Beekwilder - Air Of The 90s\r\nD1 - AnD - Fearless\r\nD2 - Benjamin Damage - Matriachy\r\n\r\n\r\nVinyl 3 \r\nE1 - Under Black Helmet - The Purist\r\nE2 - MAERE & 6SISS - Organisms\r\nF1 - Imperial Black Unit - Broken Tools\r\nF2 - End Train - Ctrl+Alt+Delete The System\r\n\r\n\r\nMasters by Alain Paul (Germany)\r\nDesign by Giambrone Studio", + "image": "https://f4.bcbits.com/img/a1834646812_10.jpg", + "keywords": [ + "Electronic", + "Hard Techno", + "Techno", + "Techno.", + "techno", + "Barcelona" + ], + "mainEntityOfPage": "https://hexbarcelona.bandcamp.com/album/hex008-angels-from-hell-various-artists", + "name": "HEX008 | Angels From Hell (Various Artists)", + "numTracks": 13, + "publisher": { + "@id": "https://hexbarcelona.bandcamp.com", + "@type": "MusicGroup", + "additionalProperty": [ + { + "@type": "PropertyValue", + "name": "band_id", + "value": 1252439829 + }, + { + "@type": "PropertyValue", + "name": "has_any_downloads", + "value": true + }, + { + "@type": "PropertyValue", + "name": "has_download_codes", + "value": true + }, + { + "@type": "PropertyValue", + "name": "has_policies", + "value": true + }, + { + "@type": "PropertyValue", + "name": "image_height", + "value": 1200 + }, + { + "@type": "PropertyValue", + "name": "image_id", + "value": 23279504 + }, + { + "@type": "PropertyValue", + "name": "image_width", + "value": 1200 + } + ], + "description": "TechnoMetal label founded in 2019 by Lorenzo Raganzini and Paolo Ferrara.\n\nIt is related to HEX Techno movement.\n\nDEMOS\ndemos@hex-technomovement.com", + "foundingLocation": { + "@type": "Place", + "name": "Barcelona, Spain" + }, + "genre": "https://bandcamp.com/discover/electronic", + "image": "https://f4.bcbits.com/img/0023279504_10.jpg", + "mainEntityOfPage": [ + { + "@type": "WebSite", + "name": "hex-technomovement.com", + "url": "http://www.hex-technomovement.com" + } + ], + "name": "HEX Recordings - Techno movement", + "subjectOf": [ + { + "@type": "WebPage", + "additionalProperty": [ + { + "@type": "PropertyValue", + "name": "nav_type", + "value": "m" + } + ], + "name": "Digital Music", + "url": "https://hexbarcelona.bandcamp.com/music" + }, + { + "@type": "WebPage", + "additionalProperty": [ + { + "@type": "PropertyValue", + "name": "nav_type", + "value": "p" + } + ], + "name": "Vinyl Store & Merch", + "url": "https://hexbarcelona.bandcamp.com/merch" + }, + { + "@type": "WebPage", + "additionalProperty": [ + { + "@type": "PropertyValue", + "name": "nav_type", + "value": "v" + } + ], + "name": "Videoclips", + "url": "https://hexbarcelona.bandcamp.com/video" + }, + { + "@type": "WebPage", + "additionalProperty": [ + { + "@type": "PropertyValue", + "name": "nav_type", + "value": "c" + } + ], + "name": "Community", + "url": "https://hexbarcelona.bandcamp.com/community" + } + ] + }, + "track": { + "@type": "ItemList", + "itemListElement": [ + { + "@type": "ListItem", + "item": { + "@id": "https://hexbarcelona.bandcamp.com/track/a1-rebekah-you-be-the-leader", + "@type": "MusicRecording", + "additionalProperty": [ + { + "@type": "PropertyValue", + "name": "track_id", + "value": 1213968039 + }, + { + "@type": "PropertyValue", + "name": "license_name", + "value": "all_rights_reserved" + } + ], + "copyrightNotice": "All Rights Reserved", + "duration": "P00H05M02S", + "mainEntityOfPage": "https://hexbarcelona.bandcamp.com/track/a1-rebekah-you-be-the-leader", + "name": "A1 - Rebekah - You Be The Leader" + }, + "position": 1 + }, + { + "@type": "ListItem", + "item": { + "@id": "https://hexbarcelona.bandcamp.com/track/a2-paolo-ferrara-lorenzo-raganzini-sanitary-dictature", + "@type": "MusicRecording", + "additionalProperty": [ + { + "@type": "PropertyValue", + "name": "track_id", + "value": 1087381028 + }, + { + "@type": "PropertyValue", + "name": "license_name", + "value": "all_rights_reserved" + } + ], + "copyrightNotice": "All Rights Reserved", + "duration": "P00H06M37S", + "mainEntityOfPage": "https://hexbarcelona.bandcamp.com/track/a2-paolo-ferrara-lorenzo-raganzini-sanitary-dictature", + "name": "A2 - Paolo Ferrara & Lorenzo Raganzini - Sanitary Dictature" + }, + "position": 2 + }, + { + "@type": "ListItem", + "item": { + "@id": "https://hexbarcelona.bandcamp.com/track/a3-aeit-12-gauge", + "@type": "MusicRecording", + "additionalProperty": [ + { + "@type": "PropertyValue", + "name": "track_id", + "value": 3576637059 + }, + { + "@type": "PropertyValue", + "name": "license_name", + "value": "all_rights_reserved" + } + ], + "copyrightNotice": "All Rights Reserved", + "duration": "P00H05M07S", + "mainEntityOfPage": "https://hexbarcelona.bandcamp.com/track/a3-aeit-12-gauge", + "name": "A3 - AEIT - 12 Gauge" + }, + "position": 3 + }, + { + "@type": "ListItem", + "item": { + "@id": "https://hexbarcelona.bandcamp.com/track/b1-vii-circle-demons", + "@type": "MusicRecording", + "additionalProperty": [ + { + "@type": "PropertyValue", + "name": "track_id", + "value": 2989732089 + }, + { + "@type": "PropertyValue", + "name": "license_name", + "value": "all_rights_reserved" + } + ], + "copyrightNotice": "All Rights Reserved", + "duration": "P00H06M53S", + "mainEntityOfPage": "https://hexbarcelona.bandcamp.com/track/b1-vii-circle-demons", + "name": "B1 - VII Circle - Demons" + }, + "position": 4 + }, + { + "@type": "ListItem", + "item": { + "@id": "https://hexbarcelona.bandcamp.com/track/b2-rommek-mezcal-worm", + "@type": "MusicRecording", + "additionalProperty": [ + { + "@type": "PropertyValue", + "name": "track_id", + "value": 4029467628 + }, + { + "@type": "PropertyValue", + "name": "license_name", + "value": "all_rights_reserved" + } + ], + "copyrightNotice": "All Rights Reserved", + "duration": "P00H06M37S", + "mainEntityOfPage": "https://hexbarcelona.bandcamp.com/track/b2-rommek-mezcal-worm", + "name": "B2 - Rommek - Mezcal Worm" + }, + "position": 5 + }, + { + "@type": "ListItem", + "item": { + "@id": "https://hexbarcelona.bandcamp.com/track/c1-cleric-the-puppet-master", + "@type": "MusicRecording", + "additionalProperty": [ + { + "@type": "PropertyValue", + "name": "track_id", + "value": 4186309778 + }, + { + "@type": "PropertyValue", + "name": "license_name", + "value": "all_rights_reserved" + } + ], + "copyrightNotice": "All Rights Reserved", + "duration": "P00H06M07S", + "mainEntityOfPage": "https://hexbarcelona.bandcamp.com/track/c1-cleric-the-puppet-master", + "name": "C1 - Cleric - The Puppet Master " + }, + "position": 6 + }, + { + "@type": "ListItem", + "item": { + "@id": "https://hexbarcelona.bandcamp.com/track/c2-remco-beekwilder-air-of-the-90s", + "@type": "MusicRecording", + "additionalProperty": [ + { + "@type": "PropertyValue", + "name": "track_id", + "value": 1985091181 + }, + { + "@type": "PropertyValue", + "name": "license_name", + "value": "all_rights_reserved" + } + ], + "copyrightNotice": "All Rights Reserved", + "duration": "P00H06M39S", + "mainEntityOfPage": "https://hexbarcelona.bandcamp.com/track/c2-remco-beekwilder-air-of-the-90s", + "name": "C2 - Remco Beekwilder - Air Of The 90s" + }, + "position": 7 + }, + { + "@type": "ListItem", + "item": { + "@id": "https://hexbarcelona.bandcamp.com/track/d1-and-fearless", + "@type": "MusicRecording", + "additionalProperty": [ + { + "@type": "PropertyValue", + "name": "track_id", + "value": 2851611795 + }, + { + "@type": "PropertyValue", + "name": "license_name", + "value": "all_rights_reserved" + } + ], + "copyrightNotice": "All Rights Reserved", + "duration": "P00H07M16S", + "mainEntityOfPage": "https://hexbarcelona.bandcamp.com/track/d1-and-fearless", + "name": "D1 - AnD - Fearless" + }, + "position": 8 + }, + { + "@type": "ListItem", + "item": { + "@id": "https://hexbarcelona.bandcamp.com/track/d2-benjamin-damage-matriachy", + "@type": "MusicRecording", + "additionalProperty": [ + { + "@type": "PropertyValue", + "name": "track_id", + "value": 3716620399 + }, + { + "@type": "PropertyValue", + "name": "license_name", + "value": "all_rights_reserved" + } + ], + "copyrightNotice": "All Rights Reserved", + "duration": "P00H06M27S", + "mainEntityOfPage": "https://hexbarcelona.bandcamp.com/track/d2-benjamin-damage-matriachy", + "name": "D2 - Benjamin Damage - Matriachy" + }, + "position": 9 + }, + { + "@type": "ListItem", + "item": { + "@id": "https://hexbarcelona.bandcamp.com/track/e1-under-black-helmet-the-purist", + "@type": "MusicRecording", + "additionalProperty": [ + { + "@type": "PropertyValue", + "name": "track_id", + "value": 2076756257 + }, + { + "@type": "PropertyValue", + "name": "license_name", + "value": "all_rights_reserved" + } + ], + "copyrightNotice": "All Rights Reserved", + "duration": "P00H05M05S", + "mainEntityOfPage": "https://hexbarcelona.bandcamp.com/track/e1-under-black-helmet-the-purist", + "name": "E1 - Under Black Helmet - The Purist" + }, + "position": 10 + }, + { + "@type": "ListItem", + "item": { + "@id": "https://hexbarcelona.bandcamp.com/track/e2-maere-6siss-organisms", + "@type": "MusicRecording", + "additionalProperty": [ + { + "@type": "PropertyValue", + "name": "track_id", + "value": 1307806951 + }, + { + "@type": "PropertyValue", + "name": "license_name", + "value": "all_rights_reserved" + } + ], + "copyrightNotice": "All Rights Reserved", + "duration": "P00H06M16S", + "mainEntityOfPage": "https://hexbarcelona.bandcamp.com/track/e2-maere-6siss-organisms", + "name": "E2 - MAERE & 6SISS - Organisms" + }, + "position": 11 + }, + { + "@type": "ListItem", + "item": { + "@id": "https://hexbarcelona.bandcamp.com/track/f1-imperial-black-unit-broken-tools", + "@type": "MusicRecording", + "additionalProperty": [ + { + "@type": "PropertyValue", + "name": "track_id", + "value": 1872080121 + }, + { + "@type": "PropertyValue", + "name": "license_name", + "value": "all_rights_reserved" + } + ], + "copyrightNotice": "All Rights Reserved", + "duration": "P00H06M03S", + "mainEntityOfPage": "https://hexbarcelona.bandcamp.com/track/f1-imperial-black-unit-broken-tools", + "name": "F1 - Imperial Black Unit - Broken Tools" + }, + "position": 12 + }, + { + "@type": "ListItem", + "item": { + "@id": "https://hexbarcelona.bandcamp.com/track/f2-end-train-ctrl-alt-delete-the-system", + "@type": "MusicRecording", + "additionalProperty": [ + { + "@type": "PropertyValue", + "name": "track_id", + "value": 2196935868 + }, + { + "@type": "PropertyValue", + "name": "license_name", + "value": "all_rights_reserved" + } + ], + "copyrightNotice": "All Rights Reserved", + "duration": "P00H06M27S", + "mainEntityOfPage": "https://hexbarcelona.bandcamp.com/track/f2-end-train-ctrl-alt-delete-the-system", + "name": "F2 - End Train - Ctrl+Alt+Delete The System" + }, + "position": 13 + } + ], + "numberOfItems": 13 + } +} diff --git a/tests/json/rr2.json b/tests/json/rr2.json new file mode 100644 index 0000000..8e54bec --- /dev/null +++ b/tests/json/rr2.json @@ -0,0 +1,205 @@ +{ + "@context": "https://schema.org", + "@id": "https://44labelgroup.bandcamp.com/album/rr2", + "@type": "MusicAlbum", + "additionalProperty": [ + { + "@type": "PropertyValue", + "name": "art_id", + "value": 4051683054 + }, + { + "@type": "PropertyValue", + "name": "featured_track_num", + "value": 1 + }, + { + "@type": "PropertyValue", + "name": "license_name", + "value": "all_rights_reserved" + } + ], + "albumRelease": [ + { + "@id": "https://44labelgroup.bandcamp.com/album/rr2", + "@type": [ + "MusicRelease", + "Product" + ], + "additionalProperty": [ + { + "@type": "PropertyValue", + "name": "item_id", + "value": 1512284701 + }, + { + "@type": "PropertyValue", + "name": "item_type", + "value": "a" + }, + { + "@type": "PropertyValue", + "name": "selling_band_id", + "value": 855335734 + }, + { + "@type": "PropertyValue", + "name": "type_name", + "value": "Digital" + }, + { + "@type": "PropertyValue", + "name": "art_id", + "value": 4051683054 + } + ], + "description": "Includes high-quality download in MP3, FLAC and more. Paying supporters also get unlimited streaming via the free Bandcamp app.", + "image": [ + "https://f4.bcbits.com/img/a4051683054_10.jpg" + ], + "musicReleaseFormat": "DigitalFormat", + "name": "RR2" + }, + { + "@id": "https://44labelgroup.bandcamp.com/track/here-comes-the-storm-kobosil-44-terror-mix", + "@type": "MusicRelease" + } + ], + "albumReleaseType": "SingleRelease", + "byArtist": { + "@type": "MusicGroup", + "name": "RADICAL G & THE HORRORIST // KOBOSIL" + }, + "copyrightNotice": "All Rights Reserved", + "dateModified": "13 May 2019 20:40:29 GMT", + "datePublished": "28 Jan 2019 00:00:00 GMT", + "image": "https://f4.bcbits.com/img/a4051683054_10.jpg", + "keywords": [ + "Berlin" + ], + "mainEntityOfPage": "https://44labelgroup.bandcamp.com/album/rr2", + "name": "RR2", + "numTracks": 1, + "publisher": { + "@id": "https://44labelgroup.bandcamp.com", + "@type": "MusicGroup", + "additionalProperty": [ + { + "@type": "PropertyValue", + "name": "band_id", + "value": 855335734 + }, + { + "@type": "PropertyValue", + "name": "has_any_downloads", + "value": true + }, + { + "@type": "PropertyValue", + "name": "has_download_codes", + "value": true + }, + { + "@type": "PropertyValue", + "name": "has_policies", + "value": true + }, + { + "@type": "PropertyValue", + "name": "image_height", + "value": 1500 + }, + { + "@type": "PropertyValue", + "name": "image_id", + "value": 35240397 + }, + { + "@type": "PropertyValue", + "name": "image_width", + "value": 1500 + } + ], + "foundingLocation": { + "@type": "Place", + "name": "Berlin, Germany" + }, + "image": "https://f4.bcbits.com/img/0035240397_10.jpg", + "mainEntityOfPage": [ + { + "@type": "WebSite", + "name": "r-label.group", + "url": "http://r-label.group" + } + ], + "name": "44 LABEL GROUP", + "subjectOf": [ + { + "@type": "WebPage", + "additionalProperty": [ + { + "@type": "PropertyValue", + "name": "nav_type", + "value": "a" + } + ], + "name": "// 44 //", + "url": "https://44labelgroup.bandcamp.com/artists" + }, + { + "@type": "WebPage", + "additionalProperty": [ + { + "@type": "PropertyValue", + "name": "nav_type", + "value": "m" + } + ], + "name": "// MUSIC //", + "url": "https://44labelgroup.bandcamp.com/music" + }, + { + "@type": "WebPage", + "additionalProperty": [ + { + "@type": "PropertyValue", + "name": "nav_type", + "value": "c" + } + ], + "name": "community", + "url": "https://44labelgroup.bandcamp.com/community" + } + ] + }, + "track": { + "@type": "ItemList", + "itemListElement": [ + { + "@type": "ListItem", + "item": { + "@id": "https://44labelgroup.bandcamp.com/track/here-comes-the-storm-kobosil-44-terror-mix", + "@type": "MusicRecording", + "additionalProperty": [ + { + "@type": "PropertyValue", + "name": "track_id", + "value": 551832148 + }, + { + "@type": "PropertyValue", + "name": "license_name", + "value": "all_rights_reserved" + } + ], + "copyrightNotice": "All Rights Reserved", + "duration": "P00H06M10S", + "mainEntityOfPage": "https://44labelgroup.bandcamp.com/track/here-comes-the-storm-kobosil-44-terror-mix", + "name": "Here Comes The Storm (Kobosil 44 Terror Mix)" + }, + "position": 1 + } + ], + "numberOfItems": 1 + } +} diff --git a/tests/test_jsons.py b/tests/test_jsons.py index f795a99..cd0e229 100644 --- a/tests/test_jsons.py +++ b/tests/test_jsons.py @@ -44,6 +44,9 @@ def test_parse_single_track_release(release, beets_config): "artist_catalognum", "album_in_titles", "remix_without_brackets", + "rr2", + "hex008", + "hex002", ], indirect=["release"], )