m3u8 icon indicating copy to clipboard operation
m3u8 copied to clipboard

Added check that parameter name matches fully

Open olekhov opened this issue 4 years ago • 0 comments

Hello. I've encountered m3u8 playlist with custom header: #EXT-X-MEDIA-READY:7f659f6f09bce196d7 This header is erroneously parsed as #EXT-X-MEDIA header and gives this error: ValueError: not enough values to unpack (expected 2, got 1) at parser.py: 275

I think you should check that parameter string starts with exact parameter name, not just part of it. Here is PR that fixes this. test is also provided.

olekhov avatar Apr 14 '20 19:04 olekhov