Open
Conversation
- 在 `build.gradle.kts` 和 `libs.versions.toml` 中添加 `com.github.HChenX:SuperLyricApi` 依赖。 - 在 `AndroidManifest.xml` 中添加 `tools:overrideLibrary` 声明以适配库引入。 - 在 `LyricPrefs` 和 `LyricSettings` 中增加 `superLyricApiEnabled` 配置项。 - 在 `LyricManager` 中实现 `SuperLyricApi` 的注册、反注册以及歌词数据的实时发送逻辑,支持逐字歌词 (Per-word lyric) 传输。 - 在设置页面增加 `SuperLyricApi` 的开关控制及 API 版本显示。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
build.gradle.kts和libs.versions.toml中添加com.github.HChenX:SuperLyricApi依赖。AndroidManifest.xml中添加tools:overrideLibrary声明以适配库引入。LyricPrefs和LyricSettings中增加superLyricApiEnabled配置项。LyricManager中实现SuperLyricApi的注册、反注册以及歌词数据的实时发送逻辑,支持逐字歌词 (Per-word lyric) 传输。SuperLyricApi的开关控制及 API 版本显示。SuperLyricApi 是本人的一个获取音乐软件歌词并进行广播的 API,希望能适配本应用,为接收端提供歌词数据,万分感谢!