Skip to content

Commit

Permalink
Re-add mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
LumePart committed Dec 2, 2024
1 parent 041b5d7 commit d20e250
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/youtube.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit d20e250

Please sign in to comment.