Updates faster woohoo!

This commit is contained in:
bingus_violet 2024-06-10 15:50:41 -05:00
parent 4c8dba8723
commit 4a9dd40fee

View file

@ -166,7 +166,13 @@ function socketeer() {
if (lastSong != spotify.track_id) {
lastSong = spotify.track_id
station.addFolder(songPath)
const removeSongs = (list) => list
.filter(track => track.fsStats.fullPath !== songPath);
station.reorderPlaylist(removeSongs)
station.start()
station.next()
}
} else {
console.log(spotify)