diff --git a/MyMusicClientSveltePwa/src/lib/scripts/playbackService.js b/MyMusicClientSveltePwa/src/lib/scripts/playbackService.js index de6188c..cd03876 100644 --- a/MyMusicClientSveltePwa/src/lib/scripts/playbackService.js +++ b/MyMusicClientSveltePwa/src/lib/scripts/playbackService.js @@ -169,7 +169,7 @@ export function updateCurrentPlaylist(playlistId){ if (currentPlaylistId === playlistId) { // update current playlist originalPlaylistSongs = getCachedPlaylistSongs(playlistId); - + playlistSongs = originalPlaylistSongs; // Todo get the difference between originalPlaylistSongs and playlistSongs // and update playlistSongs accordingly if shuffle is enabled return; // Already set to this playlist @@ -180,7 +180,7 @@ export function setPlaylists(playlistId) { if (currentPlaylistId === playlistId) { // update current playlist originalPlaylistSongs = getCachedPlaylistSongs(playlistId); - + playlistSongs = originalPlaylistSongs; // Todo get the difference between originalPlaylistSongs and playlistSongs // and update playlistSongs accordingly if shuffle is enabled return; // Already set to this playlist