.LRC file parser
FileLineReader reader = FileLineReader.fromStream(getAssets().open("lyric.lrc"));
LyricGroup group = LyricGroup.builder().addItems(reader.parse(LyricItem.LineParser.Instance), LyricGroup.Policy.PickFirst).build();
Available via JitPack.
Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Add the dependency
dependencies {
compile 'com.github.moomoon:lyrics:1.0.2'
}