m3u8-reader icon indicating copy to clipboard operation
m3u8-reader copied to clipboard

🔧 Fixed an issue where some m3u files could not be recognized correctly

Open tfx2001 opened this issue 5 years ago • 0 comments

The first line of some m3u files have whitespace characters, so the String.prototype.startsWith() method can't recognize it correctly. The string '#EXTM3U' should compare with a string which has been removed the leading whitespace characters.

tfx2001 avatar Aug 19 '19 03:08 tfx2001