remove debug prints oopsie
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful

This commit is contained in:
abs3nt 2023-01-25 17:58:56 -08:00
parent 6667e85e4c
commit 0b21f3df9d

View File

@ -259,7 +259,6 @@ func PlayLikedSongs(ctx *gctx.Context, client *spotify.Client, position int) err
for _, song := range songs.Tracks { for _, song := range songs.Tracks {
to_add = append(to_add, song.ID) to_add = append(to_add, song.ID)
} }
fmt.Println(len(to_add))
_, err = client.AddTracksToPlaylist(ctx, playlist.ID, to_add...) _, err = client.AddTracksToPlaylist(ctx, playlist.ID, to_add...)
if err != nil { if err != nil {
fmt.Println(err.Error()) fmt.Println(err.Error())
@ -612,7 +611,6 @@ func RefillRadio(ctx *gctx.Context, client *spotify.Client) error {
queue = append(queue, song.ID) queue = append(queue, song.ID)
} }
} }
fmt.Println(to_add, len(additionalRecsIds))
to_add -= len(queue) to_add -= len(queue)
_, err = client.AddTracksToPlaylist(ctx, radioPlaylist.ID, additionalRecsIds...) _, err = client.AddTracksToPlaylist(ctx, radioPlaylist.ID, additionalRecsIds...)
if err != nil { if err != nil {