Ytmdl-web – download music from YouTube with metadata
github.com
github.com
youtube-dl -F URL
-F will list all the available format codesThen choose the highest quality audio only option
youtube-dl -f FORMATCODE --add-metadata URL
You might want to demux it (ffmpeg) if the format is webm/Opus but well that's up to you and depending where and how do you want to listen the downloaded music youtube-dl -f "bestaudio[ext=m4a]" --add-metadata URL
does the same automatically. Or if you want to transcode it to MP3: youtube-dl -f bestaudio -x --audio-format mp3 URL
Some other relevant invocations at https://stackoverflow.com/questions/49804874So much code so many frameworks so much wow, to do so little. And we a little closer to collapse of civilization. [0]
There is not enough Jonathan Blow's for all JavaScript bloatware unmaintained unusable in a few years tools. [1]
[0] https://www.youtube.com/watch?v=ZSRHeXYDLko
[1] https://oxide.computer/podcast/on-the-metal-9-jonathan-blow/...
`I think we're now in a situation where everybody in the world is flooded by low-quality software, and everybody wishes that they had higher quality software, at least people who make software I think. We're making a game, games have a lot of things they want to do, a lot of those things are potentially stuff that a library could do of some kind, and so, let's go out, whether it's maybe to do some constructive solid geometry or text layout or something. There's a lot of different little sub-jobs.
If I go on the internet, what is the state of the art of what people out there are doing for this task? Very often I will find a number of things that claim to do the job. Some of them actually do it to an okay level and some don't, and a lot of them don't really work for high-stress situations, and a lot of them don't even like frickin compile anywhere. Just the amount of swimming through a sewer that I have to do to even figure out, "What is the thing that I can seriously consider to maybe do this job versus writing it myself?" That is a huge investment, time and energy investment`
I honestly don't even buy the "but it's easier when you have no service" argument because every one of these streaming apps has a way to save songs for offline listening. You're saving yourself $10/month just to spend how many hours going through the songs you want, getting URLs, downloading them, then moving them onto your device. Then of course the hassle of music videos being different than the original song, or managing storage space on both PC and device.