40
submitted 5 days ago by sag@lemm.ee to c/foss@beehaw.org

cross-posted from: https://lemm.ee/post/47587175

top 7 comments
sorted by: hot top controversial new old
[-] sin_free_for_00_days@sopuli.xyz 14 points 5 days ago

Just a little FYI for anyone wanting to download a playlist to listen to offline. Use yt-dlp. Load up the playlist, copy the URL, and then just run

yt-dlp --extract-audio --audio-format mp3 --audio-quality 0 https://www.youtube.com/playlist?list

[-] dgriffith@aussie.zone 5 points 5 days ago

Does it download the actual music tracks from youtube-music, or does YouTube helpfully provide the video version of the music?

I've used a few downloaders and it seems these days that every music video is a whole "production" with 30 seconds of dialogue and intro before the actual music starts, or there's background noise over the first dozen bars (because the artist is in a cafe or car park or on the train in the clip) and all of that is just a bit tedious when listening to the audio only.

[-] Kissaki@beehaw.org 9 points 5 days ago

yt-dlp has SponsorBlock support/integration. So if the community provided the information, it can be dropped.

[-] GBU_28@lemm.ee 1 points 4 days ago

It's whatever you put in the playlist. There's no surprises

[-] sin_free_for_00_days@sopuli.xyz 1 points 4 days ago

It just downloads the audio file for the video, so if there is that crap, you get it. I haven't had many issues with extra stuff though. I send it a link like https://www.youtube.com/playlist?list=PLbNzvRx9lF_Tw6oi-I8iYbhBWNf775kwR and I get a good-enough-for-me bunch of mp3s.

[-] pe1uca@lemmy.pe1uca.dev 2 points 5 days ago

The video in YT and the music played in YTMusic are two different uploads, you can easily get one in YT by checking the YTM URL and getting the ID. So yeah, yt-dlp should get you only the song if you created a playlist with only songs instead of music videos.

[-] SanctimoniousApe@lemmings.world 2 points 4 days ago* (last edited 4 days ago)

Or on Android you can use YTDLnis which provides a nice frontend with lots of flexibility as to what is downloaded.

this post was submitted on 17 Nov 2024
40 points (100.0% liked)

Free and Open Source Software

17949 readers
45 users here now

If it's free and open source and it's also software, it can be discussed here. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS