replace progress percentage with actual file size
This commit is contained in:
15
app/types.go
15
app/types.go
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user