Support Enhanced LRC format + additional QOL features (Part I)#5
Support Enhanced LRC format + additional QOL features (Part I)#5mebtte merged 22 commits intomebtte:masterfrom
Conversation
|
@Nafeij Thanks for contributing. Supporting enhanced format is a good idea, but i think it's usage may be less than simple format and compatibility with enhanced format will be slow down |
|
20/4/23
|
|
I think |
|
|
|
According to wiki, |
|
Rewrite |
|
I think |
|
From the wiki, enhanced lrc format is |
|
It seems |

Enhanced LRC support
20/4/23
enhanced: parse entire input as Simple or Enhanced LRC. default false.strip: ignore empty lines. default false.25/4/23
toString: inverse ofparse; returns valid lrc for given list of Line objects.expand: alias fortoString(parse(lrc: string))The use case for this is to 'unroll' or 'expand' lines with repeat-timestamps into separate lines. This is straightforward to implement as
parsealready does this when building the Lrc list. This is especially useful for Enhanced Lrc as repeating timestamps are not supported by the specification.Misc
preparescript to support sideloading from git repos.This should be backwards-compatible with previous versions.
Note: This PR is required before merging Part II.