Closed alaintxu closed 10 years ago
Thanks @alaintxu . I didn't know there may be an offset attribute in a lyric file. You taught me :smiley:
Thanks @wayou ! This is a very good job you made with this project. Thank you very much and thank you for accepting my pull request ;) .
Also, there is more info you can take from the lrc file if you want (http://en.wikipedia.org/wiki/LRC_%28file_format%29):
[ar:Lyrics artist] [al:Album where the song is from] [ti:Lyrics (song) title] [au:Creator of the Songtext] [length:How long the song is] [by:Creator of the LRC file] [offset:+/- Overall timestamp adjustment in milliseconds, + shifts time up, - shifts down]
[re:The player or editor that created the LRC file] [ve:version of program]
Best Alain
If the lrc file is not well syncronized with the beggining of the song "offset" is used. This modification gets the offset from the lrc file and adds it to the time each line has to be shown.