Weeb-Devs / Laffey

An adorable lavalink discord music bot that has a lot of features inside it.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Increase Spotify Album/Playlist limit

getxd-dev opened this issue · comments

commented

Is there a way to increase Spotify Album/Playlist limit, cuz it only plays first page which is the first 100 songs.

yes you can, add playlistLimit and albumLimit to the option here

plugins: [new spotify({clientID: SPOTIFY_CLIENT_ID, clientSecret: SPOTIFY_CLIENT_SECRET}), new deezer()],

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

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?

commented

Capture

Also, TrackStuckEvent randomly happening if the song/queue ended

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

Capture

Also, TrackStuckEvent randomly happening if the song/queue ended

that issue is from the lavalink server itself

commented

fixed it.