m3u 0.0.3 m3u: ^0.0.3 copied to clipboard
M3U file parser.
M3U format parser #
Simple parser for M3U and M3U_Plus files.
How to use #
Currently the parser only supports full file parsing.
import 'package:m3u/Parser.dart';
main() async {
String playlistContent = <load_playlist>;
final playlist = await M3uParser.parse(file);
}
Missing features #
- Parse from a stream of data instead of a string
- Parse the number next to the EXTINF Ex:
#EXTINF:-1
- Parse info from the header
- Parse start track info
- Parse non string information ex:
aspect-ratio=4:3