From 34069636a0fbdc01c901faf6d9ff9375a13075c7 Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Mon, 28 Apr 2025 11:04:45 +0100 Subject: [PATCH] Add tests for Artists.fetch_artist_info/1 --- test/music_library/artists_test.exs | 20 + .../discogs/artist - steven wilson.json | 252 ++++ test/support/fixtures/discogs/artist.ex | 9 + .../music_brainz/artist - steven wilson.json | 1106 +++++++++++++++++ test/support/fixtures/music_brainz/artist.ex | 9 + 5 files changed, 1396 insertions(+) create mode 100644 test/support/fixtures/discogs/artist - steven wilson.json create mode 100644 test/support/fixtures/discogs/artist.ex create mode 100644 test/support/fixtures/music_brainz/artist - steven wilson.json create mode 100644 test/support/fixtures/music_brainz/artist.ex diff --git a/test/music_library/artists_test.exs b/test/music_library/artists_test.exs index 3db9ef6c..d0c3688c 100644 --- a/test/music_library/artists_test.exs +++ b/test/music_library/artists_test.exs @@ -29,4 +29,24 @@ defmodule MusicLibrary.ArtistsTest do assert expected == Artists.get_all_artist_ids() end end + + describe "fetch_artist_info/1" do + test "it stores musicbrainz and discogs data" do + steven_wilson_musicbrainz_id = "3a51b862-0144-40f6-aa17-6aaeefea29d9" + + Req.Test.stub(MusicBrainz.API, fn conn -> + Req.Test.json(conn, MusicBrainz.Fixtures.Artist.get_artist()) + end) + + Req.Test.stub(Discogs.API, fn conn -> + Req.Test.json(conn, Discogs.Fixtures.Artist.get_artist()) + end) + + assert {:ok, artist_info} = Artists.fetch_artist_info(steven_wilson_musicbrainz_id) + + assert artist_info.id == steven_wilson_musicbrainz_id + assert artist_info.musicbrainz_data == MusicBrainz.Fixtures.Artist.get_artist() + assert artist_info.discogs_data == Discogs.Fixtures.Artist.get_artist() + end + end end diff --git a/test/support/fixtures/discogs/artist - steven wilson.json b/test/support/fixtures/discogs/artist - steven wilson.json new file mode 100644 index 00000000..5a249d2b --- /dev/null +++ b/test/support/fixtures/discogs/artist - steven wilson.json @@ -0,0 +1,252 @@ +{ + "aliases": [ + { + "id": 529, + "name": "Bass Communion", + "resource_url": "https://api.discogs.com/artists/529", + "thumbnail_url": "https://i.discogs.com/x6nxpxv5tcTA6-Sqh2_j-mjEdaKPo-niARhBP8Vhv78/rs:fit/g:sm/q:40/h:902/w:600/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9BLTUyOS0x/MzIwMDk0MzMxLmpw/ZWc.jpeg" + }, + { + "id": 1386404, + "name": "I.E.M.", + "resource_url": "https://api.discogs.com/artists/1386404", + "thumbnail_url": "https://i.discogs.com/Qy0m7CB4wOxS5DkPNdsHBzyNZ1VbiPZYP0IslN0AbbM/rs:fit/g:sm/q:40/h:600/w:591/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9BLTEzODY0/MDQtMTMxNzI5NTM5/OS5qcGVn.jpeg" + }, + { + "id": 1853156, + "name": "JC Camillioni", + "resource_url": "https://api.discogs.com/artists/1853156", + "thumbnail_url": "" + }, + { + "id": 1853157, + "name": "Digit (4)", + "resource_url": "https://api.discogs.com/artists/1853157", + "thumbnail_url": "" + }, + { + "id": 2877152, + "name": "Timothy Tadpole Jones", + "resource_url": "https://api.discogs.com/artists/2877152", + "thumbnail_url": "" + }, + { + "id": 2877153, + "name": "Sir Tarquin Underspoon", + "resource_url": "https://api.discogs.com/artists/2877153", + "thumbnail_url": "" + }, + { + "id": 2877154, + "name": "Mr Jelly", + "resource_url": "https://api.discogs.com/artists/2877154", + "thumbnail_url": "" + }, + { + "id": 2877155, + "name": "Sebastian Tweetle Blampton III", + "resource_url": "https://api.discogs.com/artists/2877155", + "thumbnail_url": "" + }, + { + "id": 2877157, + "name": "Linton Samuel Dawson", + "resource_url": "https://api.discogs.com/artists/2877157", + "thumbnail_url": "" + }, + { + "id": 2877159, + "name": "The Porcupine Tree", + "resource_url": "https://api.discogs.com/artists/2877159", + "thumbnail_url": "" + } + ], + "data_quality": "Needs Vote", + "groups": [ + { + "active": true, + "id": 5105, + "name": "Porcupine Tree", + "resource_url": "https://api.discogs.com/artists/5105", + "thumbnail_url": "https://i.discogs.com/oCMCCKKxFsYNdwgiZAHU6pbQurkn41IbZn_whQ5NevY/rs:fit/g:sm/q:40/h:400/w:600/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9BLTUxMDUt/MTY1MzIxMDYwNi0y/NTQzLmpwZWc.jpeg" + }, + { + "active": true, + "id": 40451, + "name": "No-Man", + "resource_url": "https://api.discogs.com/artists/40451", + "thumbnail_url": "https://i.discogs.com/PrZ19HOFJjji5Fvz2Pdj0eJ4MeMIKcBSRJ7NOGofyFA/rs:fit/g:sm/q:40/h:607/w:600/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9BLTQwNDUx/LTE1NzY3ODA3MzIt/MTMwMC5qcGVn.jpeg" + }, + { + "active": true, + "id": 202762, + "name": "Blackfield", + "resource_url": "https://api.discogs.com/artists/202762", + "thumbnail_url": "https://i.discogs.com/bgzePFZxtnPjXs05BySsKf3MAvj3qr7NdA7WeE67g_g/rs:fit/g:sm/q:40/h:400/w:533/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9BLTIwMjc2/Mi0xMzc1Nzk5NzM5/LTIzMDguanBlZw.jpeg" + }, + { + "active": true, + "id": 294502, + "name": "Continuum (2)", + "resource_url": "https://api.discogs.com/artists/294502", + "thumbnail_url": "https://i.discogs.com/quCWDF3n4EWXxWySB0QuhXFYHnMhBlkPl7KSfRMHeOM/rs:fit/g:sm/q:40/h:334/w:445/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9BLTI5NDUw/Mi0xMjc2NzExMzA3/LmpwZWc.jpeg" + }, + { + "active": false, + "id": 1611349, + "name": "Altamont (2)", + "resource_url": "https://api.discogs.com/artists/1611349", + "thumbnail_url": "https://i.discogs.com/mc-4LGG7ZT352dabAiUUtiuejPWdYW7B6DL8XQRut3o/rs:fit/g:sm/q:40/h:224/w:224/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9BLTE2MTEz/NDktMTI4Njc0Mzgz/Ni5qcGVn.jpeg" + }, + { + "active": false, + "id": 1876650, + "name": "Amber Dawn", + "resource_url": "https://api.discogs.com/artists/1876650", + "thumbnail_url": "" + }, + { + "active": false, + "id": 2331573, + "name": "Pride Of Passion", + "resource_url": "https://api.discogs.com/artists/2331573", + "thumbnail_url": "https://i.discogs.com/qzXRoXi3BRK3y2NKewMEt9I0MPn9NBdkOSc1YOGZD5Q/rs:fit/g:sm/q:40/h:459/w:600/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9BLTIzMzE1/NzMtMTU4NDQwMjg0/OS0yMTYyLmpwZWc.jpeg" + }, + { + "active": true, + "id": 2739057, + "name": "Storm Corrosion", + "resource_url": "https://api.discogs.com/artists/2739057", + "thumbnail_url": "https://i.discogs.com/ublyVMhKA5AJoc7oTLevua9OmZpP9knZTcMxyUSHc9M/rs:fit/g:sm/q:40/h:400/w:600/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9BLTI3Mzkw/NTctMTcyODQ5NTQw/Mi0yOTI1LmpwZWc.jpeg" + }, + { + "active": true, + "id": 4033979, + "name": "Karma (82)", + "resource_url": "https://api.discogs.com/artists/4033979", + "thumbnail_url": "https://i.discogs.com/T-R6geRHQz3aVn84mrZH4hPCfQNaJY2nHvaQXYUkZQw/rs:fit/g:sm/q:40/h:407/w:600/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9BLTQwMzM5/NzktMTY1MjQzOTY3/NC04MTEwLmpwZWc.jpeg" + }, + { + "active": true, + "id": 7395914, + "name": "God (43)", + "resource_url": "https://api.discogs.com/artists/7395914", + "thumbnail_url": "" + }, + { + "active": false, + "id": 7788983, + "name": "Paradox (98)", + "resource_url": "https://api.discogs.com/artists/7788983", + "thumbnail_url": "" + }, + { + "active": false, + "id": 11192150, + "name": "Blazing Apostles (2)", + "resource_url": "https://api.discogs.com/artists/11192150", + "thumbnail_url": "" + } + ], + "id": 227943, + "images": [ + { + "height": 225, + "resource_url": "https://i.discogs.com/NAL7BWi4pJ78fXISTYPqmw-jEKEL_uP3_HLDIRHWoS0/rs:fit/g:sm/q:90/h:225/w:225/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9BLTIyNzk0/My0xNjAxNDE0MzE5/LTYxNzguanBlZw.jpeg", + "type": "primary", + "uri": "https://i.discogs.com/NAL7BWi4pJ78fXISTYPqmw-jEKEL_uP3_HLDIRHWoS0/rs:fit/g:sm/q:90/h:225/w:225/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9BLTIyNzk0/My0xNjAxNDE0MzE5/LTYxNzguanBlZw.jpeg", + "uri150": "https://i.discogs.com/yfEjfcJUv0SZdBlROpjwBseVWPPOU5LcPT9jZpi6Gyc/rs:fit/g:sm/q:40/h:150/w:150/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9BLTIyNzk0/My0xNjAxNDE0MzE5/LTYxNzguanBlZw.jpeg", + "width": 225 + }, + { + "height": 420, + "resource_url": "https://i.discogs.com/1spWtb6YoUWPxQmrGgqByihizM1AXHI9yYQzXSEEcX4/rs:fit/g:sm/q:90/h:420/w:512/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9BLTIyNzk0/My0xNjAxNDE0MzE5/LTEzMjYuanBlZw.jpeg", + "type": "secondary", + "uri": "https://i.discogs.com/1spWtb6YoUWPxQmrGgqByihizM1AXHI9yYQzXSEEcX4/rs:fit/g:sm/q:90/h:420/w:512/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9BLTIyNzk0/My0xNjAxNDE0MzE5/LTEzMjYuanBlZw.jpeg", + "uri150": "https://i.discogs.com/ooRiDMJKrkJgkpZB52BIwJabHuvEmpNEKjmfVsEnhEg/rs:fit/g:sm/q:40/h:150/w:150/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9BLTIyNzk0/My0xNjAxNDE0MzE5/LTEzMjYuanBlZw.jpeg", + "width": 512 + }, + { + "height": 450, + "resource_url": "https://i.discogs.com/oEogSb6oI_l1glC6bTui_u8MMpj2mkeFCHUC0wMDYuc/rs:fit/g:sm/q:90/h:450/w:600/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9BLTIyNzk0/My0xNTA0MjAwNTU3/LTQ3NTIuanBlZw.jpeg", + "type": "secondary", + "uri": "https://i.discogs.com/oEogSb6oI_l1glC6bTui_u8MMpj2mkeFCHUC0wMDYuc/rs:fit/g:sm/q:90/h:450/w:600/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9BLTIyNzk0/My0xNTA0MjAwNTU3/LTQ3NTIuanBlZw.jpeg", + "uri150": "https://i.discogs.com/7dJqGyGw0D_rWGjFNUQNL3ZZyyBOMYaOtp8rfxSALBE/rs:fit/g:sm/q:40/h:150/w:150/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9BLTIyNzk0/My0xNTA0MjAwNTU3/LTQ3NTIuanBlZw.jpeg", + "width": 600 + }, + { + "height": 450, + "resource_url": "https://i.discogs.com/VQRwvqtv-J227k70BdRK6H0x1FJDSwLkKPXJisulyQM/rs:fit/g:sm/q:90/h:450/w:600/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9BLTIyNzk0/My0xMzUyMzA0NDA0/LTY4NjAuanBlZw.jpeg", + "type": "secondary", + "uri": "https://i.discogs.com/VQRwvqtv-J227k70BdRK6H0x1FJDSwLkKPXJisulyQM/rs:fit/g:sm/q:90/h:450/w:600/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9BLTIyNzk0/My0xMzUyMzA0NDA0/LTY4NjAuanBlZw.jpeg", + "uri150": "https://i.discogs.com/xMpjG-uNuojP5iO8N2dAGvxUn-1fTjXyBzdu0ofmt0I/rs:fit/g:sm/q:40/h:150/w:150/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9BLTIyNzk0/My0xMzUyMzA0NDA0/LTY4NjAuanBlZw.jpeg", + "width": 600 + }, + { + "height": 400, + "resource_url": "https://i.discogs.com/jceVa-RQ7T7m4-KsvR0KfS0m3WQLKnjNKXWCnsraMY4/rs:fit/g:sm/q:90/h:400/w:600/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9BLTIyNzk0/My0xMzUyMzA0MzE2/LTY2MDQuanBlZw.jpeg", + "type": "secondary", + "uri": "https://i.discogs.com/jceVa-RQ7T7m4-KsvR0KfS0m3WQLKnjNKXWCnsraMY4/rs:fit/g:sm/q:90/h:400/w:600/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9BLTIyNzk0/My0xMzUyMzA0MzE2/LTY2MDQuanBlZw.jpeg", + "uri150": "https://i.discogs.com/xiiybk4UhDY-fJuw0DMcL6MzANV5yhJ6YVbL_eo_Jn4/rs:fit/g:sm/q:40/h:150/w:150/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9BLTIyNzk0/My0xMzUyMzA0MzE2/LTY2MDQuanBlZw.jpeg", + "width": 600 + }, + { + "height": 452, + "resource_url": "https://i.discogs.com/lBALP0Ka6w0mtk4aO-NSKo37fM0kSZM9umpoDqSV5jA/rs:fit/g:sm/q:90/h:452/w:359/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9BLTIyNzk0/My0xNjQ0MDk0MDUx/LTc2ODMuanBlZw.jpeg", + "type": "secondary", + "uri": "https://i.discogs.com/lBALP0Ka6w0mtk4aO-NSKo37fM0kSZM9umpoDqSV5jA/rs:fit/g:sm/q:90/h:452/w:359/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9BLTIyNzk0/My0xNjQ0MDk0MDUx/LTc2ODMuanBlZw.jpeg", + "uri150": "https://i.discogs.com/Trg4C978K-17obZDADQ5sbGOwHA-lSJJ8OPl-RsxWtk/rs:fit/g:sm/q:40/h:150/w:150/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9BLTIyNzk0/My0xNjQ0MDk0MDUx/LTc2ODMuanBlZw.jpeg", + "width": 359 + }, + { + "height": 409, + "resource_url": "https://i.discogs.com/N6HvHXjLuScthc6fA_1hhuBomBbf_dPRWsyk_V2_LzY/rs:fit/g:sm/q:90/h:409/w:580/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9BLTIyNzk0/My0xMTExNzgzNzIw/LmpwZw.jpeg", + "type": "secondary", + "uri": "https://i.discogs.com/N6HvHXjLuScthc6fA_1hhuBomBbf_dPRWsyk_V2_LzY/rs:fit/g:sm/q:90/h:409/w:580/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9BLTIyNzk0/My0xMTExNzgzNzIw/LmpwZw.jpeg", + "uri150": "https://i.discogs.com/-RDDvPxCmHsp0PkYZHuvxAbPKQeeaDZNqj2Oqc34K2E/rs:fit/g:sm/q:40/h:150/w:150/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9BLTIyNzk0/My0xMTExNzgzNzIw/LmpwZw.jpeg", + "width": 580 + }, + { + "height": 250, + "resource_url": "https://i.discogs.com/hqS0U8Ug5gm6ITyiDLk9Vv6LRQetNUrN_IutEFaBiXk/rs:fit/g:sm/q:90/h:250/w:500/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9BLTIyNzk0/My0xMzUyMzA0MzIy/LTc4NjYuanBlZw.jpeg", + "type": "secondary", + "uri": "https://i.discogs.com/hqS0U8Ug5gm6ITyiDLk9Vv6LRQetNUrN_IutEFaBiXk/rs:fit/g:sm/q:90/h:250/w:500/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9BLTIyNzk0/My0xMzUyMzA0MzIy/LTc4NjYuanBlZw.jpeg", + "uri150": "https://i.discogs.com/x_LT4CpD2jp5oxSxk3IsWhVSO9FmCQqP-yVRLKgG9oU/rs:fit/g:sm/q:40/h:150/w:150/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9BLTIyNzk0/My0xMzUyMzA0MzIy/LTc4NjYuanBlZw.jpeg", + "width": 500 + } + ], + "name": "Steven Wilson", + "namevariations": [ + "S. Wilson", + "S.W.", + "S.Wilson", + "SW", + "Steve", + "Steve Wilson", + "Steven", + "Steven (No Man) Wilson", + "Stvn Wlsn", + "Wilson", + "sw", + "סטיבן ווילסון" + ], + "profile": "British musician, who is best known as the founder, lead guitarist, singer and songwriter of [a5105]. He is involved with many other bands and musical projects, both as musician and producer, whilst also maintaining a solo career. Also known as successful sound recordings restorer.\r\n\r\nBorn November 3, 1967 in Hemel Hempstead, Hertfordshire, England, UK.\r\n\r\n[i]Note differentiation:\r\nFor the French choreographer, actor, dancer, singer, body builder, director of two music videos and personal trainer, see [a236886].\r\nFor the Norwegian musician and member of [a437601], see [a715593].\r\nFor the American musician, producer and songwriter, lead guitarist and singer of [a1376819], see [a1376781].\r\nFor the British photographer and illustrator, see [a2416221].\r\nFor the British deephouse / soul producer and DJ aka [a475819], see [a274763].\r\nFor the American jazz saxophonist and flautist, see [a375729].\r\nFor the American punk musician and member of [a600564], see [a600568].\r\nFor the American producer, engineer, songwriter and musician from Nashville, TN, see [a611067].\r\nFor the American drummer and ex-member of [a=Dead Kennedys] and session drummer for [a=t.a.t.u.], see [a=Steve Wilson (9)].\r\nFor the American compilation producer, see [a868004].\r\nFor the resonator guitar player from Lynchburg, Virginia, see [a1095285].\r\nFor the Scottish rock guitarist, see [a1188656].\r\nFor the Australian musician and singer / songwriter, founding member of [a1490143], see [a1478580].\r\nFor the American musician and songwriter, see [a1725182].\r\nFor the American hiphop producer, see [a2244755].\r\nFor the Australian producer and engineer, [a2302828].\r\nFor the American bluegrass musician, see [a2342351].\r\nFor the American pop-rock singer from the sixties, see [a2634056].\r\nFor the pop-easy listening songwriter, see [a2671499].\r\nFor the American punk musician and songwriter, see [a3165194].\r\nFor the American blues drummer, see [a3168201].\r\nFor the American metal guitarist, see [a3168305].\r\nFor the American garage rock bassist and singer, see [a3168312].\r\nFor the American rock drummer and singer, see [a3168358].\r\nFor the Jamaican reggae and electronic artist, see [a3168514].\r\nFor the American drum & bass DJ and producer aka [a143017], see [a1189920], if necessary with ANV.[/i]", + "realname": "Steven John Wilson", + "releases_url": "https://api.discogs.com/artists/227943/releases", + "resource_url": "https://api.discogs.com/artists/227943", + "uri": "https://www.discogs.com/artist/227943-Steven-Wilson", + "urls": [ + "http://stevenwilsonhq.com/", + "https://www.AllMusic.com/artist/steven-wilson-mn0000455886/discography ", + "https://www.facebook.com/StevenWilsonHQ/", + "https://www.instagram.com/stevenwilsonhq/", + "http://www.ProgArchives.com/artist.asp?id=4135#discography ", + "https://RateYourMusic.com/artist/steven-wilson", + "https://soundcloud.com/steven-wilson", + "https://open.Spotify.com/artist/4X42BfuhWCAZ2swiVze9O0?si=37xUFcFVSGC8xeZlMLN--w", + "https://open.Spotify.com/user/stevenwilsonofficial", + "https://twitter.com/stevenwilsonhq", + "https://en.wikipedia.org/wiki/Steven_Wilson", + "https://www.youtube.com/stevenwilsonhq" + ] +} \ No newline at end of file diff --git a/test/support/fixtures/discogs/artist.ex b/test/support/fixtures/discogs/artist.ex new file mode 100644 index 00000000..2e65d80b --- /dev/null +++ b/test/support/fixtures/discogs/artist.ex @@ -0,0 +1,9 @@ +defmodule Discogs.Fixtures.Artist do + @fixtures_folder Path.join([File.cwd!(), "test/support/fixtures/discogs"]) + + def get_artist do + Path.join([@fixtures_folder, "artist - steven wilson.json"]) + |> File.read!() + |> JSON.decode!() + end +end diff --git a/test/support/fixtures/music_brainz/artist - steven wilson.json b/test/support/fixtures/music_brainz/artist - steven wilson.json new file mode 100644 index 00000000..3fc5eb2d --- /dev/null +++ b/test/support/fixtures/music_brainz/artist - steven wilson.json @@ -0,0 +1,1106 @@ +{ + "area": { + "disambiguation": "", + "id": "8a754a16-0027-3a29-b6d7-2b40ea0481ed", + "iso-3166-1-codes": [ + "GB" + ], + "name": "United Kingdom", + "sort-name": "United Kingdom", + "type": null, + "type-id": null + }, + "begin-area": { + "disambiguation": "", + "id": "82d06beb-9ddb-4f9b-bc83-95fab1304289", + "name": "Kingston upon Thames", + "sort-name": "Kingston upon Thames", + "type": null, + "type-id": null + }, + "country": "GB", + "disambiguation": "founder of Porcupine Tree", + "end-area": null, + "gender": "Male", + "gender-id": "36d3d30a-839d-3eda-8cb3-29be4384e4a9", + "id": "3a51b862-0144-40f6-aa17-6aaeefea29d9", + "ipis": [ + "00162587650" + ], + "isnis": [ + "0000000374688920" + ], + "life-span": { + "begin": "1967-11-03", + "end": null, + "ended": false + }, + "name": "Steven Wilson", + "relations": [ + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "allmusic", + "type-id": "6b3e3c85-0002-4f34-aca6-80ace0d7e846", + "url": { + "id": "da5553bf-922b-4a52-8ece-17b09307dc70", + "resource": "https://www.allmusic.com/artist/mn0000455886" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "bandsintown", + "type-id": "ea45ed3d-2d5e-456e-8c32-94b6f51426e2", + "url": { + "id": "8f864d94-f9b5-4f21-8a2c-b0aff390f3aa", + "resource": "https://www.bandsintown.com/a/4122" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": "2020-11-19", + "ended": true, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "BBC Music page", + "type-id": "d028a975-000c-4525-9333-d3c8425e4b54", + "url": { + "id": "dc42632f-27a5-42a8-b5cf-e81b83baca14", + "resource": "https://www.bbc.co.uk/music/artists/3a51b862-0144-40f6-aa17-6aaeefea29d9" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "discography page", + "type-id": "4fb0eeec-a6eb-4ae3-ad52-b55765b94e8f", + "url": { + "id": "7b4fca5f-eea6-4e66-95e9-45a6884edaf2", + "resource": "http://www.voyage-pt.de/swdisco.html" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "discogs", + "type-id": "04a5b104-a4c2-4bac-99a1-7b837c37d9e4", + "url": { + "id": "d291120e-8386-4075-b28b-043c14d08ad2", + "resource": "https://www.discogs.com/artist/227943" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "free streaming", + "type-id": "769085a1-c2f7-4c24-a532-2375a77693bd", + "url": { + "id": "a775bce3-cca1-4425-b545-25154f95140c", + "resource": "https://open.spotify.com/artist/4X42BfuhWCAZ2swiVze9O0" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "free streaming", + "type-id": "769085a1-c2f7-4c24-a532-2375a77693bd", + "url": { + "id": "eb66a8cc-3b23-49d7-81bf-a7708ef28165", + "resource": "https://www.deezer.com/artist/254940" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "image", + "type-id": "221132e9-e30e-43f2-a741-15afc4c5fa7c", + "url": { + "id": "c60a0213-3691-4ad6-9d69-0084d377edbc", + "resource": "https://commons.wikimedia.org/wiki/File:Porcupine_Tree_STEVEN_WILSON_TS_Wis%C5%82a_Krak%C3%B3w_002.jpg" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "IMDb", + "type-id": "94c8b0cc-4477-4106-932c-da60e63de61c", + "url": { + "id": "ec2e348f-df1b-4c23-9b60-b2aca0d1a964", + "resource": "https://www.imdb.com/name/nm3681970/" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "last.fm", + "type-id": "08db8098-c0df-4b78-82c3-c8697b4bba7f", + "url": { + "id": "7340dbf3-2c7d-496b-95a8-e42de66eda33", + "resource": "https://www.last.fm/music/Steven+Wilson" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "lyrics", + "type-id": "e4d73442-3762-45a8-905c-401da65544ed", + "url": { + "id": "a6eb20a9-b5da-45c0-a1d2-53aa2ce65c69", + "resource": "https://genius.com/artists/Steven-wilson" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "lyrics", + "type-id": "e4d73442-3762-45a8-905c-401da65544ed", + "url": { + "id": "ac020652-4a97-4719-afca-58e2080891bb", + "resource": "https://muzikum.eu/en/steven-wilson/lyrics" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "lyrics", + "type-id": "e4d73442-3762-45a8-905c-401da65544ed", + "url": { + "id": "f5b020a8-5b4f-4b94-92f5-10ce35b87308", + "resource": "https://www.musixmatch.com/artist/Steven-Wilson" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "myspace", + "type-id": "bac47923-ecde-4b59-822e-d08f0cd10156", + "url": { + "id": "e461be55-ad00-449b-9e3d-d9c4e35a9b52", + "resource": "https://myspace.com/therealstevenwilson" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "official homepage", + "type-id": "fe33d22f-c3b0-4d68-bd53-a856badf2b15", + "url": { + "id": "aea691aa-644e-4e96-88d7-04045ff43b95", + "resource": "http://stevenwilsonhq.com/" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "other databases", + "type-id": "d94fb61c-fa20-4e3c-a19a-71a949fb2c55", + "url": { + "id": "14d20e8b-af9a-4fa3-8711-a8755aaba857", + "resource": "http://id.loc.gov/authorities/names/n2010062582" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "other databases", + "type-id": "d94fb61c-fa20-4e3c-a19a-71a949fb2c55", + "url": { + "id": "06d31042-0f26-46cb-be12-3b6e41077d42", + "resource": "http://mvdbase.com/person.php?id=A22307" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "other databases", + "type-id": "d94fb61c-fa20-4e3c-a19a-71a949fb2c55", + "url": { + "id": "89fb2374-4f9e-479e-82fd-11ff1ad26538", + "resource": "https://catalogue.bnf.fr/ark:/12148/cb16563549j" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "other databases", + "type-id": "d94fb61c-fa20-4e3c-a19a-71a949fb2c55", + "url": { + "id": "f41d666f-b0b0-4946-a5b4-bc21ae1b0c83", + "resource": "https://d-nb.info/gnd/134891058" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "other databases", + "type-id": "d94fb61c-fa20-4e3c-a19a-71a949fb2c55", + "url": { + "id": "3b85d282-09f3-4cf9-adb1-97cfbdf9d309", + "resource": "https://id.oclc.org/worldcat/entity/E39PCjF8hTPYgR4grKGxh8VY8y" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "other databases", + "type-id": "d94fb61c-fa20-4e3c-a19a-71a949fb2c55", + "url": { + "id": "9a5a384d-4ee0-4640-bf5b-3c84f34fcaae", + "resource": "https://imvdb.com/n/steven-wilson" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "other databases", + "type-id": "d94fb61c-fa20-4e3c-a19a-71a949fb2c55", + "url": { + "id": "7ec43b76-f192-4892-b918-fc879ec61eb9", + "resource": "https://rateyourmusic.com/artist/steven-wilson" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "other databases", + "type-id": "d94fb61c-fa20-4e3c-a19a-71a949fb2c55", + "url": { + "id": "838240e4-4159-451d-81a1-ef3d128d8764", + "resource": "https://www.45cat.com/artist/steven-wilson" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "other databases", + "type-id": "d94fb61c-fa20-4e3c-a19a-71a949fb2c55", + "url": { + "id": "f84f115a-fa40-4071-b926-f84c5e629aab", + "resource": "https://www.livefans.jp/artists/110965" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "other databases", + "type-id": "d94fb61c-fa20-4e3c-a19a-71a949fb2c55", + "url": { + "id": "67833bb2-caf1-4fc6-9402-4578a5e8c9a0", + "resource": "https://www.metal-archives.com/artists/Steven_Wilson/17295" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "other databases", + "type-id": "d94fb61c-fa20-4e3c-a19a-71a949fb2c55", + "url": { + "id": "1525dbf7-1ebd-4b8a-ae3e-abf81e912287", + "resource": "https://www.musik-sammler.de/artist/steven-wilson/" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "other databases", + "type-id": "d94fb61c-fa20-4e3c-a19a-71a949fb2c55", + "url": { + "id": "72d51b77-c85c-4ce8-b540-2775bc819c29", + "resource": "https://www.muziekweb.nl/Link/M00000331755/POPULAR/" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "other databases", + "type-id": "d94fb61c-fa20-4e3c-a19a-71a949fb2c55", + "url": { + "id": "846c6285-074a-4f18-9f2c-e8e4a16e5eb1", + "resource": "https://www.progarchives.com/artist.asp?id=4135" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "other databases", + "type-id": "d94fb61c-fa20-4e3c-a19a-71a949fb2c55", + "url": { + "id": "4eac2ee8-3bc1-4f08-8ba2-0b728db3ec1a", + "resource": "https://www.spirit-of-rock.com/en/band/Steven_Wilson" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "other databases", + "type-id": "d94fb61c-fa20-4e3c-a19a-71a949fb2c55", + "url": { + "id": "9d090980-68e7-48d6-b039-e5d573aa58fc", + "resource": "https://www.whosampled.com/Steven-Wilson/" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "other databases", + "type-id": "d94fb61c-fa20-4e3c-a19a-71a949fb2c55", + "url": { + "id": "31ac5e52-cc64-42a6-ba0f-11ebe2eef5bd", + "resource": "http://www.spirit-of-metal.com/groupe-groupe-Steven_Wilson-l-en.html" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": "2020-10-12", + "ended": true, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "purchase for download", + "type-id": "f8319a2f-f824-4617-81c8-be6560b3b203", + "url": { + "id": "7684bc7b-1d04-40cb-88b4-eaea3e9450f5", + "resource": "https://play.google.com/store/music/artist?id=Ao5e55is3zezippmazzyhbfixte" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "purchase for download", + "type-id": "f8319a2f-f824-4617-81c8-be6560b3b203", + "url": { + "id": "2816b398-097e-4da6-82ff-caf8ba02adbc", + "resource": "https://itunes.apple.com/gb/artist/id428011728" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "purchase for download", + "type-id": "f8319a2f-f824-4617-81c8-be6560b3b203", + "url": { + "id": "caa7419e-3b82-4687-99f3-570aea456c0a", + "resource": "https://mora.jp/artist/1095395/all" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "purchase for download", + "type-id": "f8319a2f-f824-4617-81c8-be6560b3b203", + "url": { + "id": "ecccebef-872a-4f89-8862-3d84933a5f4a", + "resource": "https://uk.7digital.com/artist/steven-wilson" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "purchase for download", + "type-id": "f8319a2f-f824-4617-81c8-be6560b3b203", + "url": { + "id": "842e9da9-ab90-4c0a-853e-c7f1f0bf0091", + "resource": "https://www.junodownload.com/artists/Steven+Wilson/releases/" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "purchase for download", + "type-id": "f8319a2f-f824-4617-81c8-be6560b3b203", + "url": { + "id": "ac6ad8d7-4467-4bf5-9821-74eac3504085", + "resource": "https://www.onkyomusic.com/GB/artist/steven-wilson" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "purchase for download", + "type-id": "f8319a2f-f824-4617-81c8-be6560b3b203", + "url": { + "id": "fbaedafd-9d65-421c-83fc-cd1104e9114c", + "resource": "https://www.qobuz.com/gb-en/interpreter/steven-wilson/download-streaming-albums" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "purchase for mail-order", + "type-id": "611b1862-67af-4253-a64f-34adba305d1d", + "url": { + "id": "a3a55e46-ad9d-4ef6-986a-6ade1fce37b0", + "resource": "https://www.cdjapan.co.jp/person/700304576" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "secondhandsongs", + "type-id": "79c5b84d-a206-4f4c-9832-78c028c312c3", + "url": { + "id": "aa629c39-dc47-4d1c-a9a8-f3efd22a08f0", + "resource": "https://secondhandsongs.com/artist/40096" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "setlistfm", + "type-id": "bf5d0d5e-27a1-4e94-9df7-3cdc67b3b207", + "url": { + "id": "cfd0829a-9b28-42f5-9048-cb09f810163b", + "resource": "https://www.setlist.fm/setlists/steven-wilson-7bd6b21c.html" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "social network", + "type-id": "99429741-f3f6-484b-84f8-23af51991770", + "url": { + "id": "bb20fcb7-cbeb-4a02-8314-e4179cb312c0", + "resource": "https://bsky.app/profile/stevenwilsonhq.bsky.social" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "social network", + "type-id": "99429741-f3f6-484b-84f8-23af51991770", + "url": { + "id": "ffd94ab8-9622-40ab-b2e3-e8da554ef928", + "resource": "https://twitter.com/StevenWilsonHQ" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "social network", + "type-id": "99429741-f3f6-484b-84f8-23af51991770", + "url": { + "id": "03e7360e-42df-48bf-96f2-9c6be42b103b", + "resource": "https://www.facebook.com/StevenWilsonHQ" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "social network", + "type-id": "99429741-f3f6-484b-84f8-23af51991770", + "url": { + "id": "cbebefa2-b97b-4731-a3e2-ae7c4e40e769", + "resource": "https://www.instagram.com/stevenwilsonhq/" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "social network", + "type-id": "99429741-f3f6-484b-84f8-23af51991770", + "url": { + "id": "78c28d7e-b97a-41a2-82b9-acdb4d60f6f6", + "resource": "https://www.threads.net/@stevenwilsonhq" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "social network", + "type-id": "99429741-f3f6-484b-84f8-23af51991770", + "url": { + "id": "ccbbb9ad-57c7-44b2-a3c0-72adc7113e65", + "resource": "https://www.tiktok.com/@stevenwilsonhq" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "songkick", + "type-id": "aac9c4bc-a5b9-30b8-9839-e3ac314c6e58", + "url": { + "id": "95d6a749-07d1-4168-b061-dbbe3f1dd3e5", + "resource": "https://www.songkick.com/artists/486397" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "soundcloud", + "type-id": "89e4a949-0976-440d-bda1-5f772c1e5710", + "url": { + "id": "238a9795-1c09-471c-91ce-4dc15df91f28", + "resource": "https://soundcloud.com/steven-wilson" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "streaming", + "type-id": "63cc5d1f-f096-4c94-a43f-ecb32ea94161", + "url": { + "id": "66d87259-96e4-4d3b-a139-c775c27054ae", + "resource": "https://music.amazon.com/artists/B000QJKDUW" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "streaming", + "type-id": "63cc5d1f-f096-4c94-a43f-ecb32ea94161", + "url": { + "id": "a4f23a88-c938-4b61-825a-2fa6c16b34de", + "resource": "https://music.apple.com/gb/artist/428011728" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "streaming", + "type-id": "63cc5d1f-f096-4c94-a43f-ecb32ea94161", + "url": { + "id": "d4a5c058-5bde-4427-8a60-edf44aa314d3", + "resource": "https://play.qobuz.com/artist/133149" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "streaming", + "type-id": "63cc5d1f-f096-4c94-a43f-ecb32ea94161", + "url": { + "id": "7b387234-57c7-43ec-a184-9727c5a7faf0", + "resource": "https://tidal.com/artist/3604644" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "streaming", + "type-id": "63cc5d1f-f096-4c94-a43f-ecb32ea94161", + "url": { + "id": "42184ee2-a9b1-4929-842d-0266a9702b14", + "resource": "https://us.napster.com/artist/steven-wilson" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "ticketing", + "type-id": "34beaf28-cbdd-4bf7-bc41-e7de18135245", + "url": { + "id": "95a74092-0cae-4aaf-a84d-f11a31543265", + "resource": "https://www.ticketmaster.com/artist/1616063" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "VIAF", + "type-id": "e8571dcc-35d4-4e91-a577-a3382fd84460", + "url": { + "id": "aed9e5ca-683a-4f5c-aae9-324b2f57d0d6", + "resource": "http://viaf.org/viaf/101144814559463704593" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "wikidata", + "type-id": "689870a4-a1e4-4912-b17f-7b2664215698", + "url": { + "id": "19ec127f-7b55-4348-bf98-71837d611bf2", + "resource": "https://www.wikidata.org/wiki/Q352766" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "youtube", + "type-id": "6a540e5b-58c6-4192-b6ba-dbc71ec8fcf0", + "url": { + "id": "0a995dbc-347c-4bac-b785-6b48aaafc7a1", + "resource": "https://www.youtube.com/user/StevenWilsonHQ" + } + }, + { + "attribute-ids": {}, + "attribute-values": {}, + "attributes": [], + "begin": null, + "direction": "forward", + "end": null, + "ended": false, + "source-credit": "", + "target-credit": "", + "target-type": "url", + "type": "youtube music", + "type-id": "631712a0-7525-42ba-b7a3-605aa7a238c4", + "url": { + "id": "70e21c6b-3492-45ef-a4f4-3f6343083047", + "resource": "https://music.youtube.com/channel/UCN_yfO7km9qK5n9JlLJRdrg" + } + } + ], + "sort-name": "Wilson, Steven", + "type": "Person", + "type-id": "b6e035f4-3ce9-331c-97df-83397230b0df" +} \ No newline at end of file diff --git a/test/support/fixtures/music_brainz/artist.ex b/test/support/fixtures/music_brainz/artist.ex new file mode 100644 index 00000000..5b16f631 --- /dev/null +++ b/test/support/fixtures/music_brainz/artist.ex @@ -0,0 +1,9 @@ +defmodule MusicBrainz.Fixtures.Artist do + @fixtures_folder Path.join([File.cwd!(), "test/support/fixtures/music_brainz"]) + + def get_artist do + Path.join([@fixtures_folder, "artist - steven wilson.json"]) + |> File.read!() + |> JSON.decode!() + end +end