Skip to content

Skip current producer task when MediaParts is empty, in order to retry in the next fetch#602

Open
qwer-lives wants to merge 1 commit intonilaoda:mainfrom
qwer-lives:continue-when-playlist-malformed
Open

Skip current producer task when MediaParts is empty, in order to retry in the next fetch#602
qwer-lives wants to merge 1 commit intonilaoda:mainfrom
qwer-lives:continue-when-playlist-malformed

Conversation

@qwer-lives
Copy link
Copy Markdown
Contributor

I have had this happen for some livestreams (on Chzzk). Sometimes the server sends a slightly malformed playlist and the extractor is not able to parse it correctly. What currently happens is that the task crashes silently on trying to access MediaParts[0], which leaves the consumer task waiting for input forever.

This change attemps to remedy this by ignoring the malformed playlist and trying on the next fetch.

@nilaoda nilaoda force-pushed the main branch 2 times, most recently from d1bea34 to e53faf6 Compare October 27, 2025 14:20
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.

1 participant