Skip to content

fix: IINA 1.4.4 plugin compatibility#256

Open
MidnightRoom wants to merge 1 commit into
xjbeta:masterfrom
MidnightRoom:fix/iina-1.4.4-plugin-compat
Open

fix: IINA 1.4.4 plugin compatibility#256
MidnightRoom wants to merge 1 commit into
xjbeta:masterfrom
MidnightRoom:fix/iina-1.4.4-plugin-compat

Conversation

@MidnightRoom

Copy link
Copy Markdown

IINA 1.4.4 no longer delivers 'iina.file-started' events to plugins, and URL-scheme mpv_script-opts are not passed through to mpv.

This causes Bilibili videos to only play the 15-second empty.m4a placeholder with no video/audio (#255).

Changes

  • YouGetJSON.swift: Put full iinaPlusArgs hex in video.mp4? URL query (previously only last 25 chars as suffix check)
  • AppDelegate.swift: Add @MainActor to fix Sparkle init on Swift 6 strict concurrency

Related

Requires companion fix in iina-plugin-danmaku main.js: use mpv.addHook('on_load') to intercept file loading.

Fixes #255


Generated with assistance from glm

IINA 1.4.4 no longer delivers 'iina.file-started' events to plugins,
and URL-scheme mpv_script-opts are not passed through to mpv.

- YouGetJSON.swift: put full iinaPlusArgs hex in video.mp4 URL query
  (previously only last 25 chars as suffix check)
- AppDelegate.swift: add @mainactor to fix Sparkle init on Swift 6

Fixes xjbeta#255
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

b站视频、直播url解析给iina加载不出来

1 participant