mirror of
https://github.com/zhaarey/apple-music-downloader.git
synced 2025-10-23 15:11:05 +00:00
fixup! fix: adapt lrc two digit ms standard
This commit is contained in:
@@ -1291,7 +1291,7 @@ func conventTTMLToLRC(ttml string) (string, error) {
|
||||
}
|
||||
m += h * 60
|
||||
ms = ms / 10
|
||||
lrcLines = append(lrcLines, fmt.Sprintf("[%02d:%02d.%03d]%s", m, s, ms, text))
|
||||
lrcLines = append(lrcLines, fmt.Sprintf("[%02d:%02d.%02d]%s", m, s, ms, text))
|
||||
}
|
||||
}
|
||||
return strings.Join(lrcLines, "\n"), nil
|
||||
|
||||
@@ -1291,7 +1291,7 @@ func conventTTMLToLRC(ttml string) (string, error) {
|
||||
}
|
||||
m += h * 60
|
||||
ms = ms / 10
|
||||
lrcLines = append(lrcLines, fmt.Sprintf("[%02d:%02d.%03d]%s", m, s, ms, text))
|
||||
lrcLines = append(lrcLines, fmt.Sprintf("[%02d:%02d.%02d]%s", m, s, ms, text))
|
||||
}
|
||||
}
|
||||
return strings.Join(lrcLines, "\n"), nil
|
||||
|
||||
Reference in New Issue
Block a user