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

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

$
0
0
So, are you still interested in this? You know, to not work on it pointlessly. I've been a bit busy the last few days so I didn't get the time to finish the sample, but if you want, I could - I didn't forget about it, and it's not a problem. ;-)
Yes, I'm still very interested in this. I've been a bit busy lately since I'm still attending college. I actually thought about it and tried to program this, but I've had trouble using RegExp to get the timestamp in the [MeasureGetSyncedLyrics]. I used RegExp="(\[\d{1,2}:\d{2}(?:\.\d{1,2})?\])", but it's only retrieving one timestamp. My plan was to retrieve all the timestamps and put them in a .txt file that updates and changes every time the song changes.

Huge thanks for the references you gave me; I understood the logic with IfMatchActions. I'm planning to use the .txt file with all the timestamps and match it with [MeasurePosition], changing the Y value to scroll the lyrics.

I've realized a significant flaw in this method: it's not connected with [MeasureProgress]. This means that if this method works and I try skipping to a specific timestamp in the song, the lyrics won't sync with the song. But that will be a problem for another day.

I went with the RegExp Substitute / IfMatch method, as I'm not really familiar with or have any experience in programming in Lua. I really appreciate all the help I'm receiving on this one. :D

Statistics: Posted by Rhyuno — Today, 4:18 pm



Viewing all articles
Browse latest Browse all 1748

Trending Articles