不再丢弃酷我某些带翻译歌词

pull/1761/head
lyswhut 2024-01-06 20:14:56 +08:00
parent ce072ae9d3
commit 1fc5cf0aa5
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ export default {
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')
// if (lrc.length * 0.4 < lrcT.length) { // 翻译数量需大于歌词数量的0.4倍,否则认为没有翻译
// const tItem = lrc.pop()