This album, American Heartbreak by Zach Bryan, has 34 tracks.
const res = await CLIENT.albums.getTracks('7IouDrXPdAZwT1NzVV3vef');
console.log(res.length);
>> 34
What actually happened:
>> 20
The function is only returning the first 20, which is the Spotify web API's default limit. The getTracks method doesn't have options to increase the limit.
To reproduce this bug:
Node Version: v20.12.2
Library Version: v9.2.5
[x] I have already checked issues regarding this bug.
Bug Report
What i expected:
This album, American Heartbreak by Zach Bryan, has 34 tracks.
>> 34
What actually happened:
>> 20
The function is only returning the first 20, which is the Spotify web API's default limit. The
getTracks
method doesn't have options to increase the limit.To reproduce this bug:
Node Version: v20.12.2
Library Version: v9.2.5
[x] I have already checked issues regarding this bug.