Skip to content

Commit

Permalink
Ignore tracks without an ID
Browse files Browse the repository at this point in the history
  • Loading branch information
I-Al-Istannen committed Jun 16, 2020
1 parent f5dbef9 commit cc6151f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ class Downloader(
)

spotifyTrackFetcher.getPlaylistTracksFromLink(playlistLink)
.map { it.track }
.map { it.track }
.filter { it.id != null }
.map {
DownloadingTrack.newInstance(
Status.QUEUED,
Expand Down

0 comments on commit cc6151f

Please sign in to comment.