Skip to main content

PlayWithMpv

A server to support playing videos with mpv. Currently this project mainly supports for bilibili.com based on Tampermonkey-script Bilibili-Evolved (version 2.1.3)

img

You can also read the playwithmpv文档 in the ReadtheDocs.

Preparation

  1. Install MPV or MPV-lazy (If you're newer, strongly recommend MPV-lazy.)
  2. Install Tampermonkey-scrip Bilibili-Evolved (version 2.1.3)
  3. Install Python3 (>=3.8)

Installation

Just run pip install playwithmpv --user

Usage

  1. open the terminal, run playwithmpv to start the server.
  2. On Bilibili-Evolved:
    • 打开 下载视频
    • 格式选 flv (如若不可用,先选其他格式,再选回来)
    • 输出方式选 MPV播放
    • 若mpv 命令路径已加入环境变量, 默认设置就好,不用更改
  3. Click 开始 and enjoy.

img

Autostart

  • Linux: copy the script to ~/.config/autostart
  • MacOs: method
  • Windows: method

BTW

If you are interest in watching bangumi with MPV, could see:

Why use MPV? BTW, I think MPV is a so strong and free tool that can be easily for stream vidoes, user shaders and movement enhacement etc. The last one using SVP4 as movement enhacement, if you config SVP as the article said and make it work. Congratulation, a new world is there.Wooss.

Metadata

Release files for playwithmpv 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for playwithmpv 0.1.4
File Size Uploaded Provenance Actions
playwithmpv-0.1.4.tar.gz 6.6 kB Without provenance Details for playwithmpv-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for playwithmpv 0.1.4
File Interpreter ABI Platform Actions
playwithmpv-0.1.4-py3-none-any.whl Python 3 none any Details for playwithmpv-0.1.4-py3-none-any.whl

Total release size: 12.4 kB

Release files / playwithmpv-0.1.4.tar.gz

Download URL playwithmpv-0.1.4.tar.gz
Size 6.6 kB
Tags Source
SHA-256 checksum
How to use checksums
0c825980617f1a8a8351dba54528df61f4b682425ab97d63c6167a3e02c42a33
BLAKE2b-256 checksum
How to use checksums
bd2d4175122373f16a32cfe248dbac19ae971aaaa53419a9c2e77d2e5c554acb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.1

Release files / playwithmpv-0.1.4-py3-none-any.whl

Download URL playwithmpv-0.1.4-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3e45d381013b44194e292867e2da09cd9a0611eed1b56c18d2b2166b003d3686
BLAKE2b-256 checksum
How to use checksums
2e1f5caff369bc12b50c8a5f1bfd15a910a7ce1ad568964b5a376bdb4c03010c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.1

Security for playwithmpv 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page