Skip to content

Conversation

@MSOB7YY
Copy link

@MSOB7YY MSOB7YY commented Aug 15, 2024

This PR contains the following:

  • core: remove ^..*$ pattern from Lrc.isValid()

    • this was causing the vm to hang while checking some lyrics
  • perf: use StringBuffer for formatting lrc (in Lrc.format())

    • instead of recreating new String on each concat
  • feat: parse multi-timestamp lyrics

    • lyrics lines like [00:29.02][00:44.02]Line 3 lyrics will get parsed properly, and sorted if needed
  • some refactor & adding test

thanks for this awesome package btw, i don't mind if this pr didn't get merged, just thought it might be helpful.

pls note i have only tested with normal synced lyrics. the pr might need more tests with other types like extended & enhanced

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant