Posted by yesturi 12 hours ago
It doesn't even say which type of cookies have to be accepted, I tried selecting just functional cookies, that didn't work. Funny how it's an arcane bunch of toggles in a cookie popup, on a page describing an arcane way of booting up a system.
yt-dlp https://youtu.be/bqz65_YfcJg -o - | mpv -
And never been happier. I hope it still counts as a view for the channel/owner though, but never investigated if that's actually the case.Thanks for the heads up regardless, I'm sure there was others who didn't know, who learned something new! :)
Last time I was passing youtube URLs to mpv, it relied on having an executable named youtube-dl.exe somewhere visible to the mpv executable. To get it to work with yt-dlp, I had to copy and rename the yt-dlp executable.
> has yt-dlp integrated
Have they switched to supplying their own youtube downloader instead of just working with whatever you happen to have in your path?
> Available options: [...] mark_watched: Mark videos watched (even with --simulate). Only for YouTube
https://github.com/yt-dlp/yt-dlp/blob/c8680b65f79cfeb23b342b...
So I'm guessing without that, it doesn't, so would have to add the flag for it to try to count it as a view.
Alternatively you can use the link in GP to grab the video via yt-dlp. Can even do that via tor if you want. (Weirdly at least historically youtube was friendlier to tor exit nodes than it was to a lot of mainstream VPNs. Not sure what was up with that, haven't tested it in a while.)
Cool idea.