open-in-mpv
Host-side of the extension to open any link or page URL in mpv via the browser context menu.
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.2%) to scientific vocabulary
Keywords
Repository
Host-side of the extension to open any link or page URL in mpv via the browser context menu.
Basic Info
- Host: GitHub
- Owner: Tatsh
- License: mit
- Language: Python
- Default Branch: master
- Homepage: https://tatsh.github.io/open-in-mpv/
- Size: 2.99 MB
Statistics
- Stars: 13
- Watchers: 2
- Forks: 2
- Open Issues: 0
- Releases: 1
Topics
Metadata Files
README.md
open-in-mpv

This browser extension displays a context menu item Open in mpv for links. When clicked it will
pass the URL of the link to mpv (which must be PATH).
If you have yt-dlp installed and in PATH, then mpv will try to use it to resolve URLs it cannot
handle. This means you can right-click on any YouTube video page or link, choose Open in mpv and
view the video with mpv.
Installation
First, install the extension. Quit your browser.
There are many ways to perform the next step. Below is the most basic, assuming you have Pip installed.
Gentoo users can simply install media-video/open-in-mpv from
my overlay.
shell
pip install --user open-in-mpv
open-in-mpv-install --user --force
The above commands will install the native host JSON file to supported Chromium-based browsers
whose paths are known for your OS. --force is used on first install to create the necessary paths
if they do not exist.
See open-in-mpv-install --help for more options. Linux users can pass the --system option to
install the native host part of the extension system-wide.
Uninstallation
shell
open-in-mpv-uninstall
pip remove --user open-in-mpv
Uninstall the extension from your browser.
Known issues
Linux: mpv is launched with --gpu-api=opengl because with Vulkan it starts but fails to open a
window.
At this time, Windows is not supported by the open-in-mpv Python script. It may work, but it is
not supported.
Owner
- Login: Tatsh
- Kind: user
- Repositories: 87
- Profile: https://github.com/Tatsh
Citation (CITATION.cff)
authors:
- family-names: 'Udvare'
given-names: 'Andrew'
cff-version: '1.2.0'
date-released: '2025-04-17'
message: 'If you use this software, please cite it as below.'
title: 'open-in-mpv'
version: '0.1.3'
GitHub Events
Total
- Release event: 2
- Watch event: 1
- Delete event: 158
- Issue comment event: 59
- Push event: 239
- Pull request event: 327
- Create event: 174
Last Year
- Release event: 2
- Watch event: 1
- Delete event: 158
- Issue comment event: 59
- Push event: 239
- Pull request event: 327
- Create event: 174
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 1
- Total pull requests: 393
- Average time to close issues: about 1 month
- Average time to close pull requests: 1 day
- Total issue authors: 1
- Total pull request authors: 3
- Average comments per issue: 1.0
- Average comments per pull request: 0.21
- Merged pull requests: 345
- Bot issues: 0
- Bot pull requests: 384
Past Year
- Issues: 0
- Pull requests: 257
- Average time to close issues: N/A
- Average time to close pull requests: about 15 hours
- Issue authors: 0
- Pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.16
- Merged pull requests: 220
- Bot issues: 0
- Bot pull requests: 257
Top Authors
Issue Authors
- dependabot[bot] (3)
- ghost (1)
Pull Request Authors
- dependabot[bot] (478)
- ghost (7)
- fossabot (1)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- @types/chrome ^0.0.91 development
- eslint ^6.5.1 development
- actions/checkout v2 composite
- actions/setup-node v1 composite
- actions/stale v5 composite
- 250 dependencies
- alabaster 0.7.13
- appdirs 1.4.4
- astroid 2.15.5
- attrs 23.1.0
- babel 2.12.1
- cattrs 23.1.2
- certifi 2023.7.22
- charset-normalizer 3.2.0
- click 8.1.3
- colorama 0.4.6
- coverage 6.5.0
- coveralls 3.3.1
- dill 0.3.6
- docopt 0.6.2
- docutils 0.20.1
- esbonio 0.16.1
- exceptiongroup 1.1.2
- idna 3.4
- imagesize 1.4.1
- iniconfig 2.0.0
- isort 5.12.0
- jinja2 3.1.2
- lazy-object-proxy 1.9.0
- loguru 0.7.0
- lsprotocol 2023.0.0a2
- markupsafe 2.1.3
- mccabe 0.7.0
- mock 5.0.2
- mypy 1.4.1
- mypy-extensions 1.0.0
- packaging 23.1
- platformdirs 3.8.1
- pluggy 1.2.0
- psutil 5.9.5
- pygls 1.0.2
- pygments 2.15.1
- pylint 2.17.4
- pylint-quotes 0.2.3
- pyspellchecker 0.7.2
- pytest 7.4.0
- pytest-mock 3.11.1
- pyxdg 0.28
- requests 2.31.0
- requests-mock 1.11.0
- six 1.16.0
- snowballstemmer 2.2.0
- sphinx 7.0.1
- sphinxcontrib-applehelp 1.0.4
- sphinxcontrib-devhelp 1.0.2
- sphinxcontrib-htmlhelp 2.0.1
- sphinxcontrib-jsmath 1.0.1
- sphinxcontrib-qthelp 1.0.3
- sphinxcontrib-serializinghtml 1.1.5
- tomli 2.0.1
- tomlkit 0.11.8
- typeguard 3.0.2
- typing-extensions 4.7.1
- urllib3 2.0.7
- win32-setctime 1.1.0
- wrapt 1.15.0
- yapf 0.33.0
- click >=8.0,<8.1.4
- loguru ^0.7.0
- psutil ^5.9.5
- python ^3.10
- pyxdg ^0.28
- requests ^2.31.0