大佬,我的potplayer不知道为什么不能用,下面是日志,有空还请帮忙看一下,十分感谢 127.0.0.1 - - [14/May/2024 20:40:23] "POST /embyToLocalPlayer/ HTTP/1.1" 200 - ---------------------------------------- Exception occurred during processing of request from ('127.0.0.1', 3130) Traceback (most recent call last): File "socketserver.py", line 316, in _handle_request_noblock File "socketserver.py", line 347, in process_request File "socketserver.py", line 360, in finish_request File "socketserver.py", line 747, in __init__ File "http\server.py", line 425, in handle File "http\server.py", line 413, in handle_one_request File "E:\Tool\embyToLocalPlayer-python-embed-win32\embyToLocalPlayer.py", line 38, in do_POST data = parse_received_data_emby(data) if self.path.startswith('/emby') else parse_received_data_plex(data) File "E:\Tool\embyToLocalPlayer-python-embed-win32\utils\tools.py", line 292, in parse_received_data_emby jellyfin_auth = headers['X-Emby-Authorization'] if not is_emby else '' KeyError: 'X-Emby-Authorization'
大佬,我的potplayer不知道为什么不能用,下面是日志,有空还请帮忙看一下,十分感谢
127.0.0.1 - - [14/May/2024 20:40:23] "POST /embyToLocalPlayer/ HTTP/1.1" 200 -
----------------------------------------
Exception occurred during processing of request from ('127.0.0.1', 3130)
Traceback (most recent call last):
File "socketserver.py", line 316, in _handle_request_noblock
File "socketserver.py", line 347, in process_request
File "socketserver.py", line 360, in finish_request
File "socketserver.py", line 747, in __init__
File "http\server.py", line 425, in handle
File "http\server.py", line 413, in handle_one_request
File "E:\Tool\embyToLocalPlayer-python-embed-win32\embyToLocalPlayer.py", line 38, in do_POST
data = parse_received_data_emby(data) if self.path.startswith('/emby') else parse_received_data_plex(data)
File "E:\Tool\embyToLocalPlayer-python-embed-win32\utils\tools.py", line 292, in parse_received_data_emby
jellyfin_auth = headers['X-Emby-Authorization'] if not is_emby else ''
KeyError: 'X-Emby-Authorization'