From 9c35d5cf36c86f3e89062efffbb717b696131999 Mon Sep 17 00:00:00 2001 From: abs3nt Date: Thu, 19 Jan 2023 11:33:54 -0800 Subject: [PATCH] remove AHHHH --- src/commands/commands.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/commands/commands.go b/src/commands/commands.go index 101172d..60067c5 100644 --- a/src/commands/commands.go +++ b/src/commands/commands.go @@ -461,7 +461,6 @@ func RefillRadio(ctx *gctx.Context, client *spotify.Client) error { _, err = client.RemoveTracksFromPlaylist(ctx, radioPlaylist.ID, trackGroups...) } to_add := 500 - (playlistItems.Total - len(to_remove)) - fmt.Println("TO ADD", to_add) rand.Seed(time.Now().Unix()) playlistItems, err = client.GetPlaylistItems(ctx, radioPlaylist.ID) if err != nil { @@ -514,12 +513,9 @@ func RefillRadio(ctx *gctx.Context, client *spotify.Client) error { all_recs[rec] = struct{}{} queue = append(queue, rec) } - fmt.Println("AHHHHHHH", len(queue)) to_add -= len(queue) _, err = client.AddTracksToPlaylist(ctx, radioPlaylist.ID, queue...) if err != nil { - - fmt.Println("AHHH ERROR ONE") return err } err = client.Repeat(ctx, "context")