Skip to content

Commit

Permalink
Merge pull request #4 from kalpik/main
Browse files Browse the repository at this point in the history
Skip processing empty playlists
  • Loading branch information
Zibbp authored Dec 4, 2024
2 parents afd90f6 + d55fbb0 commit 32ea29b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions convert/spotify_tidal.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ func (s *Service) SpotifyToTidal(saveMissingTracks bool, saveTidalPlaylist bool,

if dbPlaylist == "" {
log.Warn().Str("name", spotifyPlaylist.Name).Str("id", spotifyPlaylist.ID.String()).Msgf("playlist is empty, skipping")
continue
}

// get all local database tracks
Expand Down

0 comments on commit 32ea29b

Please sign in to comment.