I want to marry you.
lichtmetzger@discuss.tchncs.de 1 day ago
I find music on YouTube and autoconvert it to MP3 with yt-dlp and ffmpeg. It embeds the metadata, cover art and tries to parse the artist and title as best as possible.
yt-dlp -x -f bestaudio --audio-quality 0 --audio-format mp3 --embed-thumbnail --add-metadata --metadata-from-title “%(artist)s - %(title)s” --playlist-start 1 --playlist-end 999 https://www.youtube.com/playlist?list=123abc -o “./files/%(artist)s - %(title)s.%(ext)s” --cookies-from-browser
Needs minimal adjustment sometimes if the title format is weird, but works 95% automatic. What I like most about this is the fact that music vanishes all the time from YouTube. No one deletes the files from my harddrive but me.
HugeNerd@lemmy.ca 1 day ago
Cevilia@lemmy.blahaj.zone 19 hours ago
Pro tip, make sure the browser you’re copying the cookies of isn’t logged in. Otherwise they may ban you sooner or later.
Trainguyrom@reddthat.com 12 hours ago
Is there a good guide to passing cookies to yt-dlp? Its one of those things I’ve been meaning to learn but never quite got around to yet…
douglasg14b@lemmy.world 19 hours ago
Doing God’s work
mojofrododojo@lemmy.world 19 hours ago
TYVM
Korhaka@sopuli.xyz 20 hours ago
I have just been downloading as it is with
yt-dlp -x
(created an alias so I just typedl
) and then rename and sort the files manually as I find stuff is so often in different naming formats
ar99644@sh.itjust.works 3 hours ago
I’ve been doing something similar but but very basic. I didn’t know you could also add thumbnails and metadata! Mind = blown…
I will change my old ways ASAP. A new era begins!