Skip to content

与Kodi 21.0不兼容? #14

@tomcatzh

Description

@tomcatzh

现象是安装后能够顺利登陆,顺利刷出列表,播放视频时出错,具体日志如下。

并且点击一次播放出错后,系统其实卡住了,播放其他插件,例如Youtube视频也失败

我的Linux是pve 8.2.2,内核为Linux pve 6.8.4-3-pve
Backport安装了Kodi 21.0 Git:20240414-notgitfound, Compiled: 2024-04-14

点击播放bilibili和youtube的日志如下

2024-06-05 11:08:25.275 T:504702 warning : CGUIWindowManager - HandleAction - ignoring action 107, because topmost modal dialog closing animation is running
2024-06-05 11:08:33.792 T:504702 info : Skipped 11 duplicate messages..
2024-06-05 11:08:33.792 T:504702 info : CVideoPlayer::CloseFile()
2024-06-05 11:08:33.792 T:504702 info : VideoPlayer: waiting for threads to exit
2024-06-05 11:08:33.794 T:507469 info : CVideoPlayer::OnExit()
2024-06-05 11:08:33.794 T:507469 info : Closing stream player 1
2024-06-05 11:08:33.794 T:507469 info : Waiting for audio thread to exit
2024-06-05 11:08:33.806 T:507475 info : thread end: CVideoPlayerAudio::OnExit()
2024-06-05 11:08:33.806 T:507469 info : Closing audio device
2024-06-05 11:08:33.856 T:507469 info : Deleting audio codec
2024-06-05 11:08:33.856 T:507469 info : Closing stream player 2
2024-06-05 11:08:33.857 T:504719 info : CActiveAESink::OpenSink - initialize sink
2024-06-05 11:08:33.857 T:507469 info : waiting for video thread to exit
2024-06-05 11:08:33.876 T:507473 warning : OutputPicture - timeout waiting for buffer
2024-06-05 11:08:33.876 T:507473 info : thread end: video_thread
2024-06-05 11:08:33.877 T:507469 info : deleting video codec
2024-06-05 11:08:33.877 T:507469 info : VAAPI::Close
2024-06-05 11:08:33.877 T:507592 info : COutput::OnExit: Output Thread terminated
2024-06-05 11:08:33.877 T:507469 info : VAAPI::Close - closing decoder context
2024-06-05 11:08:33.879 T:507469 info : ADDON: Dll Destroyed - InputStream Adaptive
2024-06-05 11:08:33.879 T:504702 info : VideoPlayer: finished waiting
2024-06-05 11:08:33.879 T:504702 info : CVideoPlayer::CloseFile()
2024-06-05 11:08:33.879 T:504702 info : VideoPlayer: waiting for threads to exit
2024-06-05 11:08:33.879 T:504702 info : VideoPlayer: finished waiting
2024-06-05 11:08:33.902 T:504702 error : Control 55 in window 10025 has been asked to focus, but it can't
2024-06-05 11:08:34.059 T:504719 info : CAESinkALSA::Initialize - Attempting to open device "hdmi:CARD=PCH,DEV=0"
2024-06-05 11:08:34.061 T:504719 info : CAESinkALSA::Initialize - Opened device "hdmi:CARD=PCH,DEV=0,AES0=0x04,AES1=0x82,AES2=0x00,AES3=0x00"
2024-06-05 11:08:34.061 T:504719 info : CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
2024-06-05 11:08:34.061 T:504719 info : CAESinkALSA::InitializeHW - Using data format AE_FMT_S32NE
2024-06-05 11:08:34.066 T:505134 info : [plugin.video.youtube] Running: YouTube (7.0.5) on Omega (Kodi-21.0) with Python 3.11.2
Path: /special/recommendations/
Params: {'category_label': 'Recommendations'}
2024-06-05 11:08:39.176 T:504702 info : Loading skin file: Custom_1100_AddonLauncher.xml, load type: KEEP_IN_MEMORY
2024-06-05 11:08:40.726 T:504702 info : Loading skin file: AddonBrowser.xml, load type: KEEP_IN_MEMORY
2024-06-05 11:08:43.801 T:504702 info : Loading skin file: FileBrowser.xml, load type: KEEP_IN_MEMORY
2024-06-05 11:08:53.759 T:504702 warning : CGUIWindowManager - HandleAction - ignoring action 107, because topmost modal dialog closing animation is running
2024-06-05 11:08:58.250 T:505132 info : Skipped 20 duplicate messages..
2024-06-05 11:08:58.250 T:505132 info : CAddonMgr::FindAddon: script.module.xbmcswift2 v19.0.7 installed
2024-06-05 11:09:04.232 T:505132 info : CAddonMgr::FindAddon: script.module.six v1.16.0+matrix.1 installed
2024-06-05 11:09:04.261 T:505132 info : CAddonMgr::FindAddon: script.module.qrcode v6.1.0+matrix.3 installed
2024-06-05 11:09:04.295 T:505132 info : CAddonMgr::FindAddon: plugin.video.bili v0.0.10 installed
2024-06-05 11:09:12.112 T:504702 error : Control 55 in window 10025 has been asked to focus, but it can't
2024-06-05 11:09:12.322 T:510212 info : [xbmcswift2] Request for "/" matches rule for function "index"
2024-06-05 11:09:14.473 T:510224 info : [xbmcswift2] Request for "/home/1/" matches rule for function "home"
2024-06-05 11:09:15.195 T:510224 warning : Setting most video properties through ListItem.setInfo() is deprecated and might be removed in future Kodi versions. Please use the respective setter in InfoTagVideo.
2024-06-05 11:09:22.143 T:510254 info : Skipped 11 duplicate messages..
2024-06-05 11:09:22.143 T:510254 info : [xbmcswift2] Request for "/video/BV1ZZ421p72X/1571222023/false/false/%E9%AB%98%E9%93%81%E6%B6%A8%E4%BB%B7%E5%B9%85%E5%BA%A6%E6%9C%80%E9%AB%9840%25%EF%BC%9F%E4%B8%BA%E4%BB%80%E4%B9%88%E6%B6%A8%E4%BB%B7%E7%9A%84%E6%98%AF%E8%BF%99%E5%9B%9B%E6%9D%A1%E7%BA%BF%E8%B7%AF%EF%BC%9F%E3%80%90%E5%B7%AE%E8%AF%84%E5%90%9B%E3%80%91/" matches rule for function "video"
2024-06-05 11:09:24.528 T:510188 error : 127.0.0.1 - - [05/Jun/2024 11:09:24] "HEAD /1571222023.mpd HTTP/1.1" 200 -

