-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
plugins.twitch: fix discontinuity warning spam #6022
plugins.twitch: fix discontinuity warning spam #6022
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll mark this as approved pending testing by the reporter.
This unfortunately didn't seem to work out, I appear to be getting warned of discontinuities that aren't actually happening after the initial pre-roll ad:
Here's a verbose log: |
Are you loading the right plugin version? I can't find any streams with the same playlist behavior, so I'm just relying on the added test data. See this test fixture (from the current PR version) which is the equivalent of this playlist data from your log output
Basically a simple discontinuity between two non-ad segments, which should be ignored, so it surprises me to see these warnings in your log output. |
Unless there's something somehow caching the previous version of the py file even though I overwrote it with the one from this PR, I should be using the right version. I'll try again some more later tonight. UPDATE: I cleared anything that could possibly look like some sort of cache, redownloaded the py from the PR and ran with it again and ended up with my terminal completely flooded with the same warning still.
|
I was running into stream discontinuity issues as well today and found this issue. I tested against this branch and it didn't help. These are actual discontinuities and not just spurious log messages. I run with I wonder if this might be an issue with low latency, because I tried without
|
Which means that both the Stream output pausing is related to ads filtering, so unless the ads detection is broken, this is working as intended. Without an "all" log output ( As said, I can't reproduce this, so this must only be the case for people who set authentication headers while being subscribed to certain channels. None of the "all" log outputs posted by @KynikossDragonn suggest any issues with prefetch segments (low latency segments). |
Had another look at the changes of this PR and I think I understand the issue with prefetch segments now. I'll fix this tomorrow once I get the time. It's way too late here now. |
c262b23
to
1267afe
Compare
I've updated the PR. Please re-check the new changes. As said, I don't see the discontinuities in any HLS playlists myself, so this is purely based on the |
I've so far not have the warning repetitively show up with the latest change so I think the issue is properly resolved now. |
Resolves #6015
Compared to #6016, this time it doesn't touch any ad filtering logic.
See #6015 (comment) why #6016 had to be reverted in #6019
@KynikossDragonn please check again if this does indeed fix all the discontinuty warning spam (apart from actual discontinuities between live and ad content)
https://github.com/streamlink/streamlink/blob/master/CONTRIBUTING.md#pull-request-feedback