Skip to content

Commit

Permalink
fix(download): add missing params
Browse files Browse the repository at this point in the history
  • Loading branch information
Darkness4 committed Jun 9, 2024
1 parent b937a17 commit b3878a3
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion cmd/download/download_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,22 @@ Available format options:
},
&cli.IntFlag{
Name: "wait-for-quality-max-tries",
Value: 20,
Value: 60,
Usage: "If the requested quality is not available, keep retrying before falling back to the next best quality.",
Destination: &downloadParams.WaitForQualityMaxTries,
},
&cli.BoolFlag{
Name: "allow-quality-upgrade",
Value: false,
Usage: "If the requested quality is not available, allow upgrading to a better quality.",
Destination: &downloadParams.AllowQualityUpgrade,
},
&cli.DurationFlag{
Name: "poll-quality-upgrade-interval",
Value: 10 * time.Second,
Usage: "How many seconds between checks to see if a better quality is available.",
Destination: &downloadParams.PollQualityUpgradeInterval,
},
&cli.DurationFlag{
Name: "poll-interval",
Value: 5 * time.Second,
Expand Down

0 comments on commit b3878a3

Please sign in to comment.