spotify-api.js
spotify-api.js copied to clipboard
Podcast track returning null
Bug Report
What i expected:
const test = await spot.playlists.getTracks("0vRxeAksQ8ppt6TzxGV7qG");
console.log(`🚀 ~ loadPodcastInfos ~ test`, test);
Expected output: https://developer.spotify.com/console/get-playlist-tracks/
"items": [
{
"added_at": "2022-05-11T19:49:45Z",
"added_by": {
"external_urls": {
"spotify": "https://open.spotify.com/user/6xq5zvte0qs0lytr6ccb5wne8"
},
"href": "https://api.spotify.com/v1/users/6xq5zvte0qs0lytr6ccb5wne8",
"id": "6xq5zvte0qs0lytr6ccb5wne8",
"type": "user",
"uri": "spotify:user:6xq5zvte0qs0lytr6ccb5wne8"
},
"is_local": false,
"primary_color": null,
"track": {
"album": {
"album_type": "compilation",
"artists": [
{
"external_urls": {
"spotify": "https://open.spotify.com/show/79CkJF3UJTHFV8Dse3Oy0P"
},
"href": "https://api.spotify.com/v1/shows/79CkJF3UJTHFV8Dse3Oy0P",
"id": "79CkJF3UJTHFV8Dse3Oy0P",
"name": "Huberman Lab",
"type": "show",
"uri": "spotify:show:79CkJF3UJTHFV8Dse3Oy0P"
}
What actually happened:
track:null
To reproduce this bug:
-
Node Version: 18.3
-
Library Version: 9.2.1
-
[] I have already checked issues regarding this bug.
-
[] This problem is generated due to version migration.
It works very well. And, by the way use the new version of v9.2.2 where it is fixed.
Closing this as the issue is fixed. If you face further issues, create a new issue.