web info first version/fix some lyric not update/update translation.json/fix some media in history list cann't be played again

This commit is contained in:
Aynakeya
2022-07-18 20:37:00 -07:00
parent 24457e0acd
commit 2b7151e1d2
9 changed files with 39 additions and 6 deletions

View File

@@ -41,6 +41,9 @@ func (l *Lyric) Reload(lyric string) {
for index, time := range times {
lrcs[index] = tmp[time]
}
if len(lrcs) == 0 {
lrcs = append(lrcs, LyricLine{Time: 0, Lyric: ""})
}
lrcs = append(lrcs, LyricLine{
Time: 99999999999,
Lyric: "",