Use yt-dlp the correct way for music files

From www.ReeltoReel.nl Wiki
Revision as of 18:39, 26 January 2024 by Pvdm (talk | contribs)
Jump to navigation Jump to search

Use:

-f bestaudio 

for best audio quality.

-o "%(title)s.%(ext)s"

for correct naming of the files.

--add-metadata

for correct IDs.

--parse-metadata "playlist_index:%(track_number)s" 

for parsing track numbers.

You can use youtube URLS to download complete album in one go:

#yt-dlp -f bestaudio -o "%(title)s.%(ext)s" --add-metadata  --parse-metadata "playlist_index:%(track_number)s"  https://www.youtube.com/playlist?list=OLAK5uy_nBJgNLqUL8A64tQMKFNPK3x7KzNOgfbUw