revert quoting paths

This commit is contained in:
Niko Storni 2019-07-22 02:51:13 +02:00
parent 8f556a86c8
commit 0c47510785

View file

@ -203,7 +203,7 @@ func (v *YoutubeVideo) download(useIPv6 bool) error {
fmt.Sprintf("%dM", v.maxVideoSize), fmt.Sprintf("%dM", v.maxVideoSize),
"--match-filter", "--match-filter",
fmt.Sprintf("duration <= %d", int(math.Round(v.maxVideoLength*3600))), fmt.Sprintf("duration <= %d", int(math.Round(v.maxVideoLength*3600))),
"-o\"" + strings.TrimSuffix(v.getFullPath(), ".mp4") + "\"", "-o" + strings.TrimSuffix(v.getFullPath(), ".mp4"),
"--merge-output-format", "--merge-output-format",
"mp4", "mp4",
"--abort-on-unavailable-fragment", "--abort-on-unavailable-fragment",