News for hackers. Stuff that matters.
Re:YouTube tests blocking videos unless you disable ad blockers by pwg on Wednesday May 10, 2023 @04:13PM (#35892826)
Or just download with yt-dlp (https://github.com/yt-dlp/yt-dlp).
Re:YouTube tests blocking videos unless you disable ad blockers by SirMaster on Wednesday May 10, 2023 @04:23PM (#35892961)
Why even download?

You can use third party media players like MPC-BE or MPC-HC that leverage yt-dlp to stream the video into a media player without any ads of course.

Yes, sometimes it makes sense to download if you want to keep the video, but to just watch just stream it via yt-dlp to a media player.

Re:YouTube tests blocking videos unless you disable ad blockers by wanderingmind on Wednesday May 10, 2023 @04:53PM (#35893350)
How about non windows users? Like does VLC has similar integration with yt-dlp?
Re:YouTube tests blocking videos unless you disable ad blockers by dbtc on Wednesday May 10, 2023 @07:09PM (#35894758)

    mpv url
Re:YouTube tests blocking videos unless you disable ad blockers by dredmorbius on Wednesday May 10, 2023 @07:24PM (#35894964)
For more info on mpv: <https://mpv.io/>
Re:YouTube tests blocking videos unless you disable ad blockers by alexiaa on Wednesday May 10, 2023 @08:55PM (#35895857)
mpv is cross-platform.
Re:YouTube tests blocking videos unless you disable ad blockers by ttepasse on Wednesday May 10, 2023 @04:58PM (#35893426)
> Why even download?

A major part apart from building a queue by getting behind is the ability of the file manager to sort, to classify, to filter, to move into folders, to search, etc. Far better than the youtube web interface, which only has the options of displaying your subscriptions as a grid or as a list. So I now have a local queue of videos which I can use, in which weird expeditions into obscure genres are into their own folders, must-match-now videos are tagged, etc, and I can pick and choose according to my own tastes of the moment.

That is one of my pet peeves in UI design in the last decade and it is not only web applications – shoebox apps are often as limited. If you want to do anything to your data or just have different sort orders or views, you only have what the app developer allows and often that is nothing.

Thanks to the web and shoebox apps I appreciate file managers like Finder even more now. It’s amazing what UI controls like NSTableView/NSOutlineView gives the user in functionality. Modern collection views often look better and I appreciate that, but I do miss the functionality which, while possible, often simply is not implemented.

Re:YouTube tests blocking videos unless you disable ad blockers by everdrive on Wednesday May 10, 2023 @07:13PM (#35894804)
>Why even download?

Because it will likely get harder and harder to download from Youtube, and the option may actually disappear forever eventually.

Re:YouTube tests blocking videos unless you disable ad blockers by dredmorbius on Wednesday May 10, 2023 @07:24PM (#35894957)
Downloading is an option, though there are of course numerous others:

- You can stream directly. I do this via a bash function for cases where mpv itself doesn't play a video (for reasons I've been unable to / not had the spoons to track down):

  ytmpv () { yt-dlp -o - -f bestaudio "$1" | mpv - ; }
- You can use ytdlp as a front-end to other tools, and in fact if you peek under the bonnet you'll find that many YouTube / video streaming tools are in fact using yt-dlp as their access mechanism.

- There are times when downloading a video is the only way to be assured that you'll have access to content in the future, or when offline. Note that when YouTube removes content it also removes all metadata associated with that content, including title, description, and the account which had posted it.

Re:YouTube tests blocking videos unless you disable ad blockers by amstan on Thursday May 11, 2023 @02:32AM (#35898491)
My mpv calls yt-dlp directly, and it can even seek.
Re:YouTube tests blocking videos unless you disable ad blockers by dredmorbius on Saturday May 13, 2023 @02:35PM (#35931270)
Mine likewise, but it still encounters errors frequently, particularly with YouTube, which my hack addresses. Even after updating to the most recently-available versions.

This is on Android / F-Droid / pip. I've hacked those specifically to keep yt-dlp and mpv as updated as possible.

Re:YouTube tests blocking videos unless you disable ad blockers by mkmk on Wednesday May 10, 2023 @04:35PM (#35893117)
Slightly off-topic, is there an easy way to automatically stream files you've downloaded to your local machine to play on an iPhone later?
Re:YouTube tests blocking videos unless you disable ad blockers by marcodiego on Wednesday May 10, 2023 @04:37PM (#35893150)
Re:YouTube tests blocking videos unless you disable ad blockers by christophilus on Wednesday May 10, 2023 @04:50PM (#35893323)
I use Brave on iOS, and it has the ability to download videos for offline watching. It’s one of my favorite features.
Re:YouTube tests blocking videos unless you disable ad blockers by princevegeta89 on Thursday May 11, 2023 @05:02AM (#35899618)
You're looking for a media server. Plex, Jellyfin and Emby are the 3 popular choices, out of which Jellyfin is the only completely free open source software
Re:YouTube tests blocking videos unless you disable ad blockers by jacooper on Wednesday May 10, 2023 @05:58PM (#35894059)
You can use alternative front ends like piped, invidious or apps like libretube.
Re:YouTube tests blocking videos unless you disable ad blockers by nntwozz on Wednesday May 10, 2023 @08:04PM (#35895381)
This is the way.

I use invidious with Yattee on iOS/macOS/tvOS.

Total bliss.

Re:YouTube tests blocking videos unless you disable ad blockers by xenospn on Wednesday May 10, 2023 @08:19PM (#35895515)
Amazing.
Re:YouTube tests blocking videos unless you disable ad blockers by josephcsible on Wednesday May 10, 2023 @08:19PM (#35895510)
Won't Google just block this next as soon as they finish blocking ad blockers?