remove debug prints oopsie
This commit is contained in:
parent
6667e85e4c
commit
0b21f3df9d
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user