From d20e250033a91c846aeea364db5b71b0d3c77155 Mon Sep 17 00:00:00 2001 From: Markus Kuuse Date: Mon, 2 Dec 2024 19:50:15 +0200 Subject: [PATCH] Re-add mapping --- src/youtube.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/youtube.go b/src/youtube.go index 703fd9d..d9e725e 100644 --- a/src/youtube.go +++ b/src/youtube.go @@ -107,7 +107,7 @@ func saveVideo(cfg Youtube, track Track, stream *goutubedl.DownloadResult) bool } cmd := ffmpeg.Input(input).Output(fmt.Sprintf("%s%s.mp3", cfg.DownloadDir, track.File), ffmpeg.KwArgs{ - "c": "copy", + "map": "0:a", "metadata": []string{"artist="+track.Artist,"title="+track.Title,"album="+track.Album}, "loglevel": "error", }).OverWriteOutput().ErrorToStdOut()