Fix mp3 config
This commit is contained in:
parent
cf7ae66d0d
commit
d47e2af2a4
@ -44,9 +44,10 @@ func DefaultConfig() *Config {
|
|||||||
"bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best",
|
"bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best",
|
||||||
}}
|
}}
|
||||||
mp3Profile := DownloadProfile{Name: "standard mp3", Command: "youtube-dl", Args: []string{
|
mp3Profile := DownloadProfile{Name: "standard mp3", Command: "youtube-dl", Args: []string{
|
||||||
"–extract-audio",
|
"--newline",
|
||||||
|
"--write-info-json",
|
||||||
|
"--extract-audio",
|
||||||
"--audio-format", "mp3",
|
"--audio-format", "mp3",
|
||||||
"--prefer-ffmpeg",
|
|
||||||
}}
|
}}
|
||||||
|
|
||||||
defaultConfig.DownloadProfiles = append(defaultConfig.DownloadProfiles, stdProfile)
|
defaultConfig.DownloadProfiles = append(defaultConfig.DownloadProfiles, stdProfile)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user