Fix mp3 config

This commit is contained in:
Justin Hawkins 2021-09-30 23:48:05 +09:30
parent cf7ae66d0d
commit d47e2af2a4

View File

@ -44,9 +44,10 @@ func DefaultConfig() *Config {
"bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best",
}}
mp3Profile := DownloadProfile{Name: "standard mp3", Command: "youtube-dl", Args: []string{
"extract-audio",
"--newline",
"--write-info-json",
"--extract-audio",
"--audio-format", "mp3",
"--prefer-ffmpeg",
}}
defaultConfig.DownloadProfiles = append(defaultConfig.DownloadProfiles, stdProfile)