2024-06-05 11:09:24.531 T:504702 info : VideoPlayer::OpenFile: plugin://plugin.video.bili/video/BV1ZZ421p72X/1571222023/false/false/%E9%AB%98%E9%93%81%E6%B6%A8%E4%BB%B7%E5%B9%85%E5%BA%A6%E6%9C%80%E9%AB%9840%25%EF%BC%9F%E4%B8%BA%E4%BB%80%E4%B9%88%E6%B6%A8%E4%BB%B7%E7%9A%84%E6%98%AF%E8%BF%99%E5%9B%9B%E6%9D%A1%E7%BA%BF%E8%B7%AF%EF%BC%9F%E3%80%90%E5%B7%AE%E8%AF%84%E5%90%9B%E3%80%91/
2024-06-05 11:09:24.532 T:510188 error : 127.0.0.1 - - [05/Jun/2024 11:09:24] "HEAD /1571222023.mpd HTTP/1.1" 200 -

2024-06-05 11:09:24.532 T:510265 info : Creating InputStream
2024-06-05 11:09:24.533 T:510265 error : IAddonInstanceHandler::CreateInstance: inputstream.adaptive returned bad status "Permanent failure" during instance creation
2024-06-05 11:09:24.533 T:510265 error : CVideoPlayer::OpenInputStream - error opening [plugin://plugin.video.bili/video/BV1ZZ421p72X/1571222023/false/false/%E9%AB%98%E9%93%81%E6%B6%A8%E4%BB%B7%E5%B9%85%E5%BA%A6%E6%9C%80%E9%AB%9840%25%EF%BC%9F%E4%B8%BA%E4%BB%80%E4%B9%88%E6%B6%A8%E4%BB%B7%E7%9A%84%E6%98%AF%E8%BF%99%E5%9B%9B%E6%9D%A1%E7%BA%BF%E8%B7%AF%EF%BC%9F%E3%80%90%E5%B7%AE%E8%AF%84%E5%90%9B%E3%80%91/]
2024-06-05 11:09:24.533 T:510265 info : CVideoPlayer::OnExit()
2024-06-05 11:09:24.646 T:504702 info : Loading skin file: DialogConfirm.xml, load type: KEEP_IN_MEMORY
2024-06-05 11:09:24.648 T:504702 info : CVideoPlayer::CloseFile()
2024-06-05 11:09:24.648 T:504702 info : VideoPlayer: waiting for threads to exit
2024-06-05 11:09:24.648 T:504702 info : VideoPlayer: finished waiting
2024-06-05 11:09:54.517 T:510254 error : EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'Exception'>
Error Contents: No video playing. Aborted after 30 seconds.
Traceback (most recent call last):
File "/var/lib/kodi/.kodi/addons/plugin.video.bili/addon.py", line 2101, in
plugin.run()
File "/var/lib/kodi/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 338, in run
items = self._dispatch(self.request.path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/kodi/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 312, in _dispatch
listitems = view_func(**items)
^^^^^^^^^^^^^^^^^^
File "/var/lib/kodi/.kodi/addons/plugin.video.bili/addon.py", line 2093, in video
plugin.set_resolved_url(video_url, ass)
File "/var/lib/kodi/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/xbmcmixin.py", line 367, in set_resolved_url
self._add_subtitles(subtitles)
File "/var/lib/kodi/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/xbmcmixin.py", line 324, in _add_subtitles
raise Exception('No video playing. Aborted after 30 seconds.')
Exception: No video playing. Aborted after 30 seconds.
-->End of Python script error report<--

2024-06-05 11:09:54.529 T:504719 info : CActiveAESink::OpenSink - initialize sink
2024-06-05 11:09:54.529 T:504719 info : CAESinkALSA::Initialize - Attempting to open device "hdmi:CARD=PCH,DEV=0"
2024-06-05 11:09:54.569 T:504719 info : CAESinkALSA::Initialize - Opened device "hdmi:CARD=PCH,DEV=0,AES0=0x04,AES1=0x82,AES2=0x00,AES3=0x00"
2024-06-05 11:09:54.569 T:504719 info : CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
2024-06-05 11:09:54.569 T:504719 info : CAESinkALSA::InitializeHW - Using data format AE_FMT_S32NE
2024-06-05 11:09:57.147 T:504702 error : Control 55 in window 10025 has been asked to focus, but it can't
2024-06-05 11:09:57.382 T:510346 info : [plugin.video.youtube] Running: YouTube (7.0.5) on Omega (Kodi-21.0) with Python 3.11.2
Path: /
Params: {}
2024-06-05 11:10:09.246 T:510346 info : [plugin.video.youtube] Running: YouTube (7.0.5) on Omega (Kodi-21.0) with Python 3.11.2
Path: /special/recommendations/
Params: {'category_label': 'Recommendations'}
2024-06-05 11:10:10.917 T:510346 info : [plugin.video.youtube] Running: YouTube (7.0.5) on Omega (Kodi-21.0) with Python 3.11.2
Path: /play/
Params: {'video_id': 'V-UAV2JyYGk'}
2024-06-05 11:10:11.337 T:510346 warning : [plugin.video.youtube] Failed to retrieved video info - video_id: V-UAV2JyYGk, client: android, auth: True,
status: CONTENT_NOT_AVAILABLE_IN_THIS_APP, reason: 此视频不能观看
2024-06-05 11:10:18.199 T:504702 info : VideoPlayer::OpenFile: plugin://plugin.video.youtube/play/?video_id=V-UAV2JyYGk
2024-06-05 11:10:18.199 T:510437 info : Creating InputStream
2024-06-05 11:10:18.199 T:510437 error : IAddonInstanceHandler::CreateInstance: inputstream.adaptive returned bad status "Permanent failure" during instance creation
2024-06-05 11:10:18.199 T:510437 error : CVideoPlayer::OpenInputStream - error opening [plugin://plugin.video.youtube/play/?video_id=V-UAV2JyYGk]
2024-06-05 11:10:18.199 T:510437 info : CVideoPlayer::OnExit()
2024-06-05 11:10:18.315 T:504702 info : CVideoPlayer::CloseFile()
2024-06-05 11:10:18.315 T:504702 info : VideoPlayer: waiting for threads to exit
2024-06-05 11:10:18.315 T:504702 info : VideoPlayer: finished waiting
2024-06-05 11:10:25.363 T:504702 warning : CGUIWindowManager - HandleAction - ignoring action 107, because topmost modal dialog closing animation is running

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions