m3u8 parser for rust
Find a file
Vadim Getmanshchuk b0a9fe2625 When a manifest is incomplete or damaged, the contains_master_tag may go into infinite loop if is_master_playlist_tag_line detection hasn't had a chance to succeed.
Clippy recommendation is implemented to use `.is_none()` instead of comparing to literal `Option::None`.
Test added
2022-12-02 10:18:40 +02:00
.github/workflows Check cargo fmt on CI 2021-10-19 19:48:26 +02:00
examples Re-export all types from the crate root and remove the playlist sub-module 2021-11-18 15:00:01 +02:00
sample-playlists Require each M3U8 playlist to start with the #EXTM3U8 tag 2021-11-17 19:14:58 +02:00
src When a manifest is incomplete or damaged, the contains_master_tag may go into infinite loop if is_master_playlist_tag_line detection hasn't had a chance to succeed. 2022-12-02 10:18:40 +02:00
tests Parse PROGRAM-DATE-TIME and DATERANGE start/end as proper datetimes instead of strings 2022-07-21 10:34:57 +03:00
.gitignore Version 1.0.0 2016-06-03 20:56:45 +02:00
Cargo.toml Release 5.0.2 2022-09-23 20:16:57 +03:00
LICENSE LICENSE 2016-06-03 21:25:34 +02:00
masterplaylist.m3u8 Version 1.0.0 2016-06-03 20:56:45 +02:00
mediaplaylist.m3u8 Version 1.0.0 2016-06-03 20:56:45 +02:00
playlist.m3u8 Version 1.0.0 2016-06-03 20:56:45 +02:00
README.md Update readme 2022-04-09 12:59:07 +02:00

m3u8-rs

crates.io API

A Rust library for parsing m3u8 playlists (HTTP Live Streaming) link. Uses the nom library for all of the parsing.

Examples

Examples can be found in the examples folder.