m3u8 parser for rust
Go to file
Sebastian Dröge f9b5420c0a Fix clippy warning
warning: useless conversion to the same type: `std::string::String`
   --> src/playlist.rs:415:77
    |
415 |             QuotedOrUnquoted::Unquoted(s) => Ok(ClosedCaptionGroupId::Other(String::from(s))),
    |                                                                             ^^^^^^^^^^^^^^^ help: consider removing `String::from()`: `s`
    |
    = note: `#[warn(clippy::useless_conversion)]` on by default
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
2022-10-28 11:04:01 +03: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 Fix clippy warning 2022-10-28 11:04:01 +03: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.