-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Adapt LrcLyricParser to new LrcParser version #14263
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
Conversation
As an aside: while working with the new API on a client, I honestly missed an end position/width from the cues. This was originally part of the PR adding ELRC support, but removed due to a potential misunderstanding. Without this field, clients always have to query both the current and the next cue to extract the current slice, which creates unnecessary boilerplate. Thus, I suggest adding back a If desirable, I can handle this change as part of the current PR. |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This also fixes positions getting incorrectly parsed in the ELRC cues, and removes the broken white space workaround. Fixes jellyfin#14254
PR has been updated to use the new library and adapt the current code to work with it. Might need a bit more testing, but is ready for an initial review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ API changes (discussed in chat to include them in 10.11)
Changes in OpenAPI specification found. Expand to see details.What's Changed
|
ABI Difference
|
As described in #14254, the positions returned with the ELRC cues are currently incorrect due to whitespace removal. After fixing some parsing issues in the upstream parser library, this PR updates the LrcLyricParser to work with the new library version and removes the white space workaround. As a result, the ELRC cues are finally correct.
Changes
This also fixes positions getting incorrectly parsed in the ELRC cues, and removes the broken white space workaround.
Issues
Fixes #14254.