cleanup code

This commit is contained in:
stefanodvx 2025-04-15 10:46:54 +02:00
parent 26452d0f53
commit c06c7958e2
10 changed files with 64 additions and 14 deletions

View file

@ -1,6 +1,9 @@
package models
import "context"
type DownloadContext struct {
Context context.Context
MatchedContentID string
MatchedContentURL string
MatchedGroups map[string]string

View file

@ -11,4 +11,5 @@ type DownloadConfig struct {
RetryDelay time.Duration // delay between retries
Remux bool // whether to remux the downloaded file with ffmpeg
ProgressUpdater func(float64) // optional function to report download progress
MaxInMemory int // maximum file size for in-memory downloads
}