From bbe284170de9b7bbf422ae4b0d597529d71ebcbe Mon Sep 17 00:00:00 2001 From: Howard Wilson Date: Sat, 7 Sep 2024 10:47:31 +0200 Subject: [PATCH] Revert 9b0f396cb420e29b28857905db99f1aeb4c108d8 due to #181 --- README.md | 1 - src/components/PlaylistTable.test.tsx | 30 +++++++++++++-------------- src/components/data/TracksBaseData.ts | 8 +++---- src/mocks/handlers.ts | 29 -------------------------- 4 files changed, 18 insertions(+), 50 deletions(-) diff --git a/README.md b/README.md index 8aebb85..857bd3f 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,6 @@ Track data is exported in [UTF-8](https://en.wikipedia.org/wiki/UTF-8) encoded [ - Explicit? - Popularity - ISRC ([International Standard Recording Code](https://isrc.ifpi.org/en/)) -- Is Playable - whether the track is playable in the [user's market](https://developer.spotify.com/documentation/web-api/concepts/track-relinking) - Added By - Added At diff --git a/src/components/PlaylistTable.test.tsx b/src/components/PlaylistTable.test.tsx index b65282b..fe5170f 100644 --- a/src/components/PlaylistTable.test.tsx +++ b/src/components/PlaylistTable.test.tsx @@ -57,8 +57,8 @@ afterEach(() => { server.resetHandlers() }) -const baseTrackHeaders = '"Track URI","Track Name","Artist URI(s)","Artist Name(s)","Album URI","Album Name","Album Artist URI(s)","Album Artist Name(s)","Album Release Date","Album Image URL","Disc Number","Track Number","Track Duration (ms)","Track Preview URL","Explicit","Popularity","ISRC","Is Playable","Added By","Added At"' -const baseTrackDataCrying = '"spotify:track:1GrLfs4TEvAZ86HVzXHchS","Crying","spotify:artist:4TXdHyuAOl3rAOFmZ6MeKz","Six by Seven","spotify:album:4iwv7b8gDPKztLkKCbWyhi","Best of Six By Seven","spotify:artist:4TXdHyuAOl3rAOFmZ6MeKz","Six by Seven","2017-02-17","https://i.scdn.co/image/ab67616d0000b273f485821b346237acbbca07ea","1","3","198093","https://p.scdn.co/mp3-preview/daf08df57a49c215c8c53dc5fe88dec5461f15c9?cid=9950ac751e34487dbbe027c4fd7f8e99","false","2","UK4UP1300002","true","","2020-07-19T09:24:39Z"' +const baseTrackHeaders = '"Track URI","Track Name","Artist URI(s)","Artist Name(s)","Album URI","Album Name","Album Artist URI(s)","Album Artist Name(s)","Album Release Date","Album Image URL","Disc Number","Track Number","Track Duration (ms)","Track Preview URL","Explicit","Popularity","ISRC","Added By","Added At"' +const baseTrackDataCrying = '"spotify:track:1GrLfs4TEvAZ86HVzXHchS","Crying","spotify:artist:4TXdHyuAOl3rAOFmZ6MeKz","Six by Seven","spotify:album:4iwv7b8gDPKztLkKCbWyhi","Best of Six By Seven","spotify:artist:4TXdHyuAOl3rAOFmZ6MeKz","Six by Seven","2017-02-17","https://i.scdn.co/image/ab67616d0000b273f485821b346237acbbca07ea","1","3","198093","https://p.scdn.co/mp3-preview/daf08df57a49c215c8c53dc5fe88dec5461f15c9?cid=9950ac751e34487dbbe027c4fd7f8e99","false","2","UK4UP1300002","","2020-07-19T09:24:39Z"' // Use a snapshot test to ensure exact component rendering test("playlist loading", async () => { @@ -112,7 +112,7 @@ describe("single playlist exporting", () => { ['https://api.spotify.com/v1/me'], ['https://api.spotify.com/v1/users/watsonbox/playlists?offset=0&limit=20'], ['https://api.spotify.com/v1/users/watsonbox/tracks'], - ['https://api.spotify.com/v1/me/tracks?offset=0&limit=50&market=from_token'] + ['https://api.spotify.com/v1/me/tracks?offset=0&limit=50'] ]) }) @@ -164,7 +164,7 @@ describe("single playlist exporting", () => { ['https://api.spotify.com/v1/me'], ['https://api.spotify.com/v1/users/watsonbox/playlists?offset=0&limit=20'], ['https://api.spotify.com/v1/users/watsonbox/tracks'], - ['https://api.spotify.com/v1/me/tracks?offset=0&limit=50&market=from_token'], + ['https://api.spotify.com/v1/me/tracks?offset=0&limit=50'], ['https://api.spotify.com/v1/artists?ids=4TXdHyuAOl3rAOFmZ6MeKz'] ]) }) @@ -217,7 +217,7 @@ describe("single playlist exporting", () => { ['https://api.spotify.com/v1/me'], ['https://api.spotify.com/v1/users/watsonbox/playlists?offset=0&limit=20'], ['https://api.spotify.com/v1/users/watsonbox/tracks'], - ['https://api.spotify.com/v1/me/tracks?offset=0&limit=50&market=from_token'], + ['https://api.spotify.com/v1/me/tracks?offset=0&limit=50'], ['https://api.spotify.com/v1/audio-features?ids=1GrLfs4TEvAZ86HVzXHchS'] ]) }) @@ -270,7 +270,7 @@ describe("single playlist exporting", () => { ['https://api.spotify.com/v1/me'], ['https://api.spotify.com/v1/users/watsonbox/playlists?offset=0&limit=20'], ['https://api.spotify.com/v1/users/watsonbox/tracks'], - ['https://api.spotify.com/v1/me/tracks?offset=0&limit=50&market=from_token'], + ['https://api.spotify.com/v1/me/tracks?offset=0&limit=50'], ['https://api.spotify.com/v1/albums?ids=4iwv7b8gDPKztLkKCbWyhi'] ]) }) @@ -325,7 +325,7 @@ describe("single playlist exporting", () => { ['https://api.spotify.com/v1/me'], ['https://api.spotify.com/v1/users/watsonbox/playlists?offset=0&limit=20'], ['https://api.spotify.com/v1/users/watsonbox/tracks'], - ['https://api.spotify.com/v1/me/tracks?offset=0&limit=50&market=from_token'], + ['https://api.spotify.com/v1/me/tracks?offset=0&limit=50'], ['https://api.spotify.com/v1/albums?ids=4iwv7b8gDPKztLkKCbWyhi'] ]) }) @@ -403,8 +403,8 @@ describe("single playlist exporting", () => { { content: [ `${baseTrackHeaders}\n` + - '"spotify:local:The+Waymores:Heart+of+Stone:Heart+of+Stone:128","Heart of Stone","","The Waymores","","Heart of Stone","","","","","0","0","128000","","false","0","","true","spotify:user:u8ins5esg43wtxk4h66o5d1nb","2021-02-24T06:12:40Z"\n' + - '"spotify:local:Charlie+Marie:Heard+It+Through+The+Red+Wine:Heard+It+Through+The+Red+Wine:227","Heard It Through The Red Wine","","Charlie Marie","","Heard It Through The Red Wine","","","","","0","0","227000","","false","0","","true","spotify:user:u8ins5esg43wtxk4h66o5d1nb","2021-02-24T06:12:40Z"\n' + '"spotify:local:The+Waymores:Heart+of+Stone:Heart+of+Stone:128","Heart of Stone","","The Waymores","","Heart of Stone","","","","","0","0","128000","","false","0","","spotify:user:u8ins5esg43wtxk4h66o5d1nb","2021-02-24T06:12:40Z"\n' + + '"spotify:local:Charlie+Marie:Heard+It+Through+The+Red+Wine:Heard+It+Through+The+Red+Wine:227","Heard It Through The Red Wine","","Charlie Marie","","Heard It Through The Red Wine","","","","","0","0","227000","","false","0","","spotify:user:u8ins5esg43wtxk4h66o5d1nb","2021-02-24T06:12:40Z"\n' ], options: { type: 'text/csv;charset=utf-8' } }, @@ -437,8 +437,8 @@ describe("single playlist exporting", () => { { content: [ `${baseTrackHeaders}\n` + - '"spotify:track:7ATyvp3TmYBmGW7YuC8DJ3","One Twos / Run Run Run","spotify:artist:69lEbRQRe29JdyLrewNAvD","Ghostpoet","spotify:album:6jiLkuSnhzDvzsHJlweoGh","Peanut Butter Blues and Melancholy Jam","spotify:artist:69lEbRQRe29JdyLrewNAvD","Ghostpoet","2011","https://i.scdn.co/image/ab67616d0000b273306e7640be17c5b3468e6e80","1","1","241346","https://p.scdn.co/mp3-preview/137d431ad0cf987b147dccea6304aca756e923c1?cid=9950ac751e34487dbbe027c4fd7f8e99","false","22","GBMEF1100339","true","spotify:user:watsonbox","2020-11-03T15:19:04Z"\n' + - '"spotify:track:7ATyvp3TmYBmGW7YuC8DJ3","One Twos / Run Run Run","spotify:artist:69lEbRQRe29JdyLrewNAvD","Ghostpoet","spotify:album:6jiLkuSnhzDvzsHJlweoGh","Peanut Butter Blues and Melancholy Jam","spotify:artist:69lEbRQRe29JdyLrewNAvD","Ghostpoet","2011","https://i.scdn.co/image/ab67616d0000b273306e7640be17c5b3468e6e80","1","1","241346","https://p.scdn.co/mp3-preview/137d431ad0cf987b147dccea6304aca756e923c1?cid=9950ac751e34487dbbe027c4fd7f8e99","false","22","GBMEF1100339","true","spotify:user:watsonbox","2020-11-20T15:19:04Z"\n' + '"spotify:track:7ATyvp3TmYBmGW7YuC8DJ3","One Twos / Run Run Run","spotify:artist:69lEbRQRe29JdyLrewNAvD","Ghostpoet","spotify:album:6jiLkuSnhzDvzsHJlweoGh","Peanut Butter Blues and Melancholy Jam","spotify:artist:69lEbRQRe29JdyLrewNAvD","Ghostpoet","2011","https://i.scdn.co/image/ab67616d0000b273306e7640be17c5b3468e6e80","1","1","241346","https://p.scdn.co/mp3-preview/137d431ad0cf987b147dccea6304aca756e923c1?cid=9950ac751e34487dbbe027c4fd7f8e99","false","22","GBMEF1100339","spotify:user:watsonbox","2020-11-03T15:19:04Z"\n' + + '"spotify:track:7ATyvp3TmYBmGW7YuC8DJ3","One Twos / Run Run Run","spotify:artist:69lEbRQRe29JdyLrewNAvD","Ghostpoet","spotify:album:6jiLkuSnhzDvzsHJlweoGh","Peanut Butter Blues and Melancholy Jam","spotify:artist:69lEbRQRe29JdyLrewNAvD","Ghostpoet","2011","https://i.scdn.co/image/ab67616d0000b273306e7640be17c5b3468e6e80","1","1","241346","https://p.scdn.co/mp3-preview/137d431ad0cf987b147dccea6304aca756e923c1?cid=9950ac751e34487dbbe027c4fd7f8e99","false","22","GBMEF1100339","spotify:user:watsonbox","2020-11-20T15:19:04Z"\n' ], options: { type: 'text/csv;charset=utf-8' } }, @@ -571,8 +571,8 @@ test("exporting of all playlists", async () => { expect(jsZipFileMock).toHaveBeenCalledWith( "ghostpoet_–_peanut_butter_blues_and_melancholy_jam.csv", `${baseTrackHeaders}\n` + - '"spotify:track:7ATyvp3TmYBmGW7YuC8DJ3","One Twos / Run Run Run","spotify:artist:69lEbRQRe29JdyLrewNAvD","Ghostpoet","spotify:album:6jiLkuSnhzDvzsHJlweoGh","Peanut Butter Blues and Melancholy Jam","spotify:artist:69lEbRQRe29JdyLrewNAvD","Ghostpoet","2011","https://i.scdn.co/image/ab67616d0000b273306e7640be17c5b3468e6e80","1","1","241346","https://p.scdn.co/mp3-preview/137d431ad0cf987b147dccea6304aca756e923c1?cid=9950ac751e34487dbbe027c4fd7f8e99","false","22","GBMEF1100339","true","spotify:user:watsonbox","2020-11-03T15:19:04Z"\n' + - '"spotify:track:0FNanBLvmFEDyD75Whjj52","Us Against Whatever Ever","spotify:artist:69lEbRQRe29JdyLrewNAvD","Ghostpoet","spotify:album:6jiLkuSnhzDvzsHJlweoGh","Peanut Butter Blues and Melancholy Jam","spotify:artist:69lEbRQRe29JdyLrewNAvD","Ghostpoet","2011","https://i.scdn.co/image/ab67616d0000b273306e7640be17c5b3468e6e80","1","2","269346","https://p.scdn.co/mp3-preview/e5e39be10697be8755532d02c52319ffa6d58688?cid=9950ac751e34487dbbe027c4fd7f8e99","false","36","GBMEF1000270","true","spotify:user:watsonbox","2020-11-03T15:19:04Z"\n' + '"spotify:track:7ATyvp3TmYBmGW7YuC8DJ3","One Twos / Run Run Run","spotify:artist:69lEbRQRe29JdyLrewNAvD","Ghostpoet","spotify:album:6jiLkuSnhzDvzsHJlweoGh","Peanut Butter Blues and Melancholy Jam","spotify:artist:69lEbRQRe29JdyLrewNAvD","Ghostpoet","2011","https://i.scdn.co/image/ab67616d0000b273306e7640be17c5b3468e6e80","1","1","241346","https://p.scdn.co/mp3-preview/137d431ad0cf987b147dccea6304aca756e923c1?cid=9950ac751e34487dbbe027c4fd7f8e99","false","22","GBMEF1100339","spotify:user:watsonbox","2020-11-03T15:19:04Z"\n' + + '"spotify:track:0FNanBLvmFEDyD75Whjj52","Us Against Whatever Ever","spotify:artist:69lEbRQRe29JdyLrewNAvD","Ghostpoet","spotify:album:6jiLkuSnhzDvzsHJlweoGh","Peanut Butter Blues and Melancholy Jam","spotify:artist:69lEbRQRe29JdyLrewNAvD","Ghostpoet","2011","https://i.scdn.co/image/ab67616d0000b273306e7640be17c5b3468e6e80","1","2","269346","https://p.scdn.co/mp3-preview/e5e39be10697be8755532d02c52319ffa6d58688?cid=9950ac751e34487dbbe027c4fd7f8e99","false","36","GBMEF1000270","spotify:user:watsonbox","2020-11-03T15:19:04Z"\n' ) await waitFor(() => { @@ -611,8 +611,8 @@ test("exporting of search results", async () => { expect(jsZipFileMock).toHaveBeenCalledWith( "ghostpoet_–_peanut_butter_blues_and_melancholy_jam.csv", `${baseTrackHeaders}\n` + - '"spotify:track:7ATyvp3TmYBmGW7YuC8DJ3","One Twos / Run Run Run","spotify:artist:69lEbRQRe29JdyLrewNAvD","Ghostpoet","spotify:album:6jiLkuSnhzDvzsHJlweoGh","Peanut Butter Blues and Melancholy Jam","spotify:artist:69lEbRQRe29JdyLrewNAvD","Ghostpoet","2011","https://i.scdn.co/image/ab67616d0000b273306e7640be17c5b3468e6e80","1","1","241346","https://p.scdn.co/mp3-preview/137d431ad0cf987b147dccea6304aca756e923c1?cid=9950ac751e34487dbbe027c4fd7f8e99","false","22","GBMEF1100339","true","spotify:user:watsonbox","2020-11-03T15:19:04Z"\n' + - '"spotify:track:0FNanBLvmFEDyD75Whjj52","Us Against Whatever Ever","spotify:artist:69lEbRQRe29JdyLrewNAvD","Ghostpoet","spotify:album:6jiLkuSnhzDvzsHJlweoGh","Peanut Butter Blues and Melancholy Jam","spotify:artist:69lEbRQRe29JdyLrewNAvD","Ghostpoet","2011","https://i.scdn.co/image/ab67616d0000b273306e7640be17c5b3468e6e80","1","2","269346","https://p.scdn.co/mp3-preview/e5e39be10697be8755532d02c52319ffa6d58688?cid=9950ac751e34487dbbe027c4fd7f8e99","false","36","GBMEF1000270","true","spotify:user:watsonbox","2020-11-03T15:19:04Z"\n' + '"spotify:track:7ATyvp3TmYBmGW7YuC8DJ3","One Twos / Run Run Run","spotify:artist:69lEbRQRe29JdyLrewNAvD","Ghostpoet","spotify:album:6jiLkuSnhzDvzsHJlweoGh","Peanut Butter Blues and Melancholy Jam","spotify:artist:69lEbRQRe29JdyLrewNAvD","Ghostpoet","2011","https://i.scdn.co/image/ab67616d0000b273306e7640be17c5b3468e6e80","1","1","241346","https://p.scdn.co/mp3-preview/137d431ad0cf987b147dccea6304aca756e923c1?cid=9950ac751e34487dbbe027c4fd7f8e99","false","22","GBMEF1100339","spotify:user:watsonbox","2020-11-03T15:19:04Z"\n' + + '"spotify:track:0FNanBLvmFEDyD75Whjj52","Us Against Whatever Ever","spotify:artist:69lEbRQRe29JdyLrewNAvD","Ghostpoet","spotify:album:6jiLkuSnhzDvzsHJlweoGh","Peanut Butter Blues and Melancholy Jam","spotify:artist:69lEbRQRe29JdyLrewNAvD","Ghostpoet","2011","https://i.scdn.co/image/ab67616d0000b273306e7640be17c5b3468e6e80","1","2","269346","https://p.scdn.co/mp3-preview/e5e39be10697be8755532d02c52319ffa6d58688?cid=9950ac751e34487dbbe027c4fd7f8e99","false","36","GBMEF1000270","spotify:user:watsonbox","2020-11-03T15:19:04Z"\n' ) await waitFor(() => { diff --git a/src/components/data/TracksBaseData.ts b/src/components/data/TracksBaseData.ts index 30858bb..a501f9d 100644 --- a/src/components/data/TracksBaseData.ts +++ b/src/components/data/TracksBaseData.ts @@ -28,8 +28,7 @@ class TracksBaseData extends TracksData { i18n.t("track.track_preview_url"), i18n.t("track.explicit"), i18n.t("track.popularity"), - i18n.t("track.isrc"), - i18n.t("track.is_playable") + i18n.t("track.isrc") ] } @@ -62,8 +61,7 @@ class TracksBaseData extends TracksData { item.track.preview_url == null ? '' : item.track.preview_url, item.track.explicit, item.track.popularity, - item.track.external_ids.isrc == null ? '' : item.track.external_ids.isrc, - item.track.is_playable + item.track.external_ids.isrc == null ? '' : item.track.external_ids.isrc ] ] })) @@ -80,7 +78,7 @@ class TracksBaseData extends TracksData { var limit = this.playlist.tracks.limit ? 50 : 100 for (var offset = 0; offset < this.playlist.tracks.total; offset = offset + limit) { - requests.push(`${this.playlist.tracks.href.split('?')[0]}?offset=${offset}&limit=${limit}&market=from_token`) + requests.push(`${this.playlist.tracks.href.split('?')[0]}?offset=${offset}&limit=${limit}`) } const trackPromises = requests.map(request => { return apiCall(request, this.accessToken) }) diff --git a/src/mocks/handlers.ts b/src/mocks/handlers.ts index b95dc00..527c661 100644 --- a/src/mocks/handlers.ts +++ b/src/mocks/handlers.ts @@ -107,7 +107,6 @@ export const handlers = [ "href": "https://api.spotify.com/v1/tracks/1GrLfs4TEvAZ86HVzXHchS", "id": "1GrLfs4TEvAZ86HVzXHchS", "is_local": false, - "is_playable": true, "name": "Crying", "popularity": 2, "preview_url": "https://p.scdn.co/mp3-preview/daf08df57a49c215c8c53dc5fe88dec5461f15c9?cid=9950ac751e34487dbbe027c4fd7f8e99", @@ -200,7 +199,6 @@ export const handlers = [ "href": "https://api.spotify.com/v1/tracks/1GrLfs4TEvAZ86HVzXHchS", "id": "1GrLfs4TEvAZ86HVzXHchS", "is_local": false, - "is_playable": true, "name": "Crying", "popularity": 2, "preview_url": "https://p.scdn.co/mp3-preview/daf08df57a49c215c8c53dc5fe88dec5461f15c9?cid=9950ac751e34487dbbe027c4fd7f8e99", @@ -293,7 +291,6 @@ export const handlers = [ "uri": "spotify:user:watsonbox" }, "is_local": false, - "is_playable": true, "primary_color": null, "track": { "album": { @@ -358,7 +355,6 @@ export const handlers = [ "href": "https://api.spotify.com/v1/tracks/7ATyvp3TmYBmGW7YuC8DJ3", "id": "7ATyvp3TmYBmGW7YuC8DJ3", "is_local": false, - "is_playable": true, "name": "One Twos / Run Run Run", "popularity": 22, "preview_url": "https://p.scdn.co/mp3-preview/137d431ad0cf987b147dccea6304aca756e923c1?cid=9950ac751e34487dbbe027c4fd7f8e99", @@ -382,7 +378,6 @@ export const handlers = [ "uri": "spotify:user:watsonbox" }, "is_local": false, - "is_playable": true, "primary_color": null, "track": { "album": { @@ -447,7 +442,6 @@ export const handlers = [ "href": "https://api.spotify.com/v1/tracks/0FNanBLvmFEDyD75Whjj52", "id": "0FNanBLvmFEDyD75Whjj52", "is_local": false, - "is_playable": true, "name": "Us Against Whatever Ever", "popularity": 36, "preview_url": "https://p.scdn.co/mp3-preview/e5e39be10697be8755532d02c52319ffa6d58688?cid=9950ac751e34487dbbe027c4fd7f8e99", @@ -636,7 +630,6 @@ export const handlers = [ "href": "https://api.spotify.com/v1/tracks/1uWQvbywyUeR1uGdNlfsaZ", "id": "1uWQvbywyUeR1uGdNlfsaZ", "is_local": false, - "is_playable": true, "name": "I O U Love (Single Edit)", "preview_url": null, "track_number": 1, @@ -663,7 +656,6 @@ export const handlers = [ "href": "https://api.spotify.com/v1/tracks/4T03tsWWaVxbKikT7UUrFk", "id": "4T03tsWWaVxbKikT7UUrFk", "is_local": false, - "is_playable": true, "name": "Candlelight", "preview_url": null, "track_number": 2, @@ -690,7 +682,6 @@ export const handlers = [ "href": "https://api.spotify.com/v1/tracks/1GrLfs4TEvAZ86HVzXHchS", "id": "1GrLfs4TEvAZ86HVzXHchS", "is_local": false, - "is_playable": true, "name": "Crying", "preview_url": null, "track_number": 3, @@ -717,7 +708,6 @@ export const handlers = [ "href": "https://api.spotify.com/v1/tracks/0tBJh9kQ0KGLR443BVe4W1", "id": "0tBJh9kQ0KGLR443BVe4W1", "is_local": false, - "is_playable": true, "name": "For You", "preview_url": null, "track_number": 4, @@ -744,7 +734,6 @@ export const handlers = [ "href": "https://api.spotify.com/v1/tracks/1htS4aq15EnMMuQ45rZX3b", "id": "1htS4aq15EnMMuQ45rZX3b", "is_local": false, - "is_playable": true, "name": "So Close", "preview_url": null, "track_number": 5, @@ -771,7 +760,6 @@ export const handlers = [ "href": "https://api.spotify.com/v1/tracks/0MJj7LrlhVbrndKAspZc2H", "id": "0MJj7LrlhVbrndKAspZc2H", "is_local": false, - "is_playable": true, "name": "New Year", "preview_url": null, "track_number": 6, @@ -798,7 +786,6 @@ export const handlers = [ "href": "https://api.spotify.com/v1/tracks/5Mu6rl5QEQ0YEhiVopYwJx", "id": "5Mu6rl5QEQ0YEhiVopYwJx", "is_local": false, - "is_playable": true, "name": "Eat Junk Become Junk", "preview_url": null, "track_number": 7, @@ -825,7 +812,6 @@ export const handlers = [ "href": "https://api.spotify.com/v1/tracks/3ZRm7uHtdFK7arB7M0ncHl", "id": "3ZRm7uHtdFK7arB7M0ncHl", "is_local": false, - "is_playable": true, "name": "Bochum (Light Up My Life)", "preview_url": null, "track_number": 8, @@ -852,7 +838,6 @@ export const handlers = [ "href": "https://api.spotify.com/v1/tracks/4ee5fN6zpDUMKtCSKeqOiD", "id": "4ee5fN6zpDUMKtCSKeqOiD", "is_local": false, - "is_playable": true, "name": "Oh! Dear", "preview_url": null, "track_number": 9, @@ -879,7 +864,6 @@ export const handlers = [ "href": "https://api.spotify.com/v1/tracks/6xyBZBa8uITHELycRzF2ry", "id": "6xyBZBa8uITHELycRzF2ry", "is_local": false, - "is_playable": true, "name": "Always Waiting For ...", "preview_url": null, "track_number": 10, @@ -906,7 +890,6 @@ export const handlers = [ "href": "https://api.spotify.com/v1/tracks/5Vf2ryw6CgbYORNjpMqSaW", "id": "5Vf2ryw6CgbYORNjpMqSaW", "is_local": false, - "is_playable": true, "name": "Change", "preview_url": null, "track_number": 11, @@ -933,7 +916,6 @@ export const handlers = [ "href": "https://api.spotify.com/v1/tracks/5TpY3R5ceANpoRaISiicPP", "id": "5TpY3R5ceANpoRaISiicPP", "is_local": false, - "is_playable": true, "name": "Get A Real Tattoo", "preview_url": null, "track_number": 12, @@ -960,7 +942,6 @@ export const handlers = [ "href": "https://api.spotify.com/v1/tracks/3m6Em75ed3zFJY7I3pgJ69", "id": "3m6Em75ed3zFJY7I3pgJ69", "is_local": false, - "is_playable": true, "name": "Another Love Song (Peel Session)", "preview_url": null, "track_number": 13, @@ -987,7 +968,6 @@ export const handlers = [ "href": "https://api.spotify.com/v1/tracks/2wEGjrVzVG57e3UjIPdWng", "id": "2wEGjrVzVG57e3UjIPdWng", "is_local": false, - "is_playable": true, "name": "European Me (Live Student Radio Session)", "preview_url": null, "track_number": 14, @@ -1107,7 +1087,6 @@ export const nullTrackHandlers = [ "uri": "spotify:user:" }, "is_local": false, - "is_playable": true, "primary_color": null, "track": null, "video_thumbnail": { @@ -1144,7 +1123,6 @@ export const localTrackHandlers = [ "uri": "spotify:user:u8ins5esg43wtxk4h66o5d1nb" }, "is_local": true, - "is_playable": true, "primary_color": null, "track": { "album": { @@ -1178,7 +1156,6 @@ export const localTrackHandlers = [ "href": null, "id": null, "is_local": true, - "is_playable": true, "name": "Heart of Stone", "popularity": 0, "preview_url": null, @@ -1201,7 +1178,6 @@ export const localTrackHandlers = [ "uri": "spotify:user:u8ins5esg43wtxk4h66o5d1nb" }, "is_local": true, - "is_playable": true, "primary_color": null, "track": { "album": { @@ -1235,7 +1211,6 @@ export const localTrackHandlers = [ "href": null, "id": null, "is_local": true, - "is_playable": true, "name": "Heard It Through The Red Wine", "popularity": 0, "preview_url": null, @@ -1277,7 +1252,6 @@ export const duplicateTrackHandlers = [ "uri": "spotify:user:watsonbox" }, "is_local": false, - "is_playable": true, "primary_color": null, "track": { "album": { @@ -1342,7 +1316,6 @@ export const duplicateTrackHandlers = [ "href": "https://api.spotify.com/v1/tracks/7ATyvp3TmYBmGW7YuC8DJ3", "id": "7ATyvp3TmYBmGW7YuC8DJ3", "is_local": false, - "is_playable": true, "name": "One Twos / Run Run Run", "popularity": 22, "preview_url": "https://p.scdn.co/mp3-preview/137d431ad0cf987b147dccea6304aca756e923c1?cid=9950ac751e34487dbbe027c4fd7f8e99", @@ -1367,7 +1340,6 @@ export const duplicateTrackHandlers = [ "uri": "spotify:user:watsonbox" }, "is_local": false, - "is_playable": true, "primary_color": null, "track": { "album": { @@ -1432,7 +1404,6 @@ export const duplicateTrackHandlers = [ "href": "https://api.spotify.com/v1/tracks/7ATyvp3TmYBmGW7YuC8DJ3", "id": "7ATyvp3TmYBmGW7YuC8DJ3", "is_local": false, - "is_playable": true, "name": "One Twos / Run Run Run", "popularity": 22, "preview_url": "https://p.scdn.co/mp3-preview/137d431ad0cf987b147dccea6304aca756e923c1?cid=9950ac751e34487dbbe027c4fd7f8e99",