replace progress percentage with actual file size

This commit is contained in:
2026-03-04 23:58:11 -05:00
parent 3cac63ba82
commit 481c8d9bb6
4 changed files with 93 additions and 68 deletions

View File

@@ -1,11 +1,5 @@
package main
import (
"time"
"github.com/lrstanley/go-ytdlp"
)
type DownloadOptions struct {
EmbedThumbnail bool
IncludeSubtitles bool
@@ -35,12 +29,9 @@ type FormatOptions struct {
}
type ProgressUpdate struct {
Status ytdlp.ProgressStatus
Percent string
PercentFloat float64
ETA time.Duration
Filename string
Phase string
Phase string
DownloadedBytes int
Filename string
}
// InteractionState holds the state for a specific interaction