mirror of
https://github.com/ikun0014/lx-music-mobile.git
synced 2025-07-03 08:02:09 +08:00
修复kw源某些歌曲的歌词提取异常的问题
This commit is contained in:
parent
e72be2f424
commit
ecd8b09a8d
@ -1,13 +1,4 @@
|
||||
### 优化
|
||||
|
||||
- 添加应用初始化出错时的错误捕获输出
|
||||
- 优化歌词自动换源机制
|
||||
|
||||
### 修复
|
||||
|
||||
- 修复因kw源歌词接口停用导致该源歌词获取失败的问题
|
||||
- 修复kw源某些歌曲的歌词提取异常的问题
|
||||
|
||||
### 其他
|
||||
|
||||
- 更新react-native到v0.66.3
|
||||
- 更新Exoplayer到v2.16.0
|
||||
|
@ -21,7 +21,12 @@ export default {
|
||||
}
|
||||
}
|
||||
if (lrc.length) {
|
||||
if ((lrcT.length - lrc.length) > (lrcT.length * 0.1)) { // 翻译比正文多则证明翻译可能有问题,直接将其丢弃
|
||||
lrc = lrcT
|
||||
lrcT = []
|
||||
} else {
|
||||
lrc.unshift(lrcT.shift())
|
||||
}
|
||||
} else {
|
||||
lrc = lrcT
|
||||
lrcT = []
|
||||
|
Loading…
x
Reference in New Issue
Block a user