Switch to main #1
6
dist/start.js
vendored
6
dist/start.js
vendored
@ -237,8 +237,12 @@ async function weeklySpotifyHandler() {
|
||||
)
|
||||
) {
|
||||
createdPlaylists[currentPlaylistInternalId].tracks.push(track.uri);
|
||||
console.log(`Adding ${lastfmTrack.name}} to ${currentPlaylistInternalId}`)
|
||||
newTracksToAdd.push(track.uri);
|
||||
}
|
||||
else {
|
||||
console.log(`Skipping ${lastfmTrack.name}}, already added to ${currentPlaylistInternalId}`)
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -262,5 +266,3 @@ setInterval(() => {
|
||||
weeklySpotifyHandler();
|
||||
}
|
||||
}, 1000 * 60 * 30); // Every 30 minutes
|
||||
|
||||
weeklySpotifyHandler();
|
||||
Loading…
x
Reference in New Issue
Block a user