[GH-ISSUE #29] search_track fails when called with market set #12

Closed
opened 2026-02-27 20:22:35 +03:00 by kerem · 1 comment
Owner

Originally created by @dbr on GitHub (Dec 17, 2018).
Original GitHub issue: https://github.com/ramsayleung/rspotify/issues/29

Using the search_track method and specifying a market is currently giving an error - such as in the examples/search_track.rs:

github.com/samrayleung/rspotify@f8463a302f/examples/search_track.rs (L35)

Error is:

search result:Err(ErrorMessage { msg: "convert result failed, content \"{\\n  \\\"tracks\\\" : {\\n    \\\"href\\\" : \\\"https://api.spotify.com/v1/search?query=abba&type=track&market=US&offset=0&limit=10\\\",\\n    \\\"items\\\" : [ {\\n      \\\"album\\\" : {\\n        \\\"album_type\\\" : \\\"album\\\",\\n        \\\"artists\\\" : [ {\\n          \\\"external_urls\\\" : {\\n            \\\"spotify\\\" : \\\"https://open.spotify.com/artist/0LcJLqbBmaGUft1e9Mm8HV\\\"\\n          },\\n          \\\"href\\\" : \\\"https://api.spotify.com/v1/artists/0LcJLqbBmaGUft1e9Mm8HV\\\",\\n          \\\"id\\\" : \\\"0LcJLqbBmaGUft1e9Mm8HV\\\",\\n          \\\"name\\\" : \\\"ABBA\\\",\\n          \\\"type\\\" : \\\"artist\\\",\\n          \\\"uri\\\" : \\\"spotify:artist:0LcJLqbBmaGUft1e9Mm8HV\\\"\\n        } ],\\n        \\\"external_urls\\\" : {\\n          \\\"spotify\\\" : \\\"https://open.spotify.com/album/1M4anG49aEs4YimBdj96Oy\\\"\\n        },\\n        \\\"href\\\" : \\\"https://api.spotify.com/v1/albums/1M4anG49aEs4YimBdj96Oy\\\",\\n        \\\"id\\\" : \\\"1M4anG49aEs4YimBdj96Oy\\\",\\n        \\\"images\\\" : [ {\\n          \\\"height\\\" : 575,\\n          \\\"url\\\" : \\\"https://i.scdn.co/image/361387b8f4297afda0394896aeb1f315b3fbad0b\\\",\\n          \\\"width\\\" : 640\\n        }, {\\n          \\\"height\\\" : 270,\\n          \\\"url\\\" : \\\"https://i.scdn.co/image/803de302874cdff3ecbd531ecfd7585793c6b7c1\\\",\\n          \\\"width\\\" : 300\\n        }, {\\n          \\\"height\\\" : 57,\\n          \\\"url\\\" : \\\"https://i.scdn.co/image/c43883a6978668e0636d96887cf43ddbb6b5965d\\\",\\n          \\\"width\\\" : 63\\n        } ],\\n        \\\"name\\\" : \\\"Arrival\\\",\\n        \\\"release_date\\\" : \\\"1976\\\",\\n        \\\"release_date_precision\\\" : \\\"year\\\",\\n        \\\"total_tracks\\\" : 12,\\n        \\\"type\\\" : \\\"album\\\",\\n        \\\"uri\\\" : \\\"spotify:album:1M4anG49aEs4YimBdj96Oy\\\"\\n      },\\n      \\\"artists\\\" : [ {\\n        \\\"external_urls\\\" : {\\n          \\\"spotify\\\" : \\\"https://open.spotify.com/artist/0LcJLqbBmaGUft1e9Mm8HV\\\"\\n        },\\n        \\\"href\\\" : \\\"https://api.spotify.com/v1/artists/0LcJLqbBmaGUft1e9Mm8HV\\\",\\n        \\\"id\\\" : \\\"0LcJLqbBmaGUft1e9Mm8HV\\\",\\n        \\\"name\\\" : \\\"ABBA\\\",\\n        \\\"type\\\" : \\\"artist\\\",\\n        \\\"uri\\\" : \\\"spotify:artist:0LcJLqbBmaGUft1e9Mm8HV\\\"\\n      } ],\\n      \\\"disc_number\\\" : 1,\\n      \\\"duration_ms\\\" : 230693,\\n      \\\"explicit\\\" : false,\\n      \\\"external_ids\\\" : {\\n        \\\"isrc\\\" : \\\"SEAYD7601020\\\"\\n      },\\n      \\\"external_urls\\\" : {\\n        \\\"spotify\\\" : \\\"https://open.spotify.com/track/4NtUY5IGzHCaqfZemmAu56\\\"\\n      },\\n      \\\"href\\\" : \\\"https://api.spotify.com/v1/tracks/4NtUY5IGzHCaqfZemmAu56\\\",\\n      \\\"id\\\" : \\\"4NtUY5IGzHCaqfZemmAu56\\\",\\n      \\\"is_local\\\" : false,\\n      \\\"is_playable\\\" : true,\\n      \\\"name\\\" : \\\"Dancing Queen\\\",\\n      \\\"popularity\\\" : 69,\\n      \\\"preview_url\\\" : null,\\n      \\\"track_number\\\" : 2,\\n      \\\"type\\\" : \\\"track\\\",\\n      \\\"uri\\\" : \\\"spotify:track:4NtUY5IGzHCaqfZemmAu56\\\"\\n    }, {\\n      \\\"album\\\" : {\\n        \\\"album_type\\\" : \\\"album\\\",\\n        \\\"artists\\\" : [ {\\n          \\\"external_urls\\\" : {\\n            \\\"spotify\\\" : \\\"https://open.spotify.com/artist/0LcJLqbBmaGUft1e9Mm8HV\\\"\\n          },\\n          \\\"href\\\" : \\\"https://api.spotify.com/v1/artists/0LcJLqbBmaGUft1e9Mm8HV\\\",\\n          \\\"id\\\" : \\\"0LcJLqbBmaGUft1e9Mm8HV\\\",\\n          \\\"name\\\" : \\\"ABBA\\\",\\n          \\\"type\\\" : \\\"artist\\\",\\n          \\\"uri\\\" : \\\"spotify:artist:0LcJLqbBmaGUft1e9Mm8HV\\\"\\n        } ],\\n        \\\"external_urls\\\" : {\\n          \\\"spotify\\\" : \\\"https://open.spotify.com/album/0zdZSyxWaYmaRMPeUHcG1K\\\"\\n        },\\n        \\\"href\\\" : \\\"https://api.spotify.com/v1/albums/0zdZSyxWaYmaRMPeUHcG1K\\\",\\n        \\\"id\\\" : \\\"0zdZSyxWaYmaRMPeUHcG1K\\\",\\n        \\\"images\\\" : [ {\\n          \\\"height\\\" : 575,\\n          \\\"url\\\" : \\\"https://i.scdn.co/image/9a06fe3059762156cff0ea02053592bb625f9350\\\",\\n          \\\"width\\\" : 640\\n        }, {\\n          \\\"height\\\" : 270,\\n          \\\"url\\\" : \\\"https://i.scdn.co/image/51bba354b425161d4f07a35a14bb4971646892a0\\\",\\n          \\\"width\\\" : 300\\n        }, {\\n          \\\"height\\\" : 57,\\n          \\\"url\\\" : \\\"https://i.scdn.co/image/a33d19704f08f5651000c866d7fb00117d3af44d\\\",\\n          \\\"width\\\" : 63\\n        } ],\\n        \\\"name\\\" : \\\"Voulez-Vous\\\",\\n        \\\"release_date\\\" : \\\"1979\\\",\\n        \\\"release_date_precision\\\" : \\\"year\\\",\\n        \\\"total_tracks\\\" : 13,\\n        \\\"type\\\" : \\\"album\\\",\\n        \\\"uri\\\" : \\\"spotify:album:0zdZSyxWaYmaRMPeUHcG1K\\\"\\n      },\\n      \\\"artists\\\" : [ {\\n        \\\"external_urls\\\" : {\\n          \\\"spotify\\\" : \\\"https://open.spotify.com/artist/0LcJLqbBmaGUft1e9Mm8HV\\\"\\n        },\\n        \\\"href\\\" : \\\"https://api.spotify.com/v1/artists/0LcJLqbBmaGUft1e9Mm8HV\\\",\\n        \\\"id\\\" : \\\"0LcJLqbBmaGUft1e9Mm8HV\\\",\\n        \\\"name\\\" : \\\"ABBA\\\",\\n        \\\"type\\\" : \\\"artist\\\",\\n        \\\"uri\\\" : \\\"spotify:artist:0LcJLqbBmaGUft1e9Mm8HV\\\"\\n      } ],\\n      \\\"disc_number\\\" : 1,\\n      \\\"duration_ms\\\" : 292571,\\n      \\\"explicit\\\" : false,\\n      \\\"external_ids\\\" : {\\n        \\\"isrc\\\" : \\\"SEAYD7901120\\\"\\n      },\\n      \\\"external_urls\\\" : {\\n        \\\"spotify\\\" : \\\"https://open.spotify.com/track/2PzCOP5Aj9SABiBgNEZ52G\\\"\\n      },\\n      \\\"href\\\" : \\\"https://api.spotify.com/v1/tracks/2PzCOP5Aj9SABiBgNEZ52G\\\",\\n      \\\"id\\\" : \\\"2PzCOP5Aj9SABiBgNEZ52G\\\",\\n      \\\"is_local\\\" : false,\\n      \\\"is_playable\\\" : true,\\n      \\\"name\\\" : \\\"Gimme! Gimme! Gimme! (A Man After Midnight)\\\",\\n      \\\"popularity\\\" : 61,\\n      \\\"preview_url\\\" : null,\\n      \\\"track_number\\\" : 13,\\n      \\\"type\\\" : \\\"track\\\",\\n      \\\"uri\\\" : \\\"spotify:track:2PzCOP5Aj9SABiBgNEZ52G\\\"\\n    }, {\\n      \\\"album\\\" : {\\n        \\\"album_type\\\" : \\\"album\\\",\\n        \\\"artists\\\" : [ {\\n          \\\"external_urls\\\" : {\\n            \\\"spotify\\\" : \\\"https://open.spotify.com/artist/0LcJLqbBmaGUft1e9Mm8HV\\\"\\n          },\\n          \\\"href\\\" : \\\"https://api.spotify.com/v1/artists/0LcJLqbBmaGUft1e9Mm8HV\\\",\\n          \\\"id\\\" : \\\"0LcJLqbBmaGUft1e9Mm8HV\\\",\\n          \\\"name\\\" : \\\"ABBA\\\",\\n          \\\"type\\\" : \\\"artist\\\",\\n          \\\"uri\\\" : \\\"spotify:artist:0LcJLqbBmaGUft1e9Mm8HV\\\"\\n        } ],\\n        \\\"external_urls\\\" : {\\n          \\\"spotify\\\" : \\\"https://open.spotify.com/album/0C36RlW2Fa0C7n1JnWBBMP\\\"\\n        },\\n        \\\"href\\\" : \\\"https://api.spotify.com/v1/albums/0C36RlW2Fa0C7n1JnWBBMP\\\",\\n        \\\"id\\\" : \\\"0C36RlW2Fa0C7n1JnWBBMP\\\",\\n        \\\"images\\\" : [ {\\n          \\\"height\\\" : 575,\\n          \\\"url\\\" : \\\"https://i.scdn.co/image/8a83cb534bc00fb42620cd1bdb941e02aa20761d\\\",\\n          \\\"width\\\" : 640\\n        }, {\\n          \\\"height\\\" : 269,\\n          \\\"url\\\" : \\\"https://i.scdn.co/image/60533fe6bbb2dd9fcc896f34d0fbcf66b88cf613\\\",\\n          \\\"width\\\" : 300\\n        }, {\\n          \\\"height\\\" : 57,\\n          \\\"url\\\" : \\\"https://i.scdn.co/image/6d811c4aa3b7e737b67a2e1f8ca6419c0bcfbb64\\\",\\n          \\\"width\\\" : 63\\n        } ],\\n        \\\"name\\\" : \\\"Abba\\\",\\n        \\\"release_date\\\" : \\\"1975\\\",\\n        \\\"release_date_precision\\\" : \\\"year\\\",\\n        \\\"total_tracks\\\" : 13,\\n        \\\"type\\\" : \\\"album\\\",\\n        \\\"uri\\\" : \\\"spotify:album:0C36RlW2Fa0C7n1JnWBBMP\\\"\\n      },\\n      \\\"artists\\\" : [ {\\n        \\\"external_urls\\\" : {\\n          \\\"spotify\\\" : \\\"https://open.spotify.com/artist/0LcJLqbBmaGUft1e9Mm8HV\\\"\\n        },\\n        \\\"href\\\" : \\\"https://api.spotify.com/v1/artists/0LcJLqbBmaGUft1e9Mm8HV\\\",\\n        \\\"id\\\" : \\\"0LcJLqbBmaGUft1e9Mm8HV\\\",\\n        \\\"name\\\" : \\\"ABBA\\\",\\n        \\\"type\\\" : \\\"artist\\\",\\n        \\\"uri\\\" : \\\"spotify:artist:0LcJLqbBmaGUft1e9Mm8HV\\\"\\n      } ],\\n      \\\"disc_number\\\" : 1,\\n      \\\"duration_ms\\\" : 215266,\\n      \\\"explicit\\\" : false,\\n      \\\"external_ids\\\" : {\\n        \\\"isrc\\\" : \\\"SEAYD7501010\\\"\\n      },\\n      \\\"external_urls\\\" : {\\n        \\\"spotify\\\" : \\\"https://open.spotify.com/track/22NN4BS1AlqVbyKIWExgON\\\"\\n      },\\n      \\\"href\\\" : \\\"https://api.spotify.com/v1/tracks/22NN4BS1AlqVbyKIWExgON\\\",\\n      \\\"id\\\" : \\\"22NN4BS1AlqVbyKIWExgON\\\",\\n      \\\"is_local\\\" : false,\\n      \\\"is_playable\\\" : true,\\n      \\\"name\\\" : \\\"Mamma Mia\\\",\\n      \\\"popularity\\\" : 61,\\n      \\\"preview_url\\\" : null,\\n      \\\"track_number\\\" : 1,\\n      \\\"type\\\" : \\\"track\\\",\\n      \\\"uri\\\" : \\\"spotify:track:22NN4BS1AlqVbyKIWExgON\\\"\\n    }, {\\n      \\\"album\\\" : {\\n        \\\"album_type\\\" : \\\"album\\\",\\n        \\\"artists\\\" : [ {\\n          \\\"external_urls\\\" : {\\n            \\\"spotify\\\" : \\\"https://open.spotify.com/artist/0LcJLqbBmaGUft1e9Mm8HV\\\"\\n          },\\n          \\\"href\\\" : \\\"https://api.spotify.com/v1/artists/0LcJLqbBmaGUft1e9Mm8HV\\\",\\n          \\\"id\\\" : \\\"0LcJLqbBmaGUft1e9Mm8HV\\\",\\n          \\\"name\\\" : \\\"ABBA\\\",\\n          \\\"type\\\" : \\\"artist\\\",\\n          \\\"uri\\\" : \\\"spotify:artist:0LcJLqbBmaGUft1e9Mm8HV\\\"\\n        } ],\\n        \\\"external_urls\\\" : {\\n          \\\"spotify\\\" : \\\"https://open.spotify.com/album/5GwbPSgiTECzQiE6u7s0ZN\\\"\\n        },\\n        \\\"href\\\" : \\\"https://api.spotify.com/v1/albums/5GwbPSgiTECzQiE6u7s0ZN\\\",\\n        \\\"id\\\" : \\\"5GwbPSgiTECzQiE6u7s0ZN\\\",\\n        \\\"images\\\" : [ {\\n          \\\"height\\\" : 575,\\n          \\\"url\\\" : \\\"https://i.scdn.co/image/cb818993d01447fdb9319db94c9976c59885f828\\\",\\n          \\\"width\\\" : 640\\n        }, {\\n          \\\"height\\\" : 270,\\n          \\\"url\\\" : \\\"https://i.scdn.co/image/f53c3cc7228a5ac768371fa8f35db6891b7aa7ff\\\",\\n          \\\"width\\\" : 300\\n        }, {\\n          \\\"height\\\" : 58,\\n          \\\"url\\\" : \\\"https://i.scdn.co/image/2ab03cbc259d1c70cfe5120148937b38bd0505a3\\\",\\n          \\\"width\\\" : 64\\n        } ],\\n        \\\"name\\\" : \\\"The Album\\\",\\n        \\\"release_date\\\" : \\\"1977\\\",\\n        \\\"release_date_precision\\\" : \\\"year\\\",\\n        \\\"total_tracks\\\" : 10,\\n        \\\"type\\\" : \\\"album\\\",\\n        \\\"uri\\\" : \\\"spotify:album:5GwbPSgiTECzQiE6u7s0ZN\\\"\\n      },\\n      \\\"artists\\\" : [ {\\n        \\\"external_urls\\\" : {\\n          \\\"spotify\\\" : \\\"https://open.spotify.com/artist/0LcJLqbBmaGUft1e9Mm8HV\\\"\\n        },\\n        \\\"href\\\" : \\\"https://api.spotify.com/v1/artists/0LcJLqbBmaGUft1e9Mm8HV\\\",\\n        \\\"id\\\" : \\\"0LcJLqbBmaGUft1e9Mm8HV\\\",\\n        \\\"name\\\" : \\\"ABBA\\\",\\n        \\\"type\\\" : \\\"artist\\\",\\n        \\\"uri\\\" : \\\"spotify:artist:0LcJLqbBmaGUft1e9Mm8HV\\\"\\n      } ],\\n      \\\"disc_number\\\" : 1,\\n      \\\"duration_ms\\\" : 243933,\\n      \\\"explicit\\\" : false,\\n      \\\"external_ids\\\" : {\\n        \\\"isrc\\\" : \\\"SEAYD7702020\\\"\\n      },\\n      \\\"external_urls\\\" : {\\n        \\\"spotify\\\" : \\\"https://open.spotify.com/track/6vQN2a9QSgWcm74KEZYfDL\\\"\\n      },\\n      \\\"href\\\" : \\\"https://api.spotify.com/v1/tracks/6vQN2a9QSgWcm74KEZYfDL\\\",\\n      \\\"id\\\" : \\\"6vQN2a9QSgWcm74KEZYfDL\\\",\\n      \\\"is_local\\\" : false,\\n      \\\"is_playable\\\" : true,\\n      \\\"name\\\" : \\\"Take A Chance On Me\\\",\\n      \\\"popularity\\\" : 60,\\n      \\\"preview_url\\\" : null,\\n      \\\"track_number\\\" : 2,\\n      \\\"type\\\" : \\\"track\\\",\\n      \\\"uri\\\" : \\\"spotify:track:6vQN2a9QSgWcm74KEZYfDL\\\"\\n    }, {\\n      \\\"album\\\" : {\\n        \\\"album_type\\\" : \\\"album\\\",\\n        \\\"artists\\\" : [ {\\n          \\\"external_urls\\\" : {\\n            \\\"spotify\\\" : \\\"https://open.spotify.com/artist/0LcJLqbBmaGUft1e9Mm8HV\\\"\\n          },\\n          \\\"href\\\" : \\\"https://api.spotify.com/v1/artists/0LcJLqbBmaGUft1e9Mm8HV\\\",\\n          \\\"id\\\" : \\\"0LcJLqbBmaGUft1e9Mm8HV\\\",\\n          \\\"name\\\" : \\\"ABBA\\\",\\n          \\\"type\\\" : \\\"artist\\\",\\n          \\\"uri\\\" : \\\"spotify:artist:0LcJLqbBmaGUft1e9Mm8HV\\\"\\n        } ],\\n        \\\"external_urls\\\" : {\\n          \\\"spotify\\\" : \\\"https://open.spotify.com/album/5PVuX09frPq7AMYkkdcDfR\\\"\\n        },\\n        \\\"href\\\" : \\\"https://api.spotify.com/v1/albums/5PVuX09frPq7AMYkkdcDfR\\\",\\n        \\\"id\\\" : \\\"5PVuX09frPq7AMYkkdcDfR\\\",\\n        \\\"images\\\" : [ {\\n          \\\"height\\\" : 573,\\n          \\\"url\\\" : \\\"https://i.scdn.co/image/b0307cd408f497243171826c19994ea124197cb7\\\",\\n          \\\"width\\\" : 640\\n        }, {\\n          \\\"height\\\" : 268,\\n          \\\"url\\\" : \\\"https://i.scdn.co/image/ccb216e53163aefacc95be1029b36f570af1cd7b\\\",\\n          \\\"width\\\" : 299\\n        }, {\\n          \\\"height\\\" : 57,\\n          \\\"url\\\" : \\\"https://i.scdn.co/image/c3fb7f460df28495cbb2f741eeb4672749b7f311\\\",\\n          \\\"width\\\" : 64\\n        } ],\\n        \\\"name\\\" : \\\"Super Trouper\\\",\\n        \\\"release_date\\\" : \\\"1980\\\",\\n        \\\"release_date_precision\\\" : \\\"year\\\",\\n        \\\"total_tracks\\\" : 12,\\n        \\\"type\\\" : \\\"album\\\",\\n        \\\"uri\\\" : \\\"spotify:album:5PVuX09frPq7AMYkkdcDfR\\\"\\n      },\\n      \\\"artists\\\" : [ {\\n        \\\"external_urls\\\" : {\\n          \\\"spotify\\\" : \\\"https://open.spotify.com/artist/0LcJLqbBmaGUft1e9Mm8HV\\\"\\n        },\\n        \\\"href\\\" : \\\"https://api.spotify.com/v1/artists/0LcJLqbBmaGUft1e9Mm8HV\\\",\\n        \\\"id\\\" : \\\"0LcJLqbBmaGUft1e9Mm8HV\\\",\\n        \\\"name\\\" : \\\"ABBA\\\",\\n        \\\"type\\\" : \\\"artist\\\",\\n        \\\"uri\\\" : \\\"spotify:artist:0LcJLqbBmaGUft1e9Mm8HV\\\"\\n      } ],\\n      \\\"disc_number\\\" : 1,\\n      \\\"duration_ms\\\" : 294733,\\n      \\\"explicit\\\" : false,\\n      \\\"external_ids\\\" : {\\n        \\\"isrc\\\" : \\\"SEAYD8001020\\\"\\n      },\\n      \\\"external_urls\\\" : {\\n        \\\"spotify\\\" : \\\"https://open.spotify.com/track/2HeTmGTjl870ucJ8mF7zl5\\\"\\n      },\\n      \\\"href\\\" : \\\"https://api.spotify.com/v1/tracks/2HeTmGTjl870ucJ8mF7zl5\\\",\\n      \\\"id\\\" : \\\"2HeTmGTjl870ucJ8mF7zl5\\\",\\n      \\\"is_local\\\" : false,\\n      \\\"is_playable\\\" : true,\\n      \\\"name\\\" : \\\"The Winner Takes It All\\\",\\n      \\\"popularity\\\" : 57,\\n      \\\"preview_url\\\" : null,\\n      \\\"track_number\\\" : 2,\\n      \\\"type\\\" : \\\"track\\\",\\n      \\\"uri\\\" : \\\"spotify:track:2HeTmGTjl870ucJ8mF7zl5\\\"\\n    }, {\\n      \\\"album\\\" : {\\n        \\\"album_type\\\" : \\\"album\\\",\\n        \\\"artists\\\" : [ {\\n          \\\"external_urls\\\" : {\\n            \\\"spotify\\\" : \\\"https://open.spotify.com/artist/0LcJLqbBmaGUft1e9Mm8HV\\\"\\n          },\\n          \\\"href\\\" : \\\"https://api.spotify.com/v1/artists/0LcJLqbBmaGUft1e9Mm8HV\\\",\\n          \\\"id\\\" : \\\"0LcJLqbBmaGUft1e9Mm8HV\\\",\\n          \\\"name\\\" : \\\"ABBA\\\",\\n          \\\"type\\\" : \\\"artist\\\",\\n          \\\"uri\\\" : \\\"spotify:artist:0LcJLqbBmaGUft1e9Mm8HV\\\"\\n        } ],\\n        \\\"external_urls\\\" : {\\n          \\\"spotify\\\" : \\\"https://open.spotify.com/album/1WAlaVMaCstzAQ1Y5i0VeX\\\"\\n        },\\n        \\\"href\\\" : \\\"https://api.spotify.com/v1/albums/1WAlaVMaCstzAQ1Y5i0VeX\\\",\\n        \\\"id\\\" : \\\"1WAlaVMaCstzAQ1Y5i0VeX\\\",\\n        \\\"images\\\" : [ {\\n          \\\"height\\\" : 575,\\n          \\\"url\\\" : \\\"https://i.scdn.co/image/8548134da5b3f2cee77654ee0ac5d674cecc0e6e\\\",\\n          \\\"width\\\" : 640\\n        }, {\\n          \\\"height\\\" : 269,\\n          \\\"url\\\" : \\\"https://i.scdn.co/image/04020a453f43f47182a8416d43afaa01b405aafc\\\",\\n          \\\"width\\\" : 300\\n        }, {\\n          \\\"height\\\" : 57,\\n          \\\"url\\\" : \\\"https://i.scdn.co/image/d1af32b3658846f43badb78327747d935852f5f1\\\",\\n          \\\"width\\\" : 63\\n        } ],\\n        \\\"name\\\" : \\\"Waterloo\\\",\\n        \\\"release_date\\\" : \\\"1974-01-01\\\",\\n        \\\"release_date_precision\\\" : \\\"day\\\",\\n        \\\"total_tracks\\\" : 14,\\n        \\\"type\\\" : \\\"album\\\",\\n        \\\"uri\\\" : \\\"spotify:album:1WAlaVMaCstzAQ1Y5i0VeX\\\"\\n      },\\n      \\\"artists\\\" : [ {\\n        \\\"external_urls\\\" : {\\n          \\\"spotify\\\" : \\\"https://open.spotify.com/artist/0LcJLqbBmaGUft1e9Mm8HV\\\"\\n        },\\n        \\\"href\\\" : \\\"https://api.spotify.com/v1/artists/0LcJLqbBmaGUft1e9Mm8HV\\\",\\n        \\\"id\\\" : \\\"0LcJLqbBmaGUft1e9Mm8HV\\\",\\n        \\\"name\\\" : \\\"ABBA\\\",\\n        \\\"type\\\" : \\\"artist\\\",\\n        \\\"uri\\\" : \\\"spotify:artist:0LcJLqbBmaGUft1e9Mm8HV\\\"\\n      } ],\\n      \\\"disc_number\\\" : 1,\\n      \\\"duration_ms\\\" : 168826,\\n      \\\"explicit\\\" : false,\\n      \\\"external_ids\\\" : {\\n        \\\"isrc\\\" : \\\"SEAYD7415010\\\"\\n      },\\n      \\\"external_urls\\\" : {\\n        \\\"spotify\\\" : \\\"https://open.spotify.com/track/0RzhMHIsFMbOGh0oWDvNNK\\\"\\n      },\\n      \\\"href\\\" : \\\"https://api.spotify.com/v1/tracks/0RzhMHIsFMbOGh0oWDvNNK\\\",\\n      \\\"id\\\" : \\\"0RzhMHIsFMbOGh0oWDvNNK\\\",\\n      \\\"is_local\\\" : false,\\n      \\\"is_playable\\\" : true,\\n      \\\"name\\\" : \\\"Waterloo\\\",\\n      \\\"popularity\\\" : 55,\\n      \\\"preview_url\\\" : null,\\n      \\\"track_number\\\" : 1,\\n      \\\"type\\\" : \\\"track\\\",\\n      \\\"uri\\\" : \\\"spotify:track:0RzhMHIsFMbOGh0oWDvNNK\\\"\\n    }, {\\n      \\\"album\\\" : {\\n        \\\"album_type\\\" : \\\"compilation\\\",\\n        \\\"artists\\\" : [ {\\n          \\\"external_urls\\\" : {\\n            \\\"spotify\\\" : \\\"https://open.spotify.com/artist/0LcJLqbBmaGUft1e9Mm8HV\\\"\\n          },\\n          \\\"href\\\" : \\\"https://api.spotify.com/v1/artists/0LcJLqbBmaGUft1e9Mm8HV\\\",\\n          \\\"id\\\" : \\\"0LcJLqbBmaGUft1e9Mm8HV\\\",\\n          \\\"name\\\" : \\\"ABBA\\\",\\n          \\\"type\\\" : \\\"artist\\\",\\n          \\\"uri\\\" : \\\"spotify:artist:0LcJLqbBmaGUft1e9Mm8HV\\\"\\n        } ],\\n        \\\"external_urls\\\" : {\\n          \\\"spotify\\\" : \\\"https://open.spotify.com/album/2cKZfaz7GiGtZEeQNj1RyR\\\"\\n        },\\n        \\\"href\\\" : \\\"https://api.spotify.com/v1/albums/2cKZfaz7GiGtZEeQNj1RyR\\\",\\n        \\\"id\\\" : \\\"2cKZfaz7GiGtZEeQNj1RyR\\\",\\n        \\\"images\\\" : [ {\\n          \\\"height\\\" : 640,\\n          \\\"url\\\" : \\\"https://i.scdn.co/image/ac59fc95d6f80b304ff4ab07c85d88a9d53fe9dd\\\",\\n          \\\"width\\\" : 640\\n        }, {\\n          \\\"height\\\" : 300,\\n          \\\"url\\\" : \\\"https://i.scdn.co/image/64e4b762ac4d85f69e13b31a87300e3dbd838c4c\\\",\\n          \\\"width\\\" : 300\\n        }, {\\n          \\\"height\\\" : 64,\\n          \\\"url\\\" : \\\"https://i.scdn.co/image/e082db092807a026ec6eb79ec540411d8392e2bc\\\",\\n          \\\"width\\\" : 64\\n        } ],\\n        \\\"name\\\" : \\\"ABBA Gold\\\",\\n        \\\"release_date\\\" : \\\"2008-01-01\\\",\\n        \\\"release_date_precision\\\" : \\\"day\\\",\\n        \\\"total_tracks\\\" : 19,\\n        \\\"type\\\" : \\\"album\\\",\\n        \\\"uri\\\" : \\\"spotify:album:2cKZfaz7GiGtZEeQNj1RyR\\\"\\n      },\\n      \\\"artists\\\" : [ {\\n        \\\"external_urls\\\" : {\\n          \\\"spotify\\\" : \\\"https://open.spotify.com/artist/0LcJLqbBmaGUft1e9Mm8HV\\\"\\n        },\\n        \\\"href\\\" : \\\"https://api.spotify.com/v1/artists/0LcJLqbBmaGUft1e9Mm8HV\\\",\\n        \\\"id\\\" : \\\"0LcJLqbBmaGUft1e9Mm8HV\\\",\\n        \\\"name\\\" : \\\"ABBA\\\",\\n        \\\"type\\\" : \\\"artist\\\",\\n        \\\"uri\\\" : \\\"spotify:artist:0LcJLqbBmaGUft1e9Mm8HV\\\"\\n      } ],\\n      \\\"disc_number\\\" : 1,\\n      \\\"duration_ms\\\" : 231093,\\n      \\\"explicit\\\" : false,\\n      \\\"external_ids\\\" : {\\n        \\\"isrc\\\" : \\\"SEAYD7601020\\\"\\n      },\\n      \\\"external_urls\\\" : {\\n        \\\"spotify\\\" : \\\"https://open.spotify.com/track/2ATDkfqprlNNe9mYWodgdc\\\"\\n      },\\n      \\\"href\\\" : \\\"https://api.spotify.com/v1/tracks/2ATDkfqprlNNe9mYWodgdc\\\",\\n      \\\"id\\\" : \\\"2ATDkfqprlNNe9mYWodgdc\\\",\\n      \\\"is_local\\\" : false,\\n      \\\"is_playable\\\" : true,\\n      \\\"name\\\" : \\\"Dancing Queen\\\",\\n      \\\"popularity\\\" : 59,\\n      \\\"preview_url\\\" : null,\\n      \\\"track_number\\\" : 1,\\n      \\\"type\\\" : \\\"track\\\",\\n      \\\"uri\\\" : \\\"spotify:track:2ATDkfqprlNNe9mYWodgdc\\\"\\n    }, {\\n      \\\"album\\\" : {\\n        \\\"album_type\\\" : \\\"album\\\",\\n        \\\"artists\\\" : [ {\\n          \\\"external_urls\\\" : {\\n            \\\"spotify\\\" : \\\"https://open.spotify.com/artist/0LcJLqbBmaGUft1e9Mm8HV\\\"\\n          },\\n          \\\"href\\\" : \\\"https://api.spotify.com/v1/artists/0LcJLqbBmaGUft1e9Mm8HV\\\",\\n          \\\"id\\\" : \\\"0LcJLqbBmaGUft1e9Mm8HV\\\",\\n          \\\"name\\\" : \\\"ABBA\\\",\\n          \\\"type\\\" : \\\"artist\\\",\\n          \\\"uri\\\" : \\\"spotify:artist:0LcJLqbBmaGUft1e9Mm8HV\\\"\\n        } ],\\n        \\\"external_urls\\\" : {\\n          \\\"spotify\\\" : \\\"https://open.spotify.com/album/5PVuX09frPq7AMYkkdcDfR\\\"\\n        },\\n        \\\"href\\\" : \\\"https://api.spotify.com/v1/albums/5PVuX09frPq7AMYkkdcDfR\\\",\\n        \\\"id\\\" : \\\"5PVuX09frPq7AMYkkdcDfR\\\",\\n        \\\"images\\\" : [ {\\n          \\\"height\\\" : 573,\\n          \\\"url\\\" : \\\"https://i.scdn.co/image/b0307cd408f497243171826c19994ea124197cb7\\\",\\n          \\\"width\\\" : 640\\n        }, {\\n          \\\"height\\\" : 268,\\n          \\\"url\\\" : \\\"https://i.scdn.co/image/ccb216e53163aefacc95be1029b36f570af1cd7b\\\",\\n          \\\"width\\\" : 299\\n        }, {\\n          \\\"height\\\" : 57,\\n          \\\"url\\\" : \\\"https://i.scdn.co/image/c3fb7f460df28495cbb2f741eeb4672749b7f311\\\",\\n          \\\"width\\\" : 64\\n        } ],\\n        \\\"name\\\" : \\\"Super Trouper\\\",\\n        \\\"release_date\\\" : \\\"1980\\\",\\n        \\\"release_date_precision\\\" : \\\"year\\\",\\n        \\\"total_tracks\\\" : 12,\\n        \\\"type\\\" : \\\"album\\\",\\n        \\\"uri\\\" : \\\"spotify:album:5PVuX09frPq7AMYkkdcDfR\\\"\\n      },\\n      \\\"artists\\\" : [ {\\n        \\\"external_urls\\\" : {\\n          \\\"spotify\\\" : \\\"https://open.spotify.com/artist/0LcJLqbBmaGUft1e9Mm8HV\\\"\\n        },\\n        \\\"href\\\" : \\\"https://api.spotify.com/v1/artists/0LcJLqbBmaGUft1e9Mm8HV\\\",\\n        \\\"id\\\" : \\\"0LcJLqbBmaGUft1e9Mm8HV\\\",\\n        \\\"name\\\" : \\\"ABBA\\\",\\n        \\\"type\\\" : \\\"artist\\\",\\n        \\\"uri\\\" : \\\"spotify:artist:0LcJLqbBmaGUft1e9Mm8HV\\\"\\n      } ],\\n      \\\"disc_number\\\" : 1,\\n      \\\"duration_ms\\\" : 254600,\\n      \\\"explicit\\\" : false,\\n      \\\"external_ids\\\" : {\\n        \\\"isrc\\\" : \\\"SEAYD8001010\\\"\\n      },\\n      \\\"external_urls\\\" : {\\n        \\\"spotify\\\" : \\\"https://open.spotify.com/track/2nMghZvtLx6DDgTEHEsb4w\\\"\\n      },\\n      \\\"href\\\" : \\\"https://api.spotify.com/v1/tracks/2nMghZvtLx6DDgTEHEsb4w\\\",\\n      \\\"id\\\" : \\\"2nMghZvtLx6DDgTEHEsb4w\\\",\\n      \\\"is_local\\\" : false,\\n      \\\"is_playable\\\" : true,\\n      \\\"name\\\" : \\\"Super Trouper\\\",\\n      \\\"popularity\\\" : 54,\\n      \\\"preview_url\\\" : null,\\n      \\\"track_number\\\" : 1,\\n      \\\"type\\\" : \\\"track\\\",\\n      \\\"uri\\\" : \\\"spotify:track:2nMghZvtLx6DDgTEHEsb4w\\\"\\n    }, {\\n      \\\"album\\\" : {\\n        \\\"album_type\\\" : \\\"album\\\",\\n        \\\"artists\\\" : [ {\\n          \\\"external_urls\\\" : {\\n            \\\"spotify\\\" : \\\"https://open.spotify.com/artist/0LcJLqbBmaGUft1e9Mm8HV\\\"\\n          },\\n          \\\"href\\\" : \\\"https://api.spotify.com/v1/artists/0LcJLqbBmaGUft1e9Mm8HV\\\",\\n          \\\"id\\\" : \\\"0LcJLqbBmaGUft1e9Mm8HV\\\",\\n          \\\"name\\\" : \\\"ABBA\\\",\\n          \\\"type\\\" : \\\"artist\\\",\\n          \\\"uri\\\" : \\\"spotify:artist:0LcJLqbBmaGUft1e9Mm8HV\\\"\\n        } ],\\n        \\\"external_urls\\\" : {\\n          \\\"spotify\\\" : \\\"https://open.spotify.com/album/1M4anG49aEs4YimBdj96Oy\\\"\\n        },\\n        \\\"href\\\" : \\\"https://api.spotify.com/v1/albums/1M4anG49aEs4YimBdj96Oy\\\",\\n        \\\"id\\\" : \\\"1M4anG49aEs4YimBdj96Oy\\\",\\n        \\\"images\\\" : [ {\\n          \\\"height\\\" : 575,\\n          \\\"url\\\" : \\\"https://i.scdn.co/image/361387b8f4297afda0394896aeb1f315b3fbad0b\\\",\\n          \\\"width\\\" : 640\\n        }, {\\n          \\\"height\\\" : 270,\\n          \\\"url\\\" : \\\"https://i.scdn.co/image/803de302874cdff3ecbd531ecfd7585793c6b7c1\\\",\\n          \\\"width\\\" : 300\\n        }, {\\n          \\\"height\\\" : 57,\\n          \\\"url\\\" : \\\"https://i.scdn.co/image/c43883a6978668e0636d96887cf43ddbb6b5965d\\\",\\n          \\\"width\\\" : 63\\n        } ],\\n        \\\"name\\\" : \\\"Arrival\\\",\\n        \\\"release_date\\\" : \\\"1976\\\",\\n        \\\"release_date_precision\\\" : \\\"year\\\",\\n        \\\"total_tracks\\\" : 12,\\n        \\\"type\\\" : \\\"album\\\",\\n        \\\"uri\\\" : \\\"spotify:album:1M4anG49aEs4YimBdj96Oy\\\"\\n      },\\n      \\\"artists\\\" : [ {\\n        \\\"external_urls\\\" : {\\n          \\\"spotify\\\" : \\\"https://open.spotify.com/artist/0LcJLqbBmaGUft1e9Mm8HV\\\"\\n        },\\n        \\\"href\\\" : \\\"https://api.spotify.com/v1/artists/0LcJLqbBmaGUft1e9Mm8HV\\\",\\n        \\\"id\\\" : \\\"0LcJLqbBmaGUft1e9Mm8HV\\\",\\n        \\\"name\\\" : \\\"ABBA\\\",\\n        \\\"type\\\" : \\\"artist\\\",\\n        \\\"uri\\\" : \\\"spotify:artist:0LcJLqbBmaGUft1e9Mm8HV\\\"\\n      } ],\\n      \\\"disc_number\\\" : 1,\\n      \\\"duration_ms\\\" : 255533,\\n      \\\"explicit\\\" : false,\\n      \\\"external_ids\\\" : {\\n        \\\"isrc\\\" : \\\"SEAYD7602070\\\"\\n      },\\n      \\\"external_urls\\\" : {\\n        \\\"spotify\\\" : \\\"https://open.spotify.com/track/1IxDBsZdVMhfkLqrZjARpk\\\"\\n      },\\n      \\\"href\\\" : \\\"https://api.spotify.com/v1/tracks/1IxDBsZdVMhfkLqrZjARpk\\\",\\n      \\\"id\\\" : \\\"1IxDBsZdVMhfkLqrZjARpk\\\",\\n      \\\"is_local\\\" : false,\\n      \\\"is_playable\\\" : true,\\n      \\\"name\\\" : \\\"Fernando\\\",\\n      \\\"popularity\\\" : 54,\\n      \\\"preview_url\\\" : null,\\n      \\\"track_number\\\" : 11,\\n      \\\"type\\\" : \\\"track\\\",\\n      \\\"uri\\\" : \\\"spotify:track:1IxDBsZdVMhfkLqrZjARpk\\\"\\n    }, {\\n      \\\"album\\\" : {\\n        \\\"album_type\\\" : \\\"album\\\",\\n        \\\"artists\\\" : [ {\\n          \\\"external_urls\\\" : {\\n            \\\"spotify\\\" : \\\"https://open.spotify.com/artist/0LcJLqbBmaGUft1e9Mm8HV\\\"\\n          },\\n          \\\"href\\\" : \\\"https://api.spotify.com/v1/artists/0LcJLqbBmaGUft1e9Mm8HV\\\",\\n          \\\"id\\\" : \\\"0LcJLqbBmaGUft1e9Mm8HV\\\",\\n          \\\"name\\\" : \\\"ABBA\\\",\\n          \\\"type\\\" : \\\"artist\\\",\\n          \\\"uri\\\" : \\\"spotify:artist:0LcJLqbBmaGUft1e9Mm8HV\\\"\\n        } ],\\n        \\\"external_urls\\\" : {\\n          \\\"spotify\\\" : \\\"https://open.spotify.com/album/0zdZSyxWaYmaRMPeUHcG1K\\\"\\n        },\\n        \\\"href\\\" : \\\"https://api.spotify.com/v1/albums/0zdZSyxWaYmaRMPeUHcG1K\\\",\\n        \\\"id\\\" : \\\"0zdZSyxWaYmaRMPeUHcG1K\\\",\\n        \\\"images\\\" : [ {\\n          \\\"height\\\" : 575,\\n          \\\"url\\\" : \\\"https://i.scdn.co/image/9a06fe3059762156cff0ea02053592bb625f9350\\\",\\n          \\\"width\\\" : 640\\n        }, {\\n          \\\"height\\\" : 270,\\n          \\\"url\\\" : \\\"https://i.scdn.co/image/51bba354b425161d4f07a35a14bb4971646892a0\\\",\\n          \\\"width\\\" : 300\\n        }, {\\n          \\\"height\\\" : 57,\\n          \\\"url\\\" : \\\"https://i.scdn.co/image/a33d19704f08f5651000c866d7fb00117d3af44d\\\",\\n          \\\"width\\\" : 63\\n        } ],\\n        \\\"name\\\" : \\\"Voulez-Vous\\\",\\n        \\\"release_date\\\" : \\\"1979\\\",\\n        \\\"release_date_precision\\\" : \\\"year\\\",\\n        \\\"total_tracks\\\" : 13,\\n        \\\"type\\\" : \\\"album\\\",\\n        \\\"uri\\\" : \\\"spotify:album:0zdZSyxWaYmaRMPeUHcG1K\\\"\\n      },\\n      \\\"artists\\\" : [ {\\n        \\\"external_urls\\\" : {\\n          \\\"spotify\\\" : \\\"https://open.spotify.com/artist/0LcJLqbBmaGUft1e9Mm8HV\\\"\\n        },\\n        \\\"href\\\" : \\\"https://api.spotify.com/v1/artists/0LcJLqbBmaGUft1e9Mm8HV\\\",\\n        \\\"id\\\" : \\\"0LcJLqbBmaGUft1e9Mm8HV\\\",\\n        \\\"name\\\" : \\\"ABBA\\\",\\n        \\\"type\\\" : \\\"artist\\\",\\n        \\\"uri\\\" : \\\"spotify:artist:0LcJLqbBmaGUft1e9Mm8HV\\\"\\n      } ],\\n      \\\"disc_number\\\" : 1,\\n      \\\"duration_ms\\\" : 327040,\\n      \\\"explicit\\\" : false,\\n      \\\"external_ids\\\" : {\\n        \\\"isrc\\\" : \\\"SEAYD7901080\\\"\\n      },\\n      \\\"external_urls\\\" : {\\n        \\\"spotify\\\" : \\\"https://open.spotify.com/track/4g5LUzHFRr4Zlok8KzERmI\\\"\\n      },\\n      \\\"href\\\" : \\\"https://api.spotify.com/v1/tracks/4g5LUzHFRr4Zlok8KzERmI\\\",\\n      \\\"id\\\" : \\\"4g5LUzHFRr4Zlok8KzERmI\\\",\\n      \\\"is_local\\\" : false,\\n      \\\"is_playable\\\" : true,\\n      \\\"name\\\" : \\\"Chiquitita\\\",\\n      \\\"popularity\\\" : 54,\\n      \\\"preview_url\\\" : null,\\n      \\\"track_number\\\" : 8,\\n      \\\"type\\\" : \\\"track\\\",\\n      \\\"uri\\\" : \\\"spotify:track:4g5LUzHFRr4Zlok8KzERmI\\\"\\n    } ],\\n    \\\"limit\\\" : 10,\\n    \\\"next\\\" : \\\"https://api.spotify.com/v1/search?query=abba&type=track&market=US&offset=10&limit=10\\\",\\n    \\\"offset\\\" : 0,\\n    \\\"previous\\\" : null,\\n    \\\"total\\\" : 9278\\n  }\\n}\"" })

..although that error isn't too helpful - the error from serde_json::from_str is missing field 'available_markets'

I think this is intended behavior of the API, at least based on this page
https://developer.spotify.com/documentation/general/guides/track-relinking-guide/

There are a number of important differences between the response you get with and without the market query parameter.

When the market parameter is supplied:

  • The available_markets property in the Track object is replaced by the is_playable property. (Since the request contains the market query parameter, there’s no need for the available_markets property to determine if the user can play the track or not.)
  • [...]

In my case workaround is easy, just don;t specify market as I don't need this functionality

Occurring with version 0.2.5 and master as of f8463a302f

Originally created by @dbr on GitHub (Dec 17, 2018). Original GitHub issue: https://github.com/ramsayleung/rspotify/issues/29 Using the `search_track` method and specifying a market is currently giving an error - such as in the `examples/search_track.rs`: https://github.com/samrayleung/rspotify/blob/f8463a302f1df9393cf4e05a27252ffd2b3ff2c3/examples/search_track.rs#L35 Error is: ``` search result:Err(ErrorMessage { msg: "convert result failed, content \"{\\n \\\"tracks\\\" : {\\n \\\"href\\\" : \\\"https://api.spotify.com/v1/search?query=abba&type=track&market=US&offset=0&limit=10\\\",\\n \\\"items\\\" : [ {\\n \\\"album\\\" : {\\n \\\"album_type\\\" : \\\"album\\\",\\n \\\"artists\\\" : [ {\\n \\\"external_urls\\\" : {\\n \\\"spotify\\\" : \\\"https://open.spotify.com/artist/0LcJLqbBmaGUft1e9Mm8HV\\\"\\n },\\n \\\"href\\\" : \\\"https://api.spotify.com/v1/artists/0LcJLqbBmaGUft1e9Mm8HV\\\",\\n \\\"id\\\" : \\\"0LcJLqbBmaGUft1e9Mm8HV\\\",\\n \\\"name\\\" : \\\"ABBA\\\",\\n \\\"type\\\" : \\\"artist\\\",\\n \\\"uri\\\" : \\\"spotify:artist:0LcJLqbBmaGUft1e9Mm8HV\\\"\\n } ],\\n \\\"external_urls\\\" : {\\n \\\"spotify\\\" : \\\"https://open.spotify.com/album/1M4anG49aEs4YimBdj96Oy\\\"\\n },\\n \\\"href\\\" : \\\"https://api.spotify.com/v1/albums/1M4anG49aEs4YimBdj96Oy\\\",\\n \\\"id\\\" : \\\"1M4anG49aEs4YimBdj96Oy\\\",\\n \\\"images\\\" : [ {\\n \\\"height\\\" : 575,\\n \\\"url\\\" : \\\"https://i.scdn.co/image/361387b8f4297afda0394896aeb1f315b3fbad0b\\\",\\n \\\"width\\\" : 640\\n }, {\\n \\\"height\\\" : 270,\\n \\\"url\\\" : \\\"https://i.scdn.co/image/803de302874cdff3ecbd531ecfd7585793c6b7c1\\\",\\n \\\"width\\\" : 300\\n }, {\\n \\\"height\\\" : 57,\\n \\\"url\\\" : \\\"https://i.scdn.co/image/c43883a6978668e0636d96887cf43ddbb6b5965d\\\",\\n \\\"width\\\" : 63\\n } ],\\n \\\"name\\\" : \\\"Arrival\\\",\\n \\\"release_date\\\" : \\\"1976\\\",\\n \\\"release_date_precision\\\" : \\\"year\\\",\\n \\\"total_tracks\\\" : 12,\\n \\\"type\\\" : \\\"album\\\",\\n \\\"uri\\\" : \\\"spotify:album:1M4anG49aEs4YimBdj96Oy\\\"\\n },\\n \\\"artists\\\" : [ {\\n \\\"external_urls\\\" : {\\n \\\"spotify\\\" : \\\"https://open.spotify.com/artist/0LcJLqbBmaGUft1e9Mm8HV\\\"\\n },\\n \\\"href\\\" : \\\"https://api.spotify.com/v1/artists/0LcJLqbBmaGUft1e9Mm8HV\\\",\\n \\\"id\\\" : \\\"0LcJLqbBmaGUft1e9Mm8HV\\\",\\n \\\"name\\\" : \\\"ABBA\\\",\\n \\\"type\\\" : \\\"artist\\\",\\n \\\"uri\\\" : \\\"spotify:artist:0LcJLqbBmaGUft1e9Mm8HV\\\"\\n } ],\\n \\\"disc_number\\\" : 1,\\n \\\"duration_ms\\\" : 230693,\\n \\\"explicit\\\" : false,\\n \\\"external_ids\\\" : {\\n \\\"isrc\\\" : \\\"SEAYD7601020\\\"\\n },\\n \\\"external_urls\\\" : {\\n \\\"spotify\\\" : \\\"https://open.spotify.com/track/4NtUY5IGzHCaqfZemmAu56\\\"\\n },\\n \\\"href\\\" : \\\"https://api.spotify.com/v1/tracks/4NtUY5IGzHCaqfZemmAu56\\\",\\n \\\"id\\\" : \\\"4NtUY5IGzHCaqfZemmAu56\\\",\\n \\\"is_local\\\" : false,\\n \\\"is_playable\\\" : true,\\n \\\"name\\\" : \\\"Dancing Queen\\\",\\n \\\"popularity\\\" : 69,\\n \\\"preview_url\\\" : null,\\n \\\"track_number\\\" : 2,\\n \\\"type\\\" : \\\"track\\\",\\n \\\"uri\\\" : \\\"spotify:track:4NtUY5IGzHCaqfZemmAu56\\\"\\n }, {\\n \\\"album\\\" : {\\n \\\"album_type\\\" : \\\"album\\\",\\n \\\"artists\\\" : [ {\\n \\\"external_urls\\\" : {\\n \\\"spotify\\\" : \\\"https://open.spotify.com/artist/0LcJLqbBmaGUft1e9Mm8HV\\\"\\n },\\n \\\"href\\\" : \\\"https://api.spotify.com/v1/artists/0LcJLqbBmaGUft1e9Mm8HV\\\",\\n \\\"id\\\" : \\\"0LcJLqbBmaGUft1e9Mm8HV\\\",\\n \\\"name\\\" : \\\"ABBA\\\",\\n \\\"type\\\" : \\\"artist\\\",\\n \\\"uri\\\" : \\\"spotify:artist:0LcJLqbBmaGUft1e9Mm8HV\\\"\\n } ],\\n \\\"external_urls\\\" : {\\n \\\"spotify\\\" : \\\"https://open.spotify.com/album/0zdZSyxWaYmaRMPeUHcG1K\\\"\\n },\\n \\\"href\\\" : \\\"https://api.spotify.com/v1/albums/0zdZSyxWaYmaRMPeUHcG1K\\\",\\n \\\"id\\\" : \\\"0zdZSyxWaYmaRMPeUHcG1K\\\",\\n \\\"images\\\" : [ {\\n \\\"height\\\" : 575,\\n \\\"url\\\" : \\\"https://i.scdn.co/image/9a06fe3059762156cff0ea02053592bb625f9350\\\",\\n \\\"width\\\" : 640\\n }, {\\n \\\"height\\\" : 270,\\n \\\"url\\\" : \\\"https://i.scdn.co/image/51bba354b425161d4f07a35a14bb4971646892a0\\\",\\n \\\"width\\\" : 300\\n }, {\\n \\\"height\\\" : 57,\\n \\\"url\\\" : \\\"https://i.scdn.co/image/a33d19704f08f5651000c866d7fb00117d3af44d\\\",\\n \\\"width\\\" : 63\\n } ],\\n \\\"name\\\" : \\\"Voulez-Vous\\\",\\n \\\"release_date\\\" : \\\"1979\\\",\\n \\\"release_date_precision\\\" : \\\"year\\\",\\n \\\"total_tracks\\\" : 13,\\n \\\"type\\\" : \\\"album\\\",\\n \\\"uri\\\" : \\\"spotify:album:0zdZSyxWaYmaRMPeUHcG1K\\\"\\n },\\n \\\"artists\\\" : [ {\\n \\\"external_urls\\\" : {\\n \\\"spotify\\\" : \\\"https://open.spotify.com/artist/0LcJLqbBmaGUft1e9Mm8HV\\\"\\n },\\n \\\"href\\\" : \\\"https://api.spotify.com/v1/artists/0LcJLqbBmaGUft1e9Mm8HV\\\",\\n \\\"id\\\" : \\\"0LcJLqbBmaGUft1e9Mm8HV\\\",\\n \\\"name\\\" : \\\"ABBA\\\",\\n \\\"type\\\" : \\\"artist\\\",\\n \\\"uri\\\" : \\\"spotify:artist:0LcJLqbBmaGUft1e9Mm8HV\\\"\\n } ],\\n \\\"disc_number\\\" : 1,\\n \\\"duration_ms\\\" : 292571,\\n \\\"explicit\\\" : false,\\n \\\"external_ids\\\" : {\\n \\\"isrc\\\" : \\\"SEAYD7901120\\\"\\n },\\n \\\"external_urls\\\" : {\\n \\\"spotify\\\" : \\\"https://open.spotify.com/track/2PzCOP5Aj9SABiBgNEZ52G\\\"\\n },\\n \\\"href\\\" : \\\"https://api.spotify.com/v1/tracks/2PzCOP5Aj9SABiBgNEZ52G\\\",\\n \\\"id\\\" : \\\"2PzCOP5Aj9SABiBgNEZ52G\\\",\\n \\\"is_local\\\" : false,\\n \\\"is_playable\\\" : true,\\n \\\"name\\\" : \\\"Gimme! Gimme! Gimme! (A Man After Midnight)\\\",\\n \\\"popularity\\\" : 61,\\n \\\"preview_url\\\" : null,\\n \\\"track_number\\\" : 13,\\n \\\"type\\\" : \\\"track\\\",\\n \\\"uri\\\" : \\\"spotify:track:2PzCOP5Aj9SABiBgNEZ52G\\\"\\n }, {\\n \\\"album\\\" : {\\n \\\"album_type\\\" : \\\"album\\\",\\n \\\"artists\\\" : [ {\\n \\\"external_urls\\\" : {\\n \\\"spotify\\\" : \\\"https://open.spotify.com/artist/0LcJLqbBmaGUft1e9Mm8HV\\\"\\n },\\n \\\"href\\\" : \\\"https://api.spotify.com/v1/artists/0LcJLqbBmaGUft1e9Mm8HV\\\",\\n \\\"id\\\" : \\\"0LcJLqbBmaGUft1e9Mm8HV\\\",\\n \\\"name\\\" : \\\"ABBA\\\",\\n \\\"type\\\" : \\\"artist\\\",\\n \\\"uri\\\" : \\\"spotify:artist:0LcJLqbBmaGUft1e9Mm8HV\\\"\\n } ],\\n \\\"external_urls\\\" : {\\n \\\"spotify\\\" : \\\"https://open.spotify.com/album/0C36RlW2Fa0C7n1JnWBBMP\\\"\\n },\\n \\\"href\\\" : \\\"https://api.spotify.com/v1/albums/0C36RlW2Fa0C7n1JnWBBMP\\\",\\n \\\"id\\\" : \\\"0C36RlW2Fa0C7n1JnWBBMP\\\",\\n \\\"images\\\" : [ {\\n \\\"height\\\" : 575,\\n \\\"url\\\" : \\\"https://i.scdn.co/image/8a83cb534bc00fb42620cd1bdb941e02aa20761d\\\",\\n \\\"width\\\" : 640\\n }, {\\n \\\"height\\\" : 269,\\n \\\"url\\\" : \\\"https://i.scdn.co/image/60533fe6bbb2dd9fcc896f34d0fbcf66b88cf613\\\",\\n \\\"width\\\" : 300\\n }, {\\n \\\"height\\\" : 57,\\n \\\"url\\\" : \\\"https://i.scdn.co/image/6d811c4aa3b7e737b67a2e1f8ca6419c0bcfbb64\\\",\\n \\\"width\\\" : 63\\n } ],\\n \\\"name\\\" : \\\"Abba\\\",\\n \\\"release_date\\\" : \\\"1975\\\",\\n \\\"release_date_precision\\\" : \\\"year\\\",\\n \\\"total_tracks\\\" : 13,\\n \\\"type\\\" : \\\"album\\\",\\n \\\"uri\\\" : \\\"spotify:album:0C36RlW2Fa0C7n1JnWBBMP\\\"\\n },\\n \\\"artists\\\" : [ {\\n \\\"external_urls\\\" : {\\n \\\"spotify\\\" : \\\"https://open.spotify.com/artist/0LcJLqbBmaGUft1e9Mm8HV\\\"\\n },\\n \\\"href\\\" : \\\"https://api.spotify.com/v1/artists/0LcJLqbBmaGUft1e9Mm8HV\\\",\\n \\\"id\\\" : \\\"0LcJLqbBmaGUft1e9Mm8HV\\\",\\n \\\"name\\\" : \\\"ABBA\\\",\\n \\\"type\\\" : \\\"artist\\\",\\n \\\"uri\\\" : \\\"spotify:artist:0LcJLqbBmaGUft1e9Mm8HV\\\"\\n } ],\\n \\\"disc_number\\\" : 1,\\n \\\"duration_ms\\\" : 215266,\\n \\\"explicit\\\" : false,\\n \\\"external_ids\\\" : {\\n \\\"isrc\\\" : \\\"SEAYD7501010\\\"\\n },\\n \\\"external_urls\\\" : {\\n \\\"spotify\\\" : \\\"https://open.spotify.com/track/22NN4BS1AlqVbyKIWExgON\\\"\\n },\\n \\\"href\\\" : \\\"https://api.spotify.com/v1/tracks/22NN4BS1AlqVbyKIWExgON\\\",\\n \\\"id\\\" : \\\"22NN4BS1AlqVbyKIWExgON\\\",\\n \\\"is_local\\\" : false,\\n \\\"is_playable\\\" : true,\\n \\\"name\\\" : \\\"Mamma Mia\\\",\\n \\\"popularity\\\" : 61,\\n \\\"preview_url\\\" : null,\\n \\\"track_number\\\" : 1,\\n \\\"type\\\" : \\\"track\\\",\\n \\\"uri\\\" : \\\"spotify:track:22NN4BS1AlqVbyKIWExgON\\\"\\n }, {\\n \\\"album\\\" : {\\n \\\"album_type\\\" : \\\"album\\\",\\n \\\"artists\\\" : [ {\\n \\\"external_urls\\\" : {\\n \\\"spotify\\\" : \\\"https://open.spotify.com/artist/0LcJLqbBmaGUft1e9Mm8HV\\\"\\n },\\n \\\"href\\\" : \\\"https://api.spotify.com/v1/artists/0LcJLqbBmaGUft1e9Mm8HV\\\",\\n \\\"id\\\" : \\\"0LcJLqbBmaGUft1e9Mm8HV\\\",\\n \\\"name\\\" : \\\"ABBA\\\",\\n \\\"type\\\" : \\\"artist\\\",\\n \\\"uri\\\" : \\\"spotify:artist:0LcJLqbBmaGUft1e9Mm8HV\\\"\\n } ],\\n \\\"external_urls\\\" : {\\n \\\"spotify\\\" : \\\"https://open.spotify.com/album/5GwbPSgiTECzQiE6u7s0ZN\\\"\\n },\\n \\\"href\\\" : \\\"https://api.spotify.com/v1/albums/5GwbPSgiTECzQiE6u7s0ZN\\\",\\n \\\"id\\\" : \\\"5GwbPSgiTECzQiE6u7s0ZN\\\",\\n \\\"images\\\" : [ {\\n \\\"height\\\" : 575,\\n \\\"url\\\" : \\\"https://i.scdn.co/image/cb818993d01447fdb9319db94c9976c59885f828\\\",\\n \\\"width\\\" : 640\\n }, {\\n \\\"height\\\" : 270,\\n \\\"url\\\" : \\\"https://i.scdn.co/image/f53c3cc7228a5ac768371fa8f35db6891b7aa7ff\\\",\\n \\\"width\\\" : 300\\n }, {\\n \\\"height\\\" : 58,\\n \\\"url\\\" : \\\"https://i.scdn.co/image/2ab03cbc259d1c70cfe5120148937b38bd0505a3\\\",\\n \\\"width\\\" : 64\\n } ],\\n \\\"name\\\" : \\\"The Album\\\",\\n \\\"release_date\\\" : \\\"1977\\\",\\n \\\"release_date_precision\\\" : \\\"year\\\",\\n \\\"total_tracks\\\" : 10,\\n \\\"type\\\" : \\\"album\\\",\\n \\\"uri\\\" : \\\"spotify:album:5GwbPSgiTECzQiE6u7s0ZN\\\"\\n },\\n \\\"artists\\\" : [ {\\n \\\"external_urls\\\" : {\\n \\\"spotify\\\" : \\\"https://open.spotify.com/artist/0LcJLqbBmaGUft1e9Mm8HV\\\"\\n },\\n \\\"href\\\" : \\\"https://api.spotify.com/v1/artists/0LcJLqbBmaGUft1e9Mm8HV\\\",\\n \\\"id\\\" : \\\"0LcJLqbBmaGUft1e9Mm8HV\\\",\\n \\\"name\\\" : \\\"ABBA\\\",\\n \\\"type\\\" : \\\"artist\\\",\\n \\\"uri\\\" : \\\"spotify:artist:0LcJLqbBmaGUft1e9Mm8HV\\\"\\n } ],\\n \\\"disc_number\\\" : 1,\\n \\\"duration_ms\\\" : 243933,\\n \\\"explicit\\\" : false,\\n \\\"external_ids\\\" : {\\n \\\"isrc\\\" : \\\"SEAYD7702020\\\"\\n },\\n \\\"external_urls\\\" : {\\n \\\"spotify\\\" : \\\"https://open.spotify.com/track/6vQN2a9QSgWcm74KEZYfDL\\\"\\n },\\n \\\"href\\\" : \\\"https://api.spotify.com/v1/tracks/6vQN2a9QSgWcm74KEZYfDL\\\",\\n \\\"id\\\" : \\\"6vQN2a9QSgWcm74KEZYfDL\\\",\\n \\\"is_local\\\" : false,\\n \\\"is_playable\\\" : true,\\n \\\"name\\\" : \\\"Take A Chance On Me\\\",\\n \\\"popularity\\\" : 60,\\n \\\"preview_url\\\" : null,\\n \\\"track_number\\\" : 2,\\n \\\"type\\\" : \\\"track\\\",\\n \\\"uri\\\" : \\\"spotify:track:6vQN2a9QSgWcm74KEZYfDL\\\"\\n }, {\\n \\\"album\\\" : {\\n \\\"album_type\\\" : \\\"album\\\",\\n \\\"artists\\\" : [ {\\n \\\"external_urls\\\" : {\\n \\\"spotify\\\" : \\\"https://open.spotify.com/artist/0LcJLqbBmaGUft1e9Mm8HV\\\"\\n },\\n \\\"href\\\" : \\\"https://api.spotify.com/v1/artists/0LcJLqbBmaGUft1e9Mm8HV\\\",\\n \\\"id\\\" : \\\"0LcJLqbBmaGUft1e9Mm8HV\\\",\\n \\\"name\\\" : \\\"ABBA\\\",\\n \\\"type\\\" : \\\"artist\\\",\\n \\\"uri\\\" : \\\"spotify:artist:0LcJLqbBmaGUft1e9Mm8HV\\\"\\n } ],\\n \\\"external_urls\\\" : {\\n \\\"spotify\\\" : \\\"https://open.spotify.com/album/5PVuX09frPq7AMYkkdcDfR\\\"\\n },\\n \\\"href\\\" : \\\"https://api.spotify.com/v1/albums/5PVuX09frPq7AMYkkdcDfR\\\",\\n \\\"id\\\" : \\\"5PVuX09frPq7AMYkkdcDfR\\\",\\n \\\"images\\\" : [ {\\n \\\"height\\\" : 573,\\n \\\"url\\\" : \\\"https://i.scdn.co/image/b0307cd408f497243171826c19994ea124197cb7\\\",\\n \\\"width\\\" : 640\\n }, {\\n \\\"height\\\" : 268,\\n \\\"url\\\" : \\\"https://i.scdn.co/image/ccb216e53163aefacc95be1029b36f570af1cd7b\\\",\\n \\\"width\\\" : 299\\n }, {\\n \\\"height\\\" : 57,\\n \\\"url\\\" : \\\"https://i.scdn.co/image/c3fb7f460df28495cbb2f741eeb4672749b7f311\\\",\\n \\\"width\\\" : 64\\n } ],\\n \\\"name\\\" : \\\"Super Trouper\\\",\\n \\\"release_date\\\" : \\\"1980\\\",\\n \\\"release_date_precision\\\" : \\\"year\\\",\\n \\\"total_tracks\\\" : 12,\\n \\\"type\\\" : \\\"album\\\",\\n \\\"uri\\\" : \\\"spotify:album:5PVuX09frPq7AMYkkdcDfR\\\"\\n },\\n \\\"artists\\\" : [ {\\n \\\"external_urls\\\" : {\\n \\\"spotify\\\" : \\\"https://open.spotify.com/artist/0LcJLqbBmaGUft1e9Mm8HV\\\"\\n },\\n \\\"href\\\" : \\\"https://api.spotify.com/v1/artists/0LcJLqbBmaGUft1e9Mm8HV\\\",\\n \\\"id\\\" : \\\"0LcJLqbBmaGUft1e9Mm8HV\\\",\\n \\\"name\\\" : \\\"ABBA\\\",\\n \\\"type\\\" : \\\"artist\\\",\\n \\\"uri\\\" : \\\"spotify:artist:0LcJLqbBmaGUft1e9Mm8HV\\\"\\n } ],\\n \\\"disc_number\\\" : 1,\\n \\\"duration_ms\\\" : 294733,\\n \\\"explicit\\\" : false,\\n \\\"external_ids\\\" : {\\n \\\"isrc\\\" : \\\"SEAYD8001020\\\"\\n },\\n \\\"external_urls\\\" : {\\n \\\"spotify\\\" : \\\"https://open.spotify.com/track/2HeTmGTjl870ucJ8mF7zl5\\\"\\n },\\n \\\"href\\\" : \\\"https://api.spotify.com/v1/tracks/2HeTmGTjl870ucJ8mF7zl5\\\",\\n \\\"id\\\" : \\\"2HeTmGTjl870ucJ8mF7zl5\\\",\\n \\\"is_local\\\" : false,\\n \\\"is_playable\\\" : true,\\n \\\"name\\\" : \\\"The Winner Takes It All\\\",\\n \\\"popularity\\\" : 57,\\n \\\"preview_url\\\" : null,\\n \\\"track_number\\\" : 2,\\n \\\"type\\\" : \\\"track\\\",\\n \\\"uri\\\" : \\\"spotify:track:2HeTmGTjl870ucJ8mF7zl5\\\"\\n }, {\\n \\\"album\\\" : {\\n \\\"album_type\\\" : \\\"album\\\",\\n \\\"artists\\\" : [ {\\n \\\"external_urls\\\" : {\\n \\\"spotify\\\" : \\\"https://open.spotify.com/artist/0LcJLqbBmaGUft1e9Mm8HV\\\"\\n },\\n \\\"href\\\" : \\\"https://api.spotify.com/v1/artists/0LcJLqbBmaGUft1e9Mm8HV\\\",\\n \\\"id\\\" : \\\"0LcJLqbBmaGUft1e9Mm8HV\\\",\\n \\\"name\\\" : \\\"ABBA\\\",\\n \\\"type\\\" : \\\"artist\\\",\\n \\\"uri\\\" : \\\"spotify:artist:0LcJLqbBmaGUft1e9Mm8HV\\\"\\n } ],\\n \\\"external_urls\\\" : {\\n \\\"spotify\\\" : \\\"https://open.spotify.com/album/1WAlaVMaCstzAQ1Y5i0VeX\\\"\\n },\\n \\\"href\\\" : \\\"https://api.spotify.com/v1/albums/1WAlaVMaCstzAQ1Y5i0VeX\\\",\\n \\\"id\\\" : \\\"1WAlaVMaCstzAQ1Y5i0VeX\\\",\\n \\\"images\\\" : [ {\\n \\\"height\\\" : 575,\\n \\\"url\\\" : \\\"https://i.scdn.co/image/8548134da5b3f2cee77654ee0ac5d674cecc0e6e\\\",\\n \\\"width\\\" : 640\\n }, {\\n \\\"height\\\" : 269,\\n \\\"url\\\" : \\\"https://i.scdn.co/image/04020a453f43f47182a8416d43afaa01b405aafc\\\",\\n \\\"width\\\" : 300\\n }, {\\n \\\"height\\\" : 57,\\n \\\"url\\\" : \\\"https://i.scdn.co/image/d1af32b3658846f43badb78327747d935852f5f1\\\",\\n \\\"width\\\" : 63\\n } ],\\n \\\"name\\\" : \\\"Waterloo\\\",\\n \\\"release_date\\\" : \\\"1974-01-01\\\",\\n \\\"release_date_precision\\\" : \\\"day\\\",\\n \\\"total_tracks\\\" : 14,\\n \\\"type\\\" : \\\"album\\\",\\n \\\"uri\\\" : \\\"spotify:album:1WAlaVMaCstzAQ1Y5i0VeX\\\"\\n },\\n \\\"artists\\\" : [ {\\n \\\"external_urls\\\" : {\\n \\\"spotify\\\" : \\\"https://open.spotify.com/artist/0LcJLqbBmaGUft1e9Mm8HV\\\"\\n },\\n \\\"href\\\" : \\\"https://api.spotify.com/v1/artists/0LcJLqbBmaGUft1e9Mm8HV\\\",\\n \\\"id\\\" : \\\"0LcJLqbBmaGUft1e9Mm8HV\\\",\\n \\\"name\\\" : \\\"ABBA\\\",\\n \\\"type\\\" : \\\"artist\\\",\\n \\\"uri\\\" : \\\"spotify:artist:0LcJLqbBmaGUft1e9Mm8HV\\\"\\n } ],\\n \\\"disc_number\\\" : 1,\\n \\\"duration_ms\\\" : 168826,\\n \\\"explicit\\\" : false,\\n \\\"external_ids\\\" : {\\n \\\"isrc\\\" : \\\"SEAYD7415010\\\"\\n },\\n \\\"external_urls\\\" : {\\n \\\"spotify\\\" : \\\"https://open.spotify.com/track/0RzhMHIsFMbOGh0oWDvNNK\\\"\\n },\\n \\\"href\\\" : \\\"https://api.spotify.com/v1/tracks/0RzhMHIsFMbOGh0oWDvNNK\\\",\\n \\\"id\\\" : \\\"0RzhMHIsFMbOGh0oWDvNNK\\\",\\n \\\"is_local\\\" : false,\\n \\\"is_playable\\\" : true,\\n \\\"name\\\" : \\\"Waterloo\\\",\\n \\\"popularity\\\" : 55,\\n \\\"preview_url\\\" : null,\\n \\\"track_number\\\" : 1,\\n \\\"type\\\" : \\\"track\\\",\\n \\\"uri\\\" : \\\"spotify:track:0RzhMHIsFMbOGh0oWDvNNK\\\"\\n }, {\\n \\\"album\\\" : {\\n \\\"album_type\\\" : \\\"compilation\\\",\\n \\\"artists\\\" : [ {\\n \\\"external_urls\\\" : {\\n \\\"spotify\\\" : \\\"https://open.spotify.com/artist/0LcJLqbBmaGUft1e9Mm8HV\\\"\\n },\\n \\\"href\\\" : \\\"https://api.spotify.com/v1/artists/0LcJLqbBmaGUft1e9Mm8HV\\\",\\n \\\"id\\\" : \\\"0LcJLqbBmaGUft1e9Mm8HV\\\",\\n \\\"name\\\" : \\\"ABBA\\\",\\n \\\"type\\\" : \\\"artist\\\",\\n \\\"uri\\\" : \\\"spotify:artist:0LcJLqbBmaGUft1e9Mm8HV\\\"\\n } ],\\n \\\"external_urls\\\" : {\\n \\\"spotify\\\" : \\\"https://open.spotify.com/album/2cKZfaz7GiGtZEeQNj1RyR\\\"\\n },\\n \\\"href\\\" : \\\"https://api.spotify.com/v1/albums/2cKZfaz7GiGtZEeQNj1RyR\\\",\\n \\\"id\\\" : \\\"2cKZfaz7GiGtZEeQNj1RyR\\\",\\n \\\"images\\\" : [ {\\n \\\"height\\\" : 640,\\n \\\"url\\\" : \\\"https://i.scdn.co/image/ac59fc95d6f80b304ff4ab07c85d88a9d53fe9dd\\\",\\n \\\"width\\\" : 640\\n }, {\\n \\\"height\\\" : 300,\\n \\\"url\\\" : \\\"https://i.scdn.co/image/64e4b762ac4d85f69e13b31a87300e3dbd838c4c\\\",\\n \\\"width\\\" : 300\\n }, {\\n \\\"height\\\" : 64,\\n \\\"url\\\" : \\\"https://i.scdn.co/image/e082db092807a026ec6eb79ec540411d8392e2bc\\\",\\n \\\"width\\\" : 64\\n } ],\\n \\\"name\\\" : \\\"ABBA Gold\\\",\\n \\\"release_date\\\" : \\\"2008-01-01\\\",\\n \\\"release_date_precision\\\" : \\\"day\\\",\\n \\\"total_tracks\\\" : 19,\\n \\\"type\\\" : \\\"album\\\",\\n \\\"uri\\\" : \\\"spotify:album:2cKZfaz7GiGtZEeQNj1RyR\\\"\\n },\\n \\\"artists\\\" : [ {\\n \\\"external_urls\\\" : {\\n \\\"spotify\\\" : \\\"https://open.spotify.com/artist/0LcJLqbBmaGUft1e9Mm8HV\\\"\\n },\\n \\\"href\\\" : \\\"https://api.spotify.com/v1/artists/0LcJLqbBmaGUft1e9Mm8HV\\\",\\n \\\"id\\\" : \\\"0LcJLqbBmaGUft1e9Mm8HV\\\",\\n \\\"name\\\" : \\\"ABBA\\\",\\n \\\"type\\\" : \\\"artist\\\",\\n \\\"uri\\\" : \\\"spotify:artist:0LcJLqbBmaGUft1e9Mm8HV\\\"\\n } ],\\n \\\"disc_number\\\" : 1,\\n \\\"duration_ms\\\" : 231093,\\n \\\"explicit\\\" : false,\\n \\\"external_ids\\\" : {\\n \\\"isrc\\\" : \\\"SEAYD7601020\\\"\\n },\\n \\\"external_urls\\\" : {\\n \\\"spotify\\\" : \\\"https://open.spotify.com/track/2ATDkfqprlNNe9mYWodgdc\\\"\\n },\\n \\\"href\\\" : \\\"https://api.spotify.com/v1/tracks/2ATDkfqprlNNe9mYWodgdc\\\",\\n \\\"id\\\" : \\\"2ATDkfqprlNNe9mYWodgdc\\\",\\n \\\"is_local\\\" : false,\\n \\\"is_playable\\\" : true,\\n \\\"name\\\" : \\\"Dancing Queen\\\",\\n \\\"popularity\\\" : 59,\\n \\\"preview_url\\\" : null,\\n \\\"track_number\\\" : 1,\\n \\\"type\\\" : \\\"track\\\",\\n \\\"uri\\\" : \\\"spotify:track:2ATDkfqprlNNe9mYWodgdc\\\"\\n }, {\\n \\\"album\\\" : {\\n \\\"album_type\\\" : \\\"album\\\",\\n \\\"artists\\\" : [ {\\n \\\"external_urls\\\" : {\\n \\\"spotify\\\" : \\\"https://open.spotify.com/artist/0LcJLqbBmaGUft1e9Mm8HV\\\"\\n },\\n \\\"href\\\" : \\\"https://api.spotify.com/v1/artists/0LcJLqbBmaGUft1e9Mm8HV\\\",\\n \\\"id\\\" : \\\"0LcJLqbBmaGUft1e9Mm8HV\\\",\\n \\\"name\\\" : \\\"ABBA\\\",\\n \\\"type\\\" : \\\"artist\\\",\\n \\\"uri\\\" : \\\"spotify:artist:0LcJLqbBmaGUft1e9Mm8HV\\\"\\n } ],\\n \\\"external_urls\\\" : {\\n \\\"spotify\\\" : \\\"https://open.spotify.com/album/5PVuX09frPq7AMYkkdcDfR\\\"\\n },\\n \\\"href\\\" : \\\"https://api.spotify.com/v1/albums/5PVuX09frPq7AMYkkdcDfR\\\",\\n \\\"id\\\" : \\\"5PVuX09frPq7AMYkkdcDfR\\\",\\n \\\"images\\\" : [ {\\n \\\"height\\\" : 573,\\n \\\"url\\\" : \\\"https://i.scdn.co/image/b0307cd408f497243171826c19994ea124197cb7\\\",\\n \\\"width\\\" : 640\\n }, {\\n \\\"height\\\" : 268,\\n \\\"url\\\" : \\\"https://i.scdn.co/image/ccb216e53163aefacc95be1029b36f570af1cd7b\\\",\\n \\\"width\\\" : 299\\n }, {\\n \\\"height\\\" : 57,\\n \\\"url\\\" : \\\"https://i.scdn.co/image/c3fb7f460df28495cbb2f741eeb4672749b7f311\\\",\\n \\\"width\\\" : 64\\n } ],\\n \\\"name\\\" : \\\"Super Trouper\\\",\\n \\\"release_date\\\" : \\\"1980\\\",\\n \\\"release_date_precision\\\" : \\\"year\\\",\\n \\\"total_tracks\\\" : 12,\\n \\\"type\\\" : \\\"album\\\",\\n \\\"uri\\\" : \\\"spotify:album:5PVuX09frPq7AMYkkdcDfR\\\"\\n },\\n \\\"artists\\\" : [ {\\n \\\"external_urls\\\" : {\\n \\\"spotify\\\" : \\\"https://open.spotify.com/artist/0LcJLqbBmaGUft1e9Mm8HV\\\"\\n },\\n \\\"href\\\" : \\\"https://api.spotify.com/v1/artists/0LcJLqbBmaGUft1e9Mm8HV\\\",\\n \\\"id\\\" : \\\"0LcJLqbBmaGUft1e9Mm8HV\\\",\\n \\\"name\\\" : \\\"ABBA\\\",\\n \\\"type\\\" : \\\"artist\\\",\\n \\\"uri\\\" : \\\"spotify:artist:0LcJLqbBmaGUft1e9Mm8HV\\\"\\n } ],\\n \\\"disc_number\\\" : 1,\\n \\\"duration_ms\\\" : 254600,\\n \\\"explicit\\\" : false,\\n \\\"external_ids\\\" : {\\n \\\"isrc\\\" : \\\"SEAYD8001010\\\"\\n },\\n \\\"external_urls\\\" : {\\n \\\"spotify\\\" : \\\"https://open.spotify.com/track/2nMghZvtLx6DDgTEHEsb4w\\\"\\n },\\n \\\"href\\\" : \\\"https://api.spotify.com/v1/tracks/2nMghZvtLx6DDgTEHEsb4w\\\",\\n \\\"id\\\" : \\\"2nMghZvtLx6DDgTEHEsb4w\\\",\\n \\\"is_local\\\" : false,\\n \\\"is_playable\\\" : true,\\n \\\"name\\\" : \\\"Super Trouper\\\",\\n \\\"popularity\\\" : 54,\\n \\\"preview_url\\\" : null,\\n \\\"track_number\\\" : 1,\\n \\\"type\\\" : \\\"track\\\",\\n \\\"uri\\\" : \\\"spotify:track:2nMghZvtLx6DDgTEHEsb4w\\\"\\n }, {\\n \\\"album\\\" : {\\n \\\"album_type\\\" : \\\"album\\\",\\n \\\"artists\\\" : [ {\\n \\\"external_urls\\\" : {\\n \\\"spotify\\\" : \\\"https://open.spotify.com/artist/0LcJLqbBmaGUft1e9Mm8HV\\\"\\n },\\n \\\"href\\\" : \\\"https://api.spotify.com/v1/artists/0LcJLqbBmaGUft1e9Mm8HV\\\",\\n \\\"id\\\" : \\\"0LcJLqbBmaGUft1e9Mm8HV\\\",\\n \\\"name\\\" : \\\"ABBA\\\",\\n \\\"type\\\" : \\\"artist\\\",\\n \\\"uri\\\" : \\\"spotify:artist:0LcJLqbBmaGUft1e9Mm8HV\\\"\\n } ],\\n \\\"external_urls\\\" : {\\n \\\"spotify\\\" : \\\"https://open.spotify.com/album/1M4anG49aEs4YimBdj96Oy\\\"\\n },\\n \\\"href\\\" : \\\"https://api.spotify.com/v1/albums/1M4anG49aEs4YimBdj96Oy\\\",\\n \\\"id\\\" : \\\"1M4anG49aEs4YimBdj96Oy\\\",\\n \\\"images\\\" : [ {\\n \\\"height\\\" : 575,\\n \\\"url\\\" : \\\"https://i.scdn.co/image/361387b8f4297afda0394896aeb1f315b3fbad0b\\\",\\n \\\"width\\\" : 640\\n }, {\\n \\\"height\\\" : 270,\\n \\\"url\\\" : \\\"https://i.scdn.co/image/803de302874cdff3ecbd531ecfd7585793c6b7c1\\\",\\n \\\"width\\\" : 300\\n }, {\\n \\\"height\\\" : 57,\\n \\\"url\\\" : \\\"https://i.scdn.co/image/c43883a6978668e0636d96887cf43ddbb6b5965d\\\",\\n \\\"width\\\" : 63\\n } ],\\n \\\"name\\\" : \\\"Arrival\\\",\\n \\\"release_date\\\" : \\\"1976\\\",\\n \\\"release_date_precision\\\" : \\\"year\\\",\\n \\\"total_tracks\\\" : 12,\\n \\\"type\\\" : \\\"album\\\",\\n \\\"uri\\\" : \\\"spotify:album:1M4anG49aEs4YimBdj96Oy\\\"\\n },\\n \\\"artists\\\" : [ {\\n \\\"external_urls\\\" : {\\n \\\"spotify\\\" : \\\"https://open.spotify.com/artist/0LcJLqbBmaGUft1e9Mm8HV\\\"\\n },\\n \\\"href\\\" : \\\"https://api.spotify.com/v1/artists/0LcJLqbBmaGUft1e9Mm8HV\\\",\\n \\\"id\\\" : \\\"0LcJLqbBmaGUft1e9Mm8HV\\\",\\n \\\"name\\\" : \\\"ABBA\\\",\\n \\\"type\\\" : \\\"artist\\\",\\n \\\"uri\\\" : \\\"spotify:artist:0LcJLqbBmaGUft1e9Mm8HV\\\"\\n } ],\\n \\\"disc_number\\\" : 1,\\n \\\"duration_ms\\\" : 255533,\\n \\\"explicit\\\" : false,\\n \\\"external_ids\\\" : {\\n \\\"isrc\\\" : \\\"SEAYD7602070\\\"\\n },\\n \\\"external_urls\\\" : {\\n \\\"spotify\\\" : \\\"https://open.spotify.com/track/1IxDBsZdVMhfkLqrZjARpk\\\"\\n },\\n \\\"href\\\" : \\\"https://api.spotify.com/v1/tracks/1IxDBsZdVMhfkLqrZjARpk\\\",\\n \\\"id\\\" : \\\"1IxDBsZdVMhfkLqrZjARpk\\\",\\n \\\"is_local\\\" : false,\\n \\\"is_playable\\\" : true,\\n \\\"name\\\" : \\\"Fernando\\\",\\n \\\"popularity\\\" : 54,\\n \\\"preview_url\\\" : null,\\n \\\"track_number\\\" : 11,\\n \\\"type\\\" : \\\"track\\\",\\n \\\"uri\\\" : \\\"spotify:track:1IxDBsZdVMhfkLqrZjARpk\\\"\\n }, {\\n \\\"album\\\" : {\\n \\\"album_type\\\" : \\\"album\\\",\\n \\\"artists\\\" : [ {\\n \\\"external_urls\\\" : {\\n \\\"spotify\\\" : \\\"https://open.spotify.com/artist/0LcJLqbBmaGUft1e9Mm8HV\\\"\\n },\\n \\\"href\\\" : \\\"https://api.spotify.com/v1/artists/0LcJLqbBmaGUft1e9Mm8HV\\\",\\n \\\"id\\\" : \\\"0LcJLqbBmaGUft1e9Mm8HV\\\",\\n \\\"name\\\" : \\\"ABBA\\\",\\n \\\"type\\\" : \\\"artist\\\",\\n \\\"uri\\\" : \\\"spotify:artist:0LcJLqbBmaGUft1e9Mm8HV\\\"\\n } ],\\n \\\"external_urls\\\" : {\\n \\\"spotify\\\" : \\\"https://open.spotify.com/album/0zdZSyxWaYmaRMPeUHcG1K\\\"\\n },\\n \\\"href\\\" : \\\"https://api.spotify.com/v1/albums/0zdZSyxWaYmaRMPeUHcG1K\\\",\\n \\\"id\\\" : \\\"0zdZSyxWaYmaRMPeUHcG1K\\\",\\n \\\"images\\\" : [ {\\n \\\"height\\\" : 575,\\n \\\"url\\\" : \\\"https://i.scdn.co/image/9a06fe3059762156cff0ea02053592bb625f9350\\\",\\n \\\"width\\\" : 640\\n }, {\\n \\\"height\\\" : 270,\\n \\\"url\\\" : \\\"https://i.scdn.co/image/51bba354b425161d4f07a35a14bb4971646892a0\\\",\\n \\\"width\\\" : 300\\n }, {\\n \\\"height\\\" : 57,\\n \\\"url\\\" : \\\"https://i.scdn.co/image/a33d19704f08f5651000c866d7fb00117d3af44d\\\",\\n \\\"width\\\" : 63\\n } ],\\n \\\"name\\\" : \\\"Voulez-Vous\\\",\\n \\\"release_date\\\" : \\\"1979\\\",\\n \\\"release_date_precision\\\" : \\\"year\\\",\\n \\\"total_tracks\\\" : 13,\\n \\\"type\\\" : \\\"album\\\",\\n \\\"uri\\\" : \\\"spotify:album:0zdZSyxWaYmaRMPeUHcG1K\\\"\\n },\\n \\\"artists\\\" : [ {\\n \\\"external_urls\\\" : {\\n \\\"spotify\\\" : \\\"https://open.spotify.com/artist/0LcJLqbBmaGUft1e9Mm8HV\\\"\\n },\\n \\\"href\\\" : \\\"https://api.spotify.com/v1/artists/0LcJLqbBmaGUft1e9Mm8HV\\\",\\n \\\"id\\\" : \\\"0LcJLqbBmaGUft1e9Mm8HV\\\",\\n \\\"name\\\" : \\\"ABBA\\\",\\n \\\"type\\\" : \\\"artist\\\",\\n \\\"uri\\\" : \\\"spotify:artist:0LcJLqbBmaGUft1e9Mm8HV\\\"\\n } ],\\n \\\"disc_number\\\" : 1,\\n \\\"duration_ms\\\" : 327040,\\n \\\"explicit\\\" : false,\\n \\\"external_ids\\\" : {\\n \\\"isrc\\\" : \\\"SEAYD7901080\\\"\\n },\\n \\\"external_urls\\\" : {\\n \\\"spotify\\\" : \\\"https://open.spotify.com/track/4g5LUzHFRr4Zlok8KzERmI\\\"\\n },\\n \\\"href\\\" : \\\"https://api.spotify.com/v1/tracks/4g5LUzHFRr4Zlok8KzERmI\\\",\\n \\\"id\\\" : \\\"4g5LUzHFRr4Zlok8KzERmI\\\",\\n \\\"is_local\\\" : false,\\n \\\"is_playable\\\" : true,\\n \\\"name\\\" : \\\"Chiquitita\\\",\\n \\\"popularity\\\" : 54,\\n \\\"preview_url\\\" : null,\\n \\\"track_number\\\" : 8,\\n \\\"type\\\" : \\\"track\\\",\\n \\\"uri\\\" : \\\"spotify:track:4g5LUzHFRr4Zlok8KzERmI\\\"\\n } ],\\n \\\"limit\\\" : 10,\\n \\\"next\\\" : \\\"https://api.spotify.com/v1/search?query=abba&type=track&market=US&offset=10&limit=10\\\",\\n \\\"offset\\\" : 0,\\n \\\"previous\\\" : null,\\n \\\"total\\\" : 9278\\n }\\n}\"" }) ``` ..although that error isn't too helpful - the error from `serde_json::from_str` is `missing field 'available_markets'` I think this is intended behavior of the API, at least based on this page https://developer.spotify.com/documentation/general/guides/track-relinking-guide/ > There are a number of important differences between the response you get with and without the market query parameter. > > When the market parameter is supplied: > > - The `available_markets` property in the Track object is replaced by the `is_playable` property. (Since the request contains the `market` query parameter, there’s no need for the `available_markets` property to determine if the user can play the track or not.) > - [...] In my case workaround is easy, just don;t specify `market` as I don't need this functionality Occurring with version 0.2.5 and master as of f8463a302f1df9393cf4e05a27252ffd2b3ff2c3
kerem closed this issue 2026-02-27 20:22:36 +03:00
Author
Owner

@marioortizmanero commented on GitHub (Sep 25, 2021):

Just cleaning up issues. This is fixed in master now; available_markets has #[serde(default)] and is_playable is an Option<T>

<!-- gh-comment-id:927183525 --> @marioortizmanero commented on GitHub (Sep 25, 2021): Just cleaning up issues. This is fixed in `master` now; `available_markets` has `#[serde(default)]` and `is_playable` is an `Option<T>`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/rspotify#12
No description provided.