3 ms·
>spytify automatically records mp3 files with metadata tags while you personally use Spotify I prefer pirating my music off YouTube. yt-dlp -f bestaudio htt
by Hamuko 4y ago
>spytify automatically records mp3 files with metadata tags while you personally use Spotify
I prefer pirating my music off YouTube.
yt-dlp -f bestaudio https://music.youtube.com/playlist?list=XXX
This nets you a bunch of *.webm files with Opus data inside them. YouTube's bestaudio is usually about 130 kbs Opus, which should be close to transparent. You can then use mkvextract to turn them into more usable *.opus files.
mkvextract input.webm tracks 0:output.opus
The downside is that you need to tag your downloads manually after that. It's less of a problem for me since I use beets for my music library, but can be a pain if you don't have an automatic way of doing it.
- MikusR 4y agoadd -x to yt-dlp to directly remux to .opus and --add-metadata to write tags.
- usui 4y agoIsn't the second extraction unnecessary? I just tried this command and it worked, with metadata yt-dlp --output "%(upload_date)s ---- %(artist)s --- %(title)s.%(ext)s" --add-metadata --embed-thumbnail --audio-format opus --format bestaudio --remux-video opus "https://music.youtube.com/watch?v=0oAAlssVwEw https://music.youtube.com/watch?v=0oAAlssVwEw"