Emby/Jellyfin 调用外部本地播放器,并回传播放记录。适配 Plex。
< Opiniones de embyToLocalPlayer
遇到之前的问题了,JF能播放,Plex不能播放,均是本地,采用读硬盘模式。使用Plex的报错代码为:----------------------------------------127.0.0.1 - - [09/Jun/2024 01:13:31] "POST /plexToLocalPlayer/ HTTP/1.1" 200 -----------------------------------------Exception occurred during processing of request from ('127.0.0.1', 2344)Traceback (most recent call last): File "C:\Program Files\Python\Lib\socketserver.py", line 691, in process_request_thread self.finish_request(request, client_address) File "C:\Program Files\Python\Lib\socketserver.py", line 361, in finish_request self.RequestHandlerClass(request, client_address, self) File "C:\Program Files\Python\Lib\socketserver.py", line 755, in __init__ self.handle() File "C:\Program Files\Python\Lib\http\server.py", line 432, in handle self.handle_one_request() File "C:\Program Files\Python\Lib\http\server.py", line 420, in handle_one_request method() File "D:\工具包\embyToLocalPlayer\utils\http_server.py", line 65, in do_POST data = parse_received_data_emby(data) if self.path.startswith('/emby') else parse_received_data_plex(data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\工具包\embyToLocalPlayer\utils\tools.py", line 464, in parse_received_data_plex api_key = query['X-Plex-Token'] ~~~~~^^^^^^^^^^^^^^^^KeyError: 'X-Plex-Token'后排查plex账号,使用非管理员账号无法播放,使用管理员又可以了;难道plex把非管理员的token获取禁止了?Plex版本1.40.1.8227
什么是非管理员,我分享媒体库给小号邮箱测试,无法复现。版本1.40.2.8395。py脚本更到最新,油猴脚本重装,试试看。
把插件都重装一遍,同时把plex更新下,好了,真奇怪。(非管理员是指plex家庭里的托管账户)
Inicia sesión para responder.
遇到之前的问题了,JF能播放,Plex不能播放,均是本地,采用读硬盘模式。使用Plex的报错代码为:
----------------------------------------
127.0.0.1 - - [09/Jun/2024 01:13:31] "POST /plexToLocalPlayer/ HTTP/1.1" 200 -
----------------------------------------
Exception occurred during processing of request from ('127.0.0.1', 2344)
Traceback (most recent call last):
File "C:\Program Files\Python\Lib\socketserver.py", line 691, in process_request_thread
self.finish_request(request, client_address)
File "C:\Program Files\Python\Lib\socketserver.py", line 361, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "C:\Program Files\Python\Lib\socketserver.py", line 755, in __init__
self.handle()
File "C:\Program Files\Python\Lib\http\server.py", line 432, in handle
self.handle_one_request()
File "C:\Program Files\Python\Lib\http\server.py", line 420, in handle_one_request
method()
File "D:\工具包\embyToLocalPlayer\utils\http_server.py", line 65, in do_POST
data = parse_received_data_emby(data) if self.path.startswith('/emby') else parse_received_data_plex(data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\工具包\embyToLocalPlayer\utils\tools.py", line 464, in parse_received_data_plex
api_key = query['X-Plex-Token']
~~~~~^^^^^^^^^^^^^^^^
KeyError: 'X-Plex-Token'
后排查plex账号,使用非管理员账号无法播放,使用管理员又可以了;难道plex把非管理员的token获取禁止了?
Plex版本1.40.1.8227