From 45966d40aeb19b8e92d446d2bee052e1a8cc58d7 Mon Sep 17 00:00:00 2001 From: ari melody Date: Fri, 30 Jan 2026 14:45:58 +0000 Subject: [PATCH] fix progress indicator (whoops lol) --- youtube/youtube.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube/youtube.go b/youtube/youtube.go index 4a16f91..4e50d4c 100644 --- a/youtube/youtube.go +++ b/youtube/youtube.go @@ -224,7 +224,7 @@ func UploadVideo(ctx context.Context, token *oauth2.Token, video *Video) (*youtu // for some reason, this only returns 0. // instead, we pull the file size from the ffmpeg output directly. if total == 0 { total = video.SizeBytes } - fmt.Printf("Uploading... (%.2f%%)\n", float64(current) / float64(total)) + fmt.Printf("Uploading... (%.2f%%)\n", float64(current) / float64(total) * 100) }) ytVideo, err := call.Do() if err != nil {