Closed yoshiask closed 2 years ago
Looks like opening the repo has uncovered a new issue in our build validation when it runs a fork. I'll have to fix this before closing this off.
/azp run
Tests have all run and passed on my machine successfully. Waiting on DevOps for other build validation.
Overview
Closes #137
This PR adds and extra control flow in the M3U parser that ignores empty lines (which previously would have caused parsing to fail entirely, see linked issue). Note that it checks for null or whitespace, rather than simply checking line length. This is because empty lines will skip the
line[0] == '#'
branch and attempt to create aUri
, which will always fail if the line is empty. Since we have to check for line length anyway, we might as well skip all whitespace lines.Checklist
This PR meets the following requirements:
Additional info
Not provided