News for hackers. Stuff that matters.

Ask HN: How do you combine mpv and YouTube for daily drive?

First of all, I apologize for my broken English, I stopped using YouTube because it was too bloated and insecure, now I am looking for an alternative, useful and combined workflow with mpv that tracks the status of whether the videos are watched by me or not, can you share your workflow?
( 3 comments | 3 points | on HN )
Re:Ask HN: How do you combine mpv and YouTube for daily drive? by amalgamated_inc on Thursday January 05, 2023 @02:57PM (#34265611)
yt-dlp w/ the -x flag for audio. I have a scraper script that tracks my favorite channels on some Invidious (YT proxy, easier to scrape) site and automatically generates the yt-dlp download link to fetch them all. Then I copy them over onto my phone. You could automate that part, too, but honestly it's just a single command so whatever. I listen on the phone using the mpv player there, or mpv when I'm on the computer. When I'm done with a file, I delete it.
Re:Ask HN: How do you combine mpv and YouTube for daily drive? by anonim-kun on Thursday January 05, 2023 @03:26PM (#34266031)
Oh, thank you but on the one hand I want to use mpv because it runs hardware acceleration, VAAPI was working with chromium last week now it does not, also tried with ffx-esr still same just works on VAAPI so yeah.
Re:Ask HN: How do you combine mpv and YouTube for daily drive? by sanroot98 on Friday January 06, 2023 @12:30AM (#34271359)
I use this script (not mine) ,found it in reddir forum https://github.com/sayan01/scripts/blob/master/yt