lyrics_parser 1.0.0-nullsafety.0 lyrics_parser: ^1.0.0-nullsafety.0 copied to clipboard
.lrc file parser and lyrics tracker.
import 'dart:io';
import 'package:lyrics_parser/lyrics_parser.dart';
void main(List<String> args) async {
final file = File('./resources/See You Again.lcr');
final parser = LyricsParser.fromFile(file);
await parser.ready();
final result = await parser.parse();
for (final lyric in result.lyricList) {
print('${lyric.startTimeMillisecond}: ${lyric.content}');
}
}