过滤翻译歌词或罗马音歌词中只有“//”的行(#1499)
parent
de5e1d7274
commit
60f8f10bb5
|
@ -8,6 +8,7 @@
|
|||
### 优化
|
||||
|
||||
- 优化音效设置-环境音效启用、禁用时的操作效果显示,修复禁用环境音效时仍然可以调整增益、新增预设的问题
|
||||
- 过滤翻译歌词或罗马音歌词中只有“//”的行(#1499)
|
||||
|
||||
### 修复
|
||||
|
||||
|
|
|
@ -29,7 +29,8 @@ const parseExtendedLyric = (lrcLinesMap, extendedLyric) => {
|
|||
if (result) {
|
||||
const timeField = result[0]
|
||||
const text = line.replace(timeFieldExp, '').trim()
|
||||
if (text) {
|
||||
// https://github.com/lyswhut/lx-music-desktop/issues/1499
|
||||
if (text && text != '//') {
|
||||
const times = timeField.match(timeExp)
|
||||
if (times == null) continue
|
||||
for (let time of times) {
|
||||
|
|
Loading…
Reference in New Issue