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

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

$
0
0
Alright, after having slept on it I approached this a bit differently and managed to write the formulas in a way that allows for either of the "line always in the chosen vertical position" and "line in the chosen position only when not at the start or end of the lyrics" variants to be chosen, by simply changing the value of one of the two variables that I included in an improved version of the sample skin earlier (LockLine = 0 for the 2nd variant, 1 for the 1st variant; LockPerc = decimal percentage starting from the top of the lyrics container where the line should stay):

[...]

What's probably left to do if desired is to allow horizontal scrolling too, in case the lyrics lines are too long to fit the container (considering that wrapping them has unwanted effects on computing the line height, aka #LineH#). I suppose that would work best on mouse hovering near the left and right sides of the container, since mouse scrolling on the container is already populated by the vertical scrolling. I'll let you do that if you want, since it's trivial to change the X of [LyricsText] from some MouseOverAction / MouseLeaveAction in [LyricsContainer] (the result should be clamped though, so that it doesn't go forever).
This is the most amazing thing I've seen today. Thanks for this! :thumbup:

Regarding the lyrics lines being too long, I've actually been trying to figure out how to filter out the timestamps in the lyrics without messing up the sync and karaoke features. I don't mind writing the Lua for the timestamp filter if needed, but I have no idea which section variable to put it in. I also considered just using the lyrics without the timestamps from the LRCLIB API and connecting them with [LyricsText]. While it syncs, it messes up the karaoke function. :???:

Statistics: Posted by Rhyuno — Yesterday, 10:17 am



Viewing all articles
Browse latest Browse all 1587

Trending Articles