Giter Club home page Giter Club logo

play-with-mpv-custom's Introduction

Mirrored from https://github.com/Thann/play-with-mpv to try to fix an issue, this is NOT my work.

Play with MPV

Chrome extension and python server that allows you to play videos in webpages with MPV instead.
Works on hundreds of sites thanks to youtube-dl, and even torrents if you install peerflix.

Installation

  1. Install MPV
  2. Install python 2 or 3 and pip
  3. Install chrome extension
  4. Run pip install git+git://github.com/duskyBabz/play-with-mpv-custom --user
  5. Start server by running play-with-mpv (or use the Linux free desktop shortcut)

(optional) Install fair-use extension.
(optional) Install peerflix to stream torrents.
(optional) Install mkchromecast pip install git+git://github.com/muammar/mkchromecast --user and extension.
(recommended) Install youtube-dl through your package manager for frequent updates.
(Arch Linux) aur package available.

Usage

Right-click this link and select "Play with MPV". MPV should popup and start playing the video. (Ctrl+Space also works)

screenshot

Autostart

  • Linux: cp {/usr,~/.local}/share/applications/thann.play-with-mpv.desktop ~/.config/autostart
  • MacOS: instructions
  • Windows instructions

Protips

MPV is highly configurable, this is just how I like to use it.

To start in the corner, have no border, and stay on top: edit ~/.config/mpv/mpv.conf

ontop=yes
border=no
window-scale=0.4
geometry=100%:100%

In order to resize the window without borders, add keybinds: edit ~/.config/mpv/input.conf

` cycle border
ALT+UP add window-scale 0.05
ALT+DOWN add window-scale -0.05

play-with-mpv-custom's People

Contributors

duskybabz avatar thann avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.