Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add additional validation to decodeInfoLine #280

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bktz
Copy link

@bktz bktz commented Nov 18, 2020

decodeInfoLine will crash if "EXTINF:-1" is found but the m3u is split into multiple lines.
This should skip records that only have "EXTINF:-1" and nothing else (which would be useless anyway).
So this does not fix the issue of having a record split into multiple lines but does prevent it from crashing the application.

I wasn't sure if this should be branched of master or dev. Let me know if I should re-submit the fix for dev if you find this fix acceptable.

@bktz bktz changed the base branch from master to dev November 18, 2020 02:56
@bktz bktz changed the base branch from dev to master November 18, 2020 03:06
@chazlarson
Copy link
Contributor

Master is really really dead at this point, so it should really be against dev.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants