Skip to content

Commit

Permalink
chore: remove queue download from meta download
Browse files Browse the repository at this point in the history
  • Loading branch information
mbaraa authored May 24, 2024
1 parent 51fefd7 commit 57d5ec3
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions services/youtube/download/download.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,5 @@ func (d *Service) DownloadYoutubeSongsMetadata(songs []entities.Song) error {
}
}

for i := 0; i < int(math.Min(float64(len(songs)), 5)); i++ {
err := d.DownloadYoutubeSongQueue(songs[i].YtId)
if err != nil {
log.Errorln(err)
}
}

return nil
}

0 comments on commit 57d5ec3

Please sign in to comment.