Skip to content

集成 SuperLyricApi 以支持发布歌词#373

Open
HChenX wants to merge 1 commit intorRemix:composefrom
HChenX:compose
Open

集成 SuperLyricApi 以支持发布歌词#373
HChenX wants to merge 1 commit intorRemix:composefrom
HChenX:compose

Conversation

@HChenX
Copy link
Copy Markdown

@HChenX HChenX commented Apr 8, 2026

  • build.gradle.ktslibs.versions.toml 中添加 com.github.HChenX:SuperLyricApi 依赖。
  • AndroidManifest.xml 中添加 tools:overrideLibrary 声明以适配库引入。
  • LyricPrefsLyricSettings 中增加 superLyricApiEnabled 配置项。
  • LyricManager 中实现 SuperLyricApi 的注册、反注册以及歌词数据的实时发送逻辑,支持逐字歌词 (Per-word lyric) 传输。
  • 在设置页面增加 SuperLyricApi 的开关控制及 API 版本显示。

SuperLyricApi 是本人的一个获取音乐软件歌词并进行广播的 API,希望能适配本应用,为接收端提供歌词数据,万分感谢!

- 在 `build.gradle.kts` 和 `libs.versions.toml` 中添加 `com.github.HChenX:SuperLyricApi` 依赖。
- 在 `AndroidManifest.xml` 中添加 `tools:overrideLibrary` 声明以适配库引入。
- 在 `LyricPrefs` 和 `LyricSettings` 中增加 `superLyricApiEnabled` 配置项。
- 在 `LyricManager` 中实现 `SuperLyricApi` 的注册、反注册以及歌词数据的实时发送逻辑,支持逐字歌词 (Per-word lyric) 传输。
- 在设置页面增加 `SuperLyricApi` 的开关控制及 API 版本显示。
@HChenX HChenX changed the title 集成 SuperLyricApi 以支持第三方歌词显示 集成 SuperLyricApi 以支持发布歌词 Apr 9, 2026
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.

1 participant