Helper tool for stitching together livestream VOD segments and uploading them to YouTube!
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix progress indicator (whoops lol)

+1 -1
+1 -1
youtube/youtube.go
··· 224 224 // for some reason, this only returns 0. 225 225 // instead, we pull the file size from the ffmpeg output directly. 226 226 if total == 0 { total = video.SizeBytes } 227 - fmt.Printf("Uploading... (%.2f%%)\n", float64(current) / float64(total)) 227 + fmt.Printf("Uploading... (%.2f%%)\n", float64(current) / float64(total) * 100) 228 228 }) 229 229 ytVideo, err := call.Do() 230 230 if err != nil {