Emby/Jellyfin 调用外部本地播放器,并回传播放记录。适配 Plex。
< Feedback on embyToLocalPlayer
作者你好,今天更新了potplayer的最新版本24.08.28之后,调用插件播失败,显示无法找到该文件,但是我的在本地对应的文件夹直接点击使用potplayer播放时就可以正常播放,然后关闭插件直接使用emby网页端播放,也可以正常播放。重新安装了最新的脚本,本地的embyToLocalPlayer文件也都删除了重新下载并设置了一下,结果还是失败了,使用的是embyserver,媒体库是在本地(为clouddrive2挂载方式),具体运行代码如下,麻烦大佬帮忙看看是什么原因导致的:Python 3.12.4D:\RuanJian\Python\python.exepress a number1: run in console2: run in background and add to startup folder3: open startup folder4: path translate helper5: copy script path to clipboard6: update to latest versionpress a number 1you have pressed oneD:\RuanJian\embyToLocalPlayer\utils\downloader.py:311: SyntaxWarning: invalid escape sequence '\|' notify_msg = f"{image}{ep['SeriesName']} \| `{time.ctime()}` \| {item_url}"D:\RuanJian\embyToLocalPlayer\utils\downloader.py:311: SyntaxWarning: invalid escape sequence '\|' notify_msg = f"{image}{ep['SeriesName']} \| `{time.ctime()}` \| {item_url}"[09/04/24 00:38:46.9] ['Python path: D:\\RuanJian\\Python\\python.exe'][09/04/24 00:38:46.9] ['ini path: D:\\RuanJian\\embyToLocalPlayer\\embyToLocalPlayer_config.ini'][09/04/24 00:38:47.0] Windows-10-10.0.19045-SP0 Python-3.12.4D:\RuanJian\embyToLocalPlayer\utils\net_tools.py:43: SyntaxWarning: invalid escape sequence '\=' msg = f'message test success\n`chat_id = {chat_id}`\nneed to set `get_chat_id \= no`'[09/04/24 00:38:48.5] D:\RuanJian\embyToLocalPlayer\embyToLocalPlayer.py[09/04/24 00:38:48.5] serving at http://127.0.0.1:58000127.0.0.1 - - [04/Sep/2024 00:39:37] "POST /embyToLocalPlayer/ HTTP/1.1" 200 -[09/04/24 00:39:37.4] PyScript/2024.09.03 UserScript/2024.08.26 Tampermonkey/5.1.1[09/04/24 00:39:37.4] Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0[09/04/24 00:39:37.4] server=emby/4.8.8.0 data['mount_disk_mode']=True[09/04/24 00:39:37.4] command line: ['D:\\RuanJian\\PotPlayer\\PotPlayerMini64.exe', 'D:\\WenJian\\XiaZai\\115\\Auto_Bangumi\\哎咕岛消失的舔甜歌姬 (2024)\\Season 1\\哎咕島消失的舔甜歌姬 S01E09.mp4'][09/04/24 00:39:37.4] ["loca_mix_host_:8096 match: playlist[enable_host] ['local', '127.0', '192.168', '192-168-', 'example.com:8096', '.']"][09/04/24 00:39:37.4] ['D:\\RuanJian\\PotPlayer\\PotPlayerMini64.exe', 'D:\\WenJian\\XiaZai\\115\\Auto_Bangumi\\哎咕岛消失的舔甜歌姬 (2024)\\Season 1\\哎咕島消失的舔甜歌姬 S01E09.mp4', '/seek=00:00:00', '/title=哎咕岛消失的舔甜歌姬 S1:E9 - 哎咕島消失的舔甜歌姬 S01E09 | 哎咕島消失的舔甜歌姬 S01E09.mp4'][09/04/24 00:40:33.1] skip update progress: key='在开始播放时发生了问题。' _stop_sec=1397424 not in playlist_data播放时报错的图如下
目前重新安装了一下potplayer的上一个版本240618之后就恢复了,希望大佬能早日适配新版的potplayer,感谢!!!
pot就是这样子,下个版本可能又可以了。所以FAQ里说用固定版本,或者升降级测试。
好的,谢谢大佬解答
选择浏览器的油猴插件,把embytolocalplayer的‘读取硬盘模式已经...’这里默认关闭,点击设置为开启即可,然后重启一下‘embyToLocalPlayer_debug.bat’和播放器就可了
Sign in to post a reply.
作者你好,今天更新了potplayer的最新版本24.08.28之后,调用插件播失败,显示无法找到该文件,但是我的在本地对应的文件夹直接点击使用potplayer播放时就可以正常播放,然后关闭插件直接使用emby网页端播放,也可以正常播放。重新安装了最新的脚本,本地的embyToLocalPlayer文件也都删除了重新下载并设置了一下,结果还是失败了,使用的是embyserver,媒体库是在本地(为clouddrive2挂载方式),具体运行代码如下,麻烦大佬帮忙看看是什么原因导致的:
Python 3.12.4
D:\RuanJian\Python\python.exe
press a number
1: run in console
2: run in background and add to startup folder
3: open startup folder
4: path translate helper
5: copy script path to clipboard
6: update to latest version
press a number 1
you have pressed one
D:\RuanJian\embyToLocalPlayer\utils\downloader.py:311: SyntaxWarning: invalid escape sequence '\|'
notify_msg = f"{image}{ep['SeriesName']} \| `{time.ctime()}` \| {item_url}"
D:\RuanJian\embyToLocalPlayer\utils\downloader.py:311: SyntaxWarning: invalid escape sequence '\|'
notify_msg = f"{image}{ep['SeriesName']} \| `{time.ctime()}` \| {item_url}"
[09/04/24 00:38:46.9] ['Python path: D:\\RuanJian\\Python\\python.exe']
[09/04/24 00:38:46.9] ['ini path: D:\\RuanJian\\embyToLocalPlayer\\embyToLocalPlayer_config.ini']
[09/04/24 00:38:47.0] Windows-10-10.0.19045-SP0 Python-3.12.4
D:\RuanJian\embyToLocalPlayer\utils\net_tools.py:43: SyntaxWarning: invalid escape sequence '\='
msg = f'message test success\n`chat_id = {chat_id}`\nneed to set `get_chat_id \= no`'
[09/04/24 00:38:48.5] D:\RuanJian\embyToLocalPlayer\embyToLocalPlayer.py
[09/04/24 00:38:48.5] serving at http://127.0.0.1:58000
127.0.0.1 - - [04/Sep/2024 00:39:37] "POST /embyToLocalPlayer/ HTTP/1.1" 200 -
[09/04/24 00:39:37.4] PyScript/2024.09.03 UserScript/2024.08.26 Tampermonkey/5.1.1
[09/04/24 00:39:37.4] Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0
[09/04/24 00:39:37.4] server=emby/4.8.8.0 data['mount_disk_mode']=True
[09/04/24 00:39:37.4] command line: ['D:\\RuanJian\\PotPlayer\\PotPlayerMini64.exe', 'D:\\WenJian\\XiaZai\\115\\Auto_Bangumi\\哎咕岛消失的舔甜歌姬 (2024)\\Season 1\\哎咕島消失的舔甜歌姬 S01E09.mp4']
[09/04/24 00:39:37.4] ["loca_mix_host_:8096 match: playlist[enable_host] ['local', '127.0', '192.168', '192-168-', 'example.com:8096', '.']"]
[09/04/24 00:39:37.4] ['D:\\RuanJian\\PotPlayer\\PotPlayerMini64.exe', 'D:\\WenJian\\XiaZai\\115\\Auto_Bangumi\\哎咕岛消失的舔甜歌姬 (2024)\\Season 1\\哎咕島消失的舔甜歌姬 S01E09.mp4', '/seek=00:00:00', '/title=哎咕岛消失的舔甜歌姬 S1:E9 - 哎咕島消失的舔甜歌姬 S01E09 | 哎咕島消失的舔甜歌姬 S01E09.mp4']
[09/04/24 00:40:33.1] skip update progress: key='在开始播放时发生了问题。' _stop_sec=1397424 not in playlist_data
播放时报错的图如下