Increase Spotify Album/Playlist limit
getxd-dev opened this issue · 6 comments
getxd-dev commented
Is there a way to increase Spotify Album/Playlist limit, cuz it only plays first page which is the first 100 songs.
Takiyo0 commented
yes you can, add playlistLimit and albumLimit to the option here
Line 16 in eb9d428
So it'll be like this
new spotify({clientID: SPOTIFY_CLIENT_ID, clientSecret: SPOTIFY_CLIENT_SECRET, playlistLimit: 5, albumLimit: 5})
this will load 500 tracks
getxd-dev commented
For some reason it doesn't work for me, still plays first page (first 100 songs). Maybe is it because I'm using better-erela.js-spotify?
getxd-dev commented
Takiyo0 commented
For some reason it doesn't work for me, still plays first page (first 100 songs). Maybe is it because I'm using better-erela.js-spotify?
yes since it's a different module, we're using erela.js-spotify
and not better-erela.js-spotify
Takiyo0 commented
getxd-dev commented
fixed it.