feat(AndroidLyric): 新增本地 TTML 歌词目录扫描#2
Merged
Re-BeiChen merged 4 commits intoApr 25, 2026
Conversation
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.
📌 变更类型
📝 变更说明
新增 Android 本地 TTML 歌词目录授权与扫描能力。用户可在「设置 - 歌词设置」中添加歌词目录,应用会扫描目录内 TTML 文件,并通过文件元数据中的网易云 ID 建立歌曲歌词索引。
播放歌曲时会优先读取已索引的本地 TTML 歌词,用于覆盖在线歌词。设置页支持重新扫描、删除授权目录、查看扫描统计。
🔗 关联 Issue
Closes #
📱 影响范围
✅ 自检清单
masterpnpm lint且无 warningpnpm typecheck且无报错📸 截图 / 录屏 (UI 类 PR 必填)
🧪 测试方式
💬 其他说明 (选填)
TTML 文件需要在元数据中包含网易云 ID 才能匹配歌曲。当前仅支持 Android 端通过系统目录授权读取本地 TTML。