# web2mpv_settings **Repository Path**: alex8224/web2mpv_settings ## Basic Information - **Project Name**: web2mpv_settings - **Description**: 设置web2mpv依赖的平台环境 - **Primary Language**: Python - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2016-09-12 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 环境设置 ========== **必须先安装好 mpv 和 you-get** 鸣谢 ===== 1. https://github.com/soimort/you-get 2. https://github.com/m13253/danmaku2ass Ubuntu环境设置 -------------- 1. 将ubuntu目录中gnome-ytb.desktop复制到 ~/.local/share/applications/ 2. 将ubuntu目录中的ytb.py 复制到 /usr/local/bin 3. sudo update-desktop-database 4. 加了bilibili得的弹幕,需要 https://github.com/m13253/danmaku2ass/danmaku2ass.py 放到 PATH 中 Windows环境设置 ---------------- 1. 将windows目录中的ytb.py复制到python3\Scripts目录中 2. 将windows目录中的ytb.reg导入到注册表中 2. 将mpv和you-get的路径加入到PATH变量 3. 加了bilibili得的弹幕,需要 https://github.com/m13253/danmaku2ass/danmaku2ass.py 放到 %PYTHONPATH%\Scripts\ 中