Metadata-Version: 2.1
Name: playwithmpv
Version: 0.1.2
Summary: A server to support playing videos with mpv
Home-page: https://github.com/playallwithmpv/playwithmpv
Author: Wullic
Author-email: wenliang.ouyang@outlook.com
License: MIT
Description: 
        # PlayWithMpv
        
        A server to support playing videos with mpv. Currently this project mainly
        supports for  bilibili.com based on Tampermonkey-script [Bilibili-Evolved](https://github.com/the1812/Bilibili-Evolved) (version `2.0.8`)
        
        ![img](Screenshot1.png)
        
        <a id="orge980977"></a>
        
        ## Preparation
        
        1.  Install [MPV](https://mpv.io/installation/) or [MPV-lazy](https://github.com/hooke007/MPV_lazy) <del>(If you're newer, strongly recommend MPV-lazy.)</del>
        2.  Install Tampermonkey-scrip  [Bilibili-Evolved](https://github.com/the1812/Bilibili-Evolved)
            -   Add “下载视频” 组件 in  [Bilibili-Evolved](https://github.com/the1812/Bilibili-Evolved)
            -   Add [mpv-output-playlist.js插件](https://pan.baidu.com/s/1-Bd_e-irW1Y1H0Ofm0S7BA?pwd=gqvp) (提取码是gqvp) 
            -   ( **注意:不是在线仓库的那个MPV插件，目前需要把mpv-output-playlist.js插件下载下来，手动浏览导入进去** )
        3.  Install [Python3](https://www.python.org/downloads/) (>=3.8)
        
        
        <a id="orgb7eeda9"></a>
        
        ## Installation
        
        Just run `pip install playwithmpv --user`
        
        
        <a id="orgaefa9fe"></a>
        
        ## Usage
        
        1.  open the terminal, run `playwithmpv` to start the server.
        2.  On Bilibili-Evolved:
            -   打开 **下载视频**
            -   格式选 **flv** <del>(如若不可用，先选其他格式，再选回来)</del>
            -   输出方式选 **MPV播放**
            -   若mpv 命令路径已加入环境变量, 默认设置就好，不用更改
        3.  Click **开始** and enjoy.
        
        ![img](Screenshot2.png)
        
        
        <a id="orgd2f3301"></a>
        
        ## Autostart
        
        -   Linux: copy the script to `~/.config/autostart`
        -   MacOs: [method](https://stackoverflow.com/questions/29338066/run-python-script-at-os-x-startup)
        -   Windows: [method](https://stackoverflow.com/questions/4438020/how-to-start-a-python-file-while-windows-starts)
        
        
        <a id="org0e01e48"></a>
        
        ## BTW
        If you are interest in watching bangumi with MPV, could see:
        
        -   [A High-Quality Real Time Upscaler for Anime Video](https://github.com/bloc97/Anime4K)
        -   [MPV FOR ANIME](https://luukuton.fi/article/mpv-for-anime)
        -   [MPV-lazy小站](https://hooke007.github.io/)
        -   [How Do I Get The Best SVP4 Settings?](https://www.svp-team.com/forum/viewtopic.php?pid=61292)
        
        > 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.
        
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.8.2
Description-Content-Type: text/markdown
