-
Notifications
You must be signed in to change notification settings - Fork 130
Rich Lyric View #851
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Rich Lyric View #851
Conversation
|
@Friendlygamemaker Thank you for this pull request! I have reviewed the code and have a few questions: In lyricsService.getLyricsAsync, a check on this.showRichLyrics defines which type of lyrics and in which order they are processed. The priority of reading embedded and file lyrics is different. Why is that? In LrcLyricsGetter.getLyricsAsync, won't the following code crash if there is no timestamp in the line? I'd expect lineParts[1] to be undefined in that case. |
We change the priority of the lyrics read so that we can look specifically for lyrics with timestamps first.
you're absolutely right I may need to add safe guards to make sure the program throws properly and doesn't crash the program. However, a valid LRC file should have timestamps. Sorry for the late response. Thanks for looking at my pull request. |
|
This should prevent the program from crashing. |
|
@Friendlygamemaker Sorry for the delay in processing your PR. I'm planning it for version 3.0.2. I'm currently finishing up the work for 3.0.1. |
better lyric view using timestamps from lrc file
reads from SRT files and does karaoke style lyrics
can choose how many lines appear on screen
can choose what size the lines should be
font size scales down to fit on screen
feel free to reach out with feedback or suggestions