this post was submitted on 25 Aug 2024
484 points (98.0% liked)

Open Source

31028 readers
715 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 47 points 2 months ago (2 children)

One of my favourite applications. I stopped paying for spotify and just use this to get music these days. Everything gets uploaded to youtube anyways.

[–] jecht360 40 points 2 months ago (3 children)

Downloading music from YouTube will get you MP3s, but they will have gone through the YT compression algorithms.

Use Deemix instead. Downloads MP3s straight from the Deezer servers with all metadata and album art.

[–] [email protected] 13 points 2 months ago* (last edited 2 months ago) (1 children)

Lucida.to would also be a pretty good choice, you can choose to download from either Deezer, Qobuz, Tidal, Spotify, Deezer or Amazon Music.

[–] [email protected] 7 points 2 months ago (1 children)

Then seed it on Soulseek as a webrip

[–] Agret 3 points 2 months ago

No you have to edit the file for CD metadata and convert it to flac so you can pretend it was ripped from a CD, as is P2P file sharing tradition. Bonus pts if you put it through some filter to introduce a bunch of noise into the audio. Then ask in chat how you can convert a 128kbps mp3 to flac to increase the quality. Priceless.

[–] FarraigePlaisteach 6 points 2 months ago (1 children)
[–] jecht360 8 points 2 months ago (1 children)

You're right, but it does still work.

[–] FarraigePlaisteach 4 points 2 months ago

Ah. Well that's what matters.

[–] [email protected] 4 points 2 months ago (1 children)

Deemix? More like Mix Deez Nuts!

I'm sorry.

[–] jecht360 4 points 2 months ago

That's okay, it had to be done.

[–] [email protected] 10 points 2 months ago (5 children)

Does it automatically grab things like metadata (author, cover art, etc.) for you? And if it requires a flag, do you know it?

[–] [email protected] 14 points 2 months ago

I don't bother personally for the most part but it seems like you can do it via --embed-metadata, --parse-metadata, and --embed-thumbnail.

[–] [email protected] 9 points 2 months ago (1 children)

Unless the artist only posts on YouTube, try soulseek. Most files have metadata already included, and if they don't, you can just download from another user.

load more comments (1 replies)
[–] Zachariah 9 points 2 months ago

It’s very automatic with just pointing it at the media’s URL, but also highly configurable if you want.

[–] [email protected] 4 points 2 months ago* (last edited 2 months ago) (3 children)
load more comments (3 replies)
load more comments (1 replies)
[–] [email protected] 35 points 2 months ago

Absolutely. Bar none. Here's my config for downloading best quality YT videos (but works for other sites too) if anyone wants to base theirs on it: https://pastebin.com/ba9sFURT

[–] ArtVandelay 17 points 2 months ago* (last edited 2 months ago) (2 children)

I wrote my own web app in Python, using pytube-fix and its lightning fast. Great library. I found a recent screenshot that's a bit behind in commits but you get the idea.

Edit: I published the source code, please note there is a LOT of work left to do, but it works. https://codeberg.org/ArtisanByteCrafter/pytube-gui

[–] [email protected] 7 points 2 months ago (1 children)

I didn't see anything like this image in the pytube-fix repo. Do you have a repo of the web interface somewhere? That looks really handy.

[–] ArtVandelay 4 points 2 months ago* (last edited 2 months ago) (3 children)
load more comments (3 replies)
[–] [email protected] 3 points 2 months ago (1 children)

Please publish the source code

[–] ArtVandelay 4 points 2 months ago* (last edited 2 months ago) (2 children)

Happy to, I'll do it tonight. Just be aware this is only "good enough for myself doing some testing" level yet. I do plan on doing a lot more work. EDIT: here goes nothing: https://codeberg.org/ArtisanByteCrafter/pytube-gui

[–] [email protected] 4 points 2 months ago

That's fine. Once it's out, other people can help. Or if you give up on it completely, anyone can fork it and resume development on it.

Thanks :)

[–] [email protected] 4 points 2 months ago

Props for choosing Codeberg over some corpo lock-in option

[–] [email protected] 14 points 2 months ago (25 children)

It's the main way I watch youtube now. After Piped and Newpipe stopped working for me across all devices, I only use 2 methods of watching Youtube now. Open in mpv (which is configured to use yt-dlp in the backend to make things faster), and download using yt-dlp. So it's key to me keeping on watching Youtube. Recently, I've started getting ads showing up even on Mobile Vivaldi, so no more YT on my phone.

So my new workflow is to use Piped to find a video, then copy the end of the link and type "yt-dlp " in a terminal, wait for the video(s) to download, and open in mpv.

OR

In some cases, use Qutebrowser, with a custom keybind to open a video in mpv.

[–] [email protected] 8 points 2 months ago (1 children)

Newpipe works fine for me. They always fix it almost immediately.

load more comments (1 replies)
load more comments (23 replies)
[–] [email protected] 13 points 2 months ago (2 children)

yt-dlp is great, but if you need to archive playlists automatically, want a repository, or otherwise prefer a gui I would recommend TubeArchivist.

[–] chasingtheflow 9 points 2 months ago

(Which itself uses yt-dlp)

[–] TriflingToad 4 points 2 months ago

I use parabolic on PC and Seal (on F-Driod) to download yt videos. Both are just YTDLP with a GUI because I'm not an arch user

[–] [email protected] 12 points 2 months ago (1 children)

I have been using Jdownloader2 for years.. I don’t know what the differences are, but might be an option for people who want something GUI based

[–] [email protected] 7 points 2 months ago

If you need a gui or are trying to monitor playlists I would recommend TubeArchivist.

[–] [email protected] 8 points 2 months ago

If you use it frequently, I suggest getting a GUI that have profiles or remember options so you don't have to mess with commands all the time. I wrote my own little command line wrspper which is Windows only since I don't have Linux to test on. Though it shouldn't take much effort to add support.

Makes it much more convenient when you don't have to specify things like archive (ignore duplicates), filename to be "artist - title" (where possible), download destination, etc. Just alt-tab, Ctrl-v, Enter. And the download is running. And mine also has parallel downloads and queue for when you got many slow downloads.

[–] shalva97 7 points 2 months ago (3 children)

This is something I cant live without

load more comments (3 replies)
[–] [email protected] 7 points 2 months ago (1 children)

I tried a few times, but the video and audio are often out of sync. Anyone have this issue?

[–] Reddfugee42 6 points 2 months ago
[–] [email protected] 5 points 2 months ago (1 children)

Does it work for movies that "require you to sign in to verify your age"?

[–] [email protected] 4 points 2 months ago (2 children)

If you like this article, please consider following the site on Mastodon/Fedi, email, or RSS. It helps me get information like this out to a wider audience :)

load more comments (2 replies)
[–] [email protected] 4 points 2 months ago

This is wonderful, I've been struggling with piped for some time now, it's always asking me to sign in to confirm that I'm not a bot. Also it's showing me videos in very low quality and often it stops loading halfway through the video. With this I get to see good quality videos once more, without unwanted pauses and without financing yt in any way. Great!

load more comments
view more: next ›