Greasy Fork is available in English.

embyToLocalPlayer

Emby/Jellyfin 调用外部本地播放器,并回传播放记录。适配 Plex。

< Feedback on embyToLocalPlayer

Review: Good - script works

§
Posted: 07 Juni 2024

部署在群晖的最新的jellyfin 10.9.2无法播放,jellyfin弹了个框,potplayer也无法调出,PC端的10.8.13就能正常播放;
已经更新/重装过油猴和脚本,均无法解决
bat提示下面,求大佬有空帮忙看看
127.0.0.1 - - [08/Jun/2024 02:26:47] "POST /embyToLocalPlayer/ HTTP/1.1" 200 -
----------------------------------------
Exception occurred during processing of request from ('127.0.0.1', 2640)
Traceback (most recent call last):
File "C:\Users\_hide_user_\AppData\Local\Programs\Python\Python312\Lib\socketserver.py", line 318, in _handle_request_noblock
self.process_request(request, client_address)
File "C:\Users\_hide_user_\AppData\Local\Programs\Python\Python312\Lib\socketserver.py", line 349, in process_request
self.finish_request(request, client_address)
File "C:\Users\_hide_user_\AppData\Local\Programs\Python\Python312\Lib\socketserver.py", line 362, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "C:\Users\_hide_user_\AppData\Local\Programs\Python\Python312\Lib\socketserver.py", line 761, in __init__
self.handle()
File "C:\Users\_hide_user_\AppData\Local\Programs\Python\Python312\Lib\http\server.py", line 436, in handle
self.handle_one_request()
File "C:\Users\_hide_user_\AppData\Local\Programs\Python\Python312\Lib\http\server.py", line 424, in handle_one_request
method()
File "E:\Users\_hide_user_\Desktop\embyToLocalPlayer\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:\Users\_hide_user_\Desktop\embyToLocalPlayer\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'

§
Posted: 07 Juni 2024

没事了,谢谢大佬,只更新了脚本,忘记更新github的文件了

Post reply

Sign in to post a reply.