Removed testings that coused errors
authorRemixDev <deezloaderremix@gmail.com>
Mon, 4 Feb 2019 19:59:50 +0000 (20:59 +0100)
committerRemixDev <deezloaderremix@gmail.com>
Mon, 4 Feb 2019 19:59:50 +0000 (20:59 +0100)
app/app.js

index caad0adf54c30224b7d73bff9cd8fcb551d00c4a..0480b334b8611595f40bc0e6510b5686e8c0e48b 100644 (file)
@@ -577,7 +577,7 @@ io.sockets.on('connection', function (s) {
                                var numPages=Math.floor((_playlist.size-1)/100)
                                var trackList = new Array(_playlist.size)
                                do{
-                                       var resp = await Spotify.getPlaylistTracks(data.id, {fields: "items(track(artists,name,album,external_ids))", offset: offset*100+1})
+                                       var resp = await Spotify.getPlaylistTracks(data.id, {fields: "items(track(artists,name,album,external_ids))", offset: offset*100})
                                        resp.body.items.forEach((track, i) => {
                                                trackList[i+(offset*100)] = track.track
                                        })