不再丢弃酷我某些带翻译歌词
This commit is contained in:
parent
ce072ae9d3
commit
1fc5cf0aa5
@ -166,7 +166,7 @@ export default {
|
|||||||
if (!isLyricx && lyricxTag.test(item.text)) isLyricx = true
|
if (!isLyricx && lyricxTag.test(item.text)) isLyricx = true
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isLyricx && lrcT.length > lrc.length * 0.3) {
|
if (!isLyricx && lrcT.length > lrc.length * 0.3 && lrc.length - lrcT.length > 6) {
|
||||||
throw new Error('failed')
|
throw new Error('failed')
|
||||||
// if (lrc.length * 0.4 < lrcT.length) { // 翻译数量需大于歌词数量的0.4倍,否则认为没有翻译
|
// if (lrc.length * 0.4 < lrcT.length) { // 翻译数量需大于歌词数量的0.4倍,否则认为没有翻译
|
||||||
// const tItem = lrc.pop()
|
// const tItem = lrc.pop()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user