最近我升级了最新的飞牛影视APP到0.8.18版本,然后在电视端的Jellyfin for KODI就开始无法正常工作,表现为无法正常弹出服务器选择界面,所有功能都没法正常工作,但是在Jellyfin是能看到电视端尝试访问服务器的。
起初我并没有意识到是飞牛的问题,但是我查看了日志发现
info <general>: JELLYFIN.jellyfin_kodi.entrypoint.service -> INFO::jellyfin_kodi/entrypoint/service.py:76 --->>>[ JELLYFIN ]
info <general>: JELLYFIN.jellyfin_kodi.entrypoint.service -> INFO::jellyfin_kodi/entrypoint/service.py:77 Version: 1.0.5+py3
info <general>: JELLYFIN.jellyfin_kodi.entrypoint.service -> INFO::jellyfin_kodi/entrypoint/service.py:78 KODI Version: 21.1 (21.1.0) Git:20240817-183eb85f10
info <general>: JELLYFIN.jellyfin_kodi.entrypoint.service -> INFO::jellyfin_kodi/entrypoint/service.py:79 Platform: Linux/Android
info <general>: JELLYFIN.jellyfin_kodi.entrypoint.service -> INFO::jellyfin_kodi/entrypoint/service.py:80 Python Version: 3.11.7 (main, Aug 17 2024, 09:43:15) [Clang 9.0.9 (https://android.googlesource.com/toolchain/llvm-project a2a1e703c0
info <general>: JELLYFIN.jellyfin_kodi.entrypoint.service -> INFO::jellyfin_kodi/entrypoint/service.py:81 Using dynamic paths: True
info <general>: JELLYFIN.jellyfin_kodi.entrypoint.service -> INFO::jellyfin_kodi/entrypoint/service.py:82 Log Level: 1
info <general>: JELLYFIN.jellyfin_kodi.monitor -> INFO::jellyfin_kodi/monitor.py:350 --->[ listener ]
info <general>: JELLYFIN.jellyfin_kodi.connect -> INFO::jellyfin_kodi/connect.py:34 --[ server/default ]
info <general>: JELLYFIN -> INFO::jellyfin_kodi/jellyfin/__init__.py:98 ---[ START JELLYFINCLIENT ]---
info <general>: JELLYFIN.jellyfin_kodi.jellyfin.connection_manager -> INFO::jellyfin_kodi/jellyfin/connection_manager.py:182 Begin connect
info <general>: JELLYFIN.jellyfin_kodi.jellyfin.connection_manager -> INFO::jellyfin_kodi/jellyfin/connection_manager.py:58 Begin getAvailableServers
info <general>: JELLYFIN.jellyfin_kodi.jellyfin.connection_manager -> INFO::jellyfin_kodi/jellyfin/connection_manager.py:244 Found Servers: [{'address': 'http://192.168.50.50:8005', 'id': 'c0c5ca849a9e44fd97d2b35b822ea799', 'name': ' 🛫飞牛影视 HomeNUC', 'endpointAddress': '192.168.50.50'}]
info <general>: JELLYFIN.jellyfin_kodi.entrypoint.service -> ERROR::jellyfin_kodi/entrypoint/service.py:156 'Id'
Traceback (most recent call last):
File "jellyfin_kodi/entrypoint/service.py", line 152, in start_default
self.connect.register()
File "jellyfin_kodi/connect.py", line 49, in register
new_credentials = self.register_client(
^^^^^^^^^^^^^^^^^^^^^
File "jellyfin_kodi/connect.py", line 100, in register_client
state = client.authenticate(credentials or {}, options or {})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "jellyfin_kodi/jellyfin/client.py", line 53, in authenticate
state = self.auth.connect(options or {})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "jellyfin_kodi/jellyfin/connection_manager.py", line 184, in connect
servers = self.get_available_servers()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "jellyfin_kodi/jellyfin/connection_manager.py", line 62, in get_available_servers
found_servers = self.process_found_servers(self._server_discovery())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "jellyfin_kodi/jellyfin/connection_manager.py", line 264, in process_found_servers
"Id": found_server["Id"],
~~~~~~~~~~~~^^^^^^
KeyError: 'Id'
也就是说,这个插件把飞牛影视当做了服务器,但是显然飞牛并不是Jellyfin,所以就出现了错误,也没法继续手动输入正确的服务器了。
复现过程:打开飞牛影视应用,打开电视端的Jellyfin for KODI,无法弹出服务器选择和登录界面,且此情况在影视APP更新支持Infuse版本之前并未遇到。停用飞牛影视,重置Jellyfin for KODI,能够正常弹出服务器选择和登录界面。与此同时,打开飞牛影视的情况下,电视端的Emby for KODI是能够正常工作的。
我看到有帖子说“飞牛影视似乎通过兼容Jellyfin协议实现了此功能”,大概问题是出在这里。
希望这个问题能够尽快地得到解决,谢谢!
|