Fixed M3U parser for last lines ending without a newline.
This commit is contained in:
parent
3751904cb4
commit
82905a8cdd
@ -177,7 +177,7 @@ void Playlist::_parse_m3u(HTTPClientWrapper* http) {
|
||||
do {
|
||||
i = http->read();
|
||||
char c = i;
|
||||
if (i>=-1 && c!='\r' && c!='\n') {
|
||||
if (i>=0 && c!='\r' && c!='\n') {
|
||||
line += c;
|
||||
} else {
|
||||
if (line.equals("#EXTM3U")) {
|
||||
|
Loading…
Reference in New Issue
Block a user