Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 1590

Bugs & Feature Suggestions • Re: [Friendly Resource] If PlayerType=Lyrics needs an update, LRCLIB can be used

$
0
0
And...done, all in a single measure using the full power of regexing the timestamped lines to bangs and a bit of nested syntax and escaping for variables! I still have to tweak one or two things mainly related to visuals (make the two redraws on skin refresh a single one, implement horizontal scrolling for long lines), but otherwise the code is complete:
[...]
Displaying timestamps is controlled via the TrimStamp variable (0 to show them, 1 to hide them). Any other potential additions or corrections will be done through edits on this post.
Thanks a lot! By the way, just a question—what does each of these lines do?

Code:

OffsetX=0OffsetY=0LastStamp=0LineTotal=0LineStart=0LineCount=0LineHeight=0
Also, just a suggestion to improve the experience of using the skin—I think it would be cool if we could add a feature where you could click on a line of the lyrics, and the song would skip to the time when that lyric is played. Another suggestion is that when a lyric line is too long for the skin, it would look better if, instead of scrolling horizontally on the x-axis, the lyric will just continue onto the next line. But overall, this skin is almost done. At this point, only small tweaks will be made when bugs are encountered. :thumbup:

Statistics: Posted by Rhyuno — Yesterday, 9:54 am



Viewing all articles
Browse latest Browse all 1590

Trending Articles