Skip to content

TibixDev/MPVPlay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation


MPVPlay Logo

MPVPlay

MPVPlay is a combination of a `.desktop` file and a userscript that allows you to play YouTube videos directly in MPV with the click of a button. The UI integrates nicely into the YouTube button bar where the likes/dislike buttons reside aswell.

Report Bug · Request Feature

Getting Started

Dependencies

  • Linux
  • mpv
  • yt-dlp
  • A Chromium or Firefox based browser that supports custom protocols
  • A userscript manager extension, for example ViolentMonkey

Installing & Running

Step 1 - .desktop installation

git clone https://github.com/TibixDev/MPVPlay
cd MPVPlay
cp mpv-opener.desktop ~/.local/share/applications/
cd ~/.local/share/applications/
xdg-mime default mpv-opener.desktop x-scheme-handler/mpv
update-desktop-database

Step 2 - Userscript installation

  1. Downloading the ViolentMonkey extension for your browser.
  2. Click the extension icon, click the + button.
  3. Paste in the contents of userscript/mpv.js, save (CTRL + S).
  4. Enjoy! Now when you visit any YouTube video, you will see a button in the like/dislike bar to play the video with MPV.

Roadmap

  • Windows Support
  • Whatever the community wants

Help

If you encounter any issues feel free to open an issue.

Contribution

If you feel like this project could use some improvements feel free to open a PR. I'll make sure to review it. :)

Authors

@TibixDev

Version History

  • 0.1
    • Initial Release

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

Special thanks, inspiration, code snippets, etc.

About

MPVPlay is an MPV play button integration for YouTube Web.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors