Skip to content

Commit

Permalink
Tweak downloader settings
Browse files Browse the repository at this point in the history
  • Loading branch information
codeconscious committed Aug 11, 2024
1 parent ad87700 commit f70a869
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/CCVTAC.Console/Downloading/Downloader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,9 @@ private static string GenerateDownloadArgs(

// For video(s) with their respective metadata files (JSON and artwork).
_ => [
settings.AudioFormat == string.Empty ? "--extract-audio" : $"--extract-audio -f m4a",
"--extract-audio",
settings.AudioFormat.HasText() ? $"-f {settings.AudioFormat}" : string.Empty,
"--audio-quality 0",
"--write-thumbnail --convert-thumbnails jpg", // For album art
writeJson, // Contains metadata
trimFileNames,
Expand Down

0 comments on commit f70a869

Please sign in to comment.