Anton Eicher
e3b6390186
EXTINF tags need to be in floating-point format to work with AWS Elemental MediaConvert
...
AWS Elemental MediaConvert rejects playlists with EXTINF tags that are not in floating point format. When m3u8 MediaSegment self.duration is an exact number without trailing decimals, writeln cuts off the decimal places and prints it like an integer.
This change adds support for fixed length floating point numbers.
2024-02-14 16:29:47 +02:00
Sebastian Dröge
65c295ee02
Require each M3U8 playlist to start with the #EXTM3U8 tag
...
The RFC requires this to be the very first line of every master/media
playlist, and without this we would be parsing arbitrary text files as
playlist without erroring out.
See https://datatracker.ietf.org/doc/html/rfc8216#section-4.3.1.1
Fixes https://github.com/rutgersc/m3u8-rs/issues/27
2021-11-17 19:14:58 +02:00
c1ff2b3730
Support parsing of unknown tags on segments
2021-10-12 23:06:47 +02:00
rutgersc
302ff22f31
Merge pull request #21 from rutgersc/fix/alternatives
...
Move alternatives to MasterPlaylist
2021-04-20 18:47:33 +02:00
Rutger Schoorstra
087c47bddd
Fix consume_line
not returning line when line doesn't end with a newline
2021-04-18 11:59:31 +02:00
Rutger Schoorstra
57d60ba438
Move alternatives to MasterPlaylist
2021-04-16 21:20:30 +02:00
Jan Schmidt
978e6a7e58
Handle blank lines when checking for master playlist tags.
...
Fix a bug where a blank line in a master playlist before the first
master playlist tag will make the parser think it's a media playlist.
Fixes #17
2021-03-17 06:41:35 +11:00
Rutger
d7c452fe78
Fixed a bug where the parser fails when the playlist does not end with a newline.
2016-09-10 13:22:13 +02:00
Rutger
41ce460d90
Version 1.0.0
2016-06-03 20:56:45 +02:00