蓝牙歌词增加显示翻译或罗马音功能#980
Open
zkrong1 wants to merge 3 commits into
Open
Conversation
3gf8jv4dv
reviewed
Feb 26, 2026
Co-authored-by: 3gf8jv4dv <3gf8jv4dv@gmail.com>
Owner
|
我看了这个,勾选蓝牙的罗马音或者翻译后原始歌词就会被覆盖?而且从实现看起来蓝牙歌词的 原文、罗马音、翻译 应该是互斥的吧? 这样实现是有问题的, 在解析扩展歌词时,如果时间标签相同就放进去,所以意味着如果某个时间标签的翻译某行没有时,但罗马音有,就会出现第一个为罗马音的情况,我看了原来的实现,勾选翻译或者罗马音时就会重新设置并解析歌词,依赖的是是否将某种扩展歌词设置进去解析 |
Author
蓝牙歌词一次只能推一行,所以是互斥的,只能选择显示一种;extendedLyrics的问题感谢指出;我还发现这一版还存在另外一个问题,会导致桌面歌词一直显示原文+罗马音+翻译,我过几天再改动一版 |
Author
|
@lyswhut 麻烦看下最新这个改动是否还有问题,谢谢
|
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.
针对 #979
设置里勾选“显示蓝牙歌词”选项后,会增加“蓝牙歌词显示翻译(如果可用)”、“蓝牙歌词显示罗马音(如果可用)”两个选项
App 内的显示歌词翻译/罗马音设置不影响蓝牙推送