Emby/Jellyfin 调用外部本地播放器,并回传播放记录。适配 Plex。
目前為
Emby/Jellyfin 调用 PotPlayer mpv IINA MPC VLC 播放,并回传播放进度(可关)。适配 Plex。
特性
以下播放器支持回传进度
基础配置
embyToLocalPlayer-python-embed-win32.zip (便携版 | Windows only)embyToLocalPlayer.zip (Windows / Linux / macOS)embyToLocalPlayer_config.ini 中的播放器路径,以及播放器选择。前置说明
serving at 127.0.0.1:58000 为服务启动成功。Windows
embyToLocalPlayer_debug.bat (不要用管理员运行).bat 就提示找不到 Python,请使用便携版。.bat 按 3 查看开机文件夹里面embyToLocalPlayer.vbs是否被杀毒软件删了。.vbs 模板:
CreateObject("Wscript.Shell").Run """<Python所在文件夹>\python.exe"" ""<脚本所在文件夹>\embyToLocalPlayer.py""" , 0, True
macOS
chmod +x *.command 回车。emby_script_run.command, 若无报错,可播放测试。brew install screen/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"emby_script_run.command(方案一)| emby_script_run_via_screen.command(方案二) 文件拖入 >
点击运行后测试播放 > 文件 > 存储 > 取名并保存到应用程序。cd ~/App/embyToLocalPlayer && nohup ./emby_script_run.command > run.log 2&>1 &Linux
apt install python3-tk(没报错不装也行)emby_script_run.command 执行权限,并用终端打开。FAQ 建议到 GitHub 查看。
https://github.com/kjtsune/embyToLocalPlayer#faq