Skip to content

moomoon/lyrics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lyrics

.LRC file parser

Usage

  FileLineReader reader = FileLineReader.fromStream(getAssets().open("lyric.lrc"));
  LyricGroup group = LyricGroup.builder().addItems(reader.parse(LyricItem.LineParser.Instance), LyricGroup.Policy.PickFirst).build();

Installation

Available via JitPack.

Step 1.

Add it in your root build.gradle at the end of repositories:

	allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}
	}

Step 2.

Add the dependency

	dependencies {
	        compile 'com.github.moomoon:lyrics:1.0.2'
	}