• unexposedhazard
    link
    fedilink
    English
    arrow-up
    6
    ·
    2 days ago

    The following below is all linux only. Idk how windows works, but there is also this webhosted version of yt-dlp, but that is rate limited sometimes. https://ytdlp.online/

    To get sponsorblock working in mpv: https://github.com/po5/mpv_sponsorblock
    To open links from your browser in mpv: https://github.com/binarynoise/open-in-mpv

    mpv usually automatically installs the standard version of yt-dlp that comes with your system (which is often outdated) so you might have to manually install the latest binary by putting it into .local/bin/ (the version from the release list just called “yt-dlp” and nothing else) (you might have to relog so your system recognizes new stuff added to local/bin)

    So for the mpv + yt-dlp + sponsorblock + browser setup you need to:

    • Have mpv installed
    • Have a recent version of yt-dlp
    • Put the files from the sponsorblock repo into .config/mpv/scripts as described in the repo
    • Put the mpv-scheme-handler.desktop file into .local/share/applications/ and install the browser add-on linked in the repo

    This btw also works neatly together with RSS readers if you use them for youtube notifications. Just set mpv as your browser in the RSS reader and it will directly open youtube vids in mpv.

    If anything doesnt work just drop a comment :)