You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your extension (Beautiful Lyrics) on some songs, parses them with Aligment issues.
This means that when a line that's being Sung by a different artist in the song, the line may not be correctly aligned to the "Opposite Side".
For comparison:
Beautiful Lyrics:
Apple Music Lyrics:
What is your Suggestion?
So that's why I want to contribute by providing this code that has "Better Aligment" (Compared to Beautiful Lyric's current parser) on parsing Apple's TTML format (The source format of fetched lyrics).
It checks if there's and agent with the type of "other", if there is, it makes the line "OppositeAligned" when the agentId equals to "v2" or if agentId equals to "v2000" and agentType is "other". If there isnt an "other" agent, it make the line "OppositeAligned" when the agentId equals to "v2" or the agentType equals to "group".
After all this is just a suggestion, and doesn't ACTUALLY need to be included in the API. 😊
Suggestion Checklist
You clearly titled/explained your Suggestion.
You accurately described/contextualized the reasoning behind your Suggestion.
IF applicable to your Suggestion, you provided visual examples/references to accurately represent what you are Suggesting.
The text was updated successfully, but these errors were encountered:
What are you Suggesting?
an Improvement
What is the context behind this Suggestion?
Your extension (Beautiful Lyrics) on some songs, parses them with Aligment issues.
This means that when a line that's being Sung by a different artist in the song, the line may not be correctly aligned to the "Opposite Side".
For comparison:
Beautiful Lyrics:
Apple Music Lyrics:
What is your Suggestion?
So that's why I want to contribute by providing this code that has "Better Aligment" (Compared to Beautiful Lyric's current parser) on parsing Apple's TTML format (The source format of fetched lyrics).
The following code is only for the API
The most crucial part is this:
It checks if there's and agent with the type of "other", if there is, it makes the line "OppositeAligned" when the agentId equals to "v2" or if agentId equals to "v2000" and agentType is "other". If there isnt an "other" agent, it make the line "OppositeAligned" when the agentId equals to "v2" or the agentType equals to "group".
After all this is just a suggestion, and doesn't ACTUALLY need to be included in the API. 😊
Suggestion Checklist
The text was updated successfully, but these errors were encountered: