diff --git a/lyric/lrc.go b/lyric/lrc.go index 1a29d4e..7d08420 100644 --- a/lyric/lrc.go +++ b/lyric/lrc.go @@ -23,8 +23,10 @@ func init() { } func looksLikeLRC(s string) bool { - if s[0] == 239 || s[0] == 91 { - return true + if s != "" { + if s[0] == 239 || s[0] == 91 { + return true + } } return false }