diff --git a/NEMbox/ui.py b/NEMbox/ui.py index 650bc98..8ef7376 100644 --- a/NEMbox/ui.py +++ b/NEMbox/ui.py @@ -184,7 +184,7 @@ def build_playinfo( def update_lyrics(self, now_playing, lyrics, tlyrics): - timestap_regex = r"\d\d:\d\d\.[0-9]*" + timestap_regex = r"[0-5][0-9]:[0-5][0-9]\.[0-9]*" def get_timestap(lyric_line): match_ret = re.match(r"\[(" + timestap_regex + r")\]", lyric_line)