• unexposedhazard@discuss.tchncs.de
          link
          fedilink
          arrow-up
          1
          ·
          5 hours ago

          Im on linux and thats all i know, so if you arent i cant help ya…

          You can install mpv from your package manager. This should automatically install yt-dlp as a dependency, but probably not the latest version which is very necessary.

          That means you have to get the latest version from the github https://github.com/yt-dlp/yt-dlp?tab=readme-ov-file#release-files Just take the first thing in the table.

          yt-dlp | Platform-independent zipimport binary. Needs Python (recommended for Linux/BSD)

          This yt-dlp file will have to go into your /home/user/.local/bin/ folder, so that it gets used instead of the outdated version installed by your OS when mpv looks for it.

          That should be the basic setup. To use it you just do mpv https://www.youtube.com/watch?v=xvFZjo5PgG0 in your terminal, which will open that video. In my RSS reader i can define a custom browser application, so i just give it mpv as a browser, that way i dont have to open a terminal every time.

          If you want to have a button that redirects youtube vids from your browser to mpv, that requires some more tinkering. If you wanna do that i can write another comment.

      • Ricky Rigatoni@lemm.ee
        link
        fedilink
        arrow-up
        5
        ·
        6 days ago

        Youtube blocks vpns if you’re not signed in so I need to keep changing my end point until I get an IP they don’t associate with vpns to use those.