47 points

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.

permalink
report
reply
40 points

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.

permalink
report
parent
reply
13 points
*

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

permalink
report
parent
reply
7 points

Then seed it on Soulseek as a webrip

permalink
report
parent
reply
6 points
permalink
report
parent
reply
8 points

You’re right, but it does still work.

permalink
report
parent
reply
4 points

Deemix? More like Mix Deez Nuts!

I’m sorry.

permalink
report
parent
reply
4 points

That’s okay, it had to be done.

permalink
report
parent
reply
10 points

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

permalink
report
parent
reply
14 points

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.

permalink
report
parent
reply
9 points

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

permalink
report
parent
reply
9 points

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.

permalink
report
parent
reply
2 points

Soulseek. Added to my notes. Will check it out, thanks

permalink
report
parent
reply
4 points
*

May I suggest SpotDL specifically for Spotify: https://github.com/spotDL/spotify-downloader

permalink
report
parent
reply
2 points

Does it work anymore? I’ve been getting the 500 error while trying to use it for a couple of months non stop.

permalink
report
parent
reply
1 point

For songs with metadata I recommend ytmdl

permalink
report
parent
reply
31 points

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

permalink
report
reply
27 points

Maybe a little bit shameless plug from me, but I want point to my Bash script for Linux to make the daily yt-dlp life easier: https://github.com/thingsiplay/yt-dlp-lemon yt-dlp-lemon -h will show only a few options and yt-dlp-lemon -H shows everything the script supports.

permalink
report
reply
7 points

Oh hey i saw you in the comments of a brodie robertson video

permalink
report
parent
reply
6 points

Haha, hello there. World is small sometimes. :p

permalink
report
parent
reply
19 points
*

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

permalink
report
reply
7 points

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.

permalink
report
parent
reply
4 points
*
1 point

Thanks! Would you happen to know how to install with pipx? I don’t fully understand Python venv stuff, but I followed instructions on how to install yt-dlp using pipx. I’m not clear on whether I could do that with your app.

permalink
report
parent
reply
3 points

Please publish the source code

permalink
report
parent
reply
4 points
*

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

permalink
report
parent
reply
4 points

Props for choosing Codeberg over some corpo lock-in option

permalink
report
parent
reply
4 points

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 :)

permalink
report
parent
reply
14 points

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 <C-S-v>” 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.

permalink
report
reply
9 points

Try FreeTube.

permalink
report
parent
reply
8 points

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

permalink
report
parent
reply
3 points
*

Yeah, but I use a fork called Tubular so I can get SponsorBlock and ReturnYoutubeDislike.

Edit: Turns out I just missed that there was an update. Phone playback is back!

permalink
report
parent
reply
1 point

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

Why not just pass the YouTube link to mpv so you don’t have to wait for the video to download?

permalink
report
parent
reply
1 point
*

I still have to wait a long time for the video to load in the Mpv cache, and sometimes I want a bunch of videos to watch later (or watch multiple times if they’re educational). In which case, I either open up a bunch of videos in their own mpv windows and they all load while I’m watching the first one, or I download them while I’m doing something else.

But loading a bunch of mpv windows is heavier than a bunch of terminals running yt-dlp (and I could also just switch to using tmux… which I probably should get around to at some point).

permalink
report
parent
reply
1 point

I still have to wait a long time for the video to load in the Mpv cache

In my experience the video loads in a few seconds compared to the minutes it’d take for it to download, but I get your second point.

permalink
report
parent
reply
1 point

How often does that break?

permalink
report
parent
reply
2 points

Yt-dlp or mpv? Never.

Newpipe and piped? Newpipe takes about a week or two, to rebreak after a fix. Piped has been broken and not updated yet, for a while.

permalink
report
parent
reply
-28 points

Maybe just pay for YouTube Premium at at that point? It pays the video creators, and you don’t have to have a janky playback setup.

permalink
report
parent
reply
9 points

Why would anyone want to support one of the most evil companies in the world alongside though?

permalink
report
parent
reply
2 points

If you don’t like Google keeping a cut, then sign up for all the Patreons for everyone you watch.

permalink
report
parent
reply
9 points
*

No matter how hanky this setup is, the official YouTube app is jankier.

It pays the video creators

Then why are almost all of them on patreon and ask for a donation?

permalink
report
parent
reply
1 point

Because it’s an additional source of revenue, and they can provide rewards outside of YouTube.

permalink
report
parent
reply
2 points

No

permalink
report
parent
reply

Open Source

!opensource@lemmy.ml

Create post

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

Useful Links

Rules

  • Posts must be relevant to the open source ideology
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

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

Community stats

  • 4.7K

    Monthly active users

  • 1.1K

    Posts

  • 9.1K

    Comments