Skip to content

Add additional validation to decodeInfoLine#280

Open
bktz wants to merge 1 commit intotellytv:masterfrom
bktz:master
Open

Add additional validation to decodeInfoLine#280
bktz wants to merge 1 commit intotellytv:masterfrom
bktz:master

Conversation

@bktz
Copy link
Copy Markdown

@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
Copy Markdown
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