-
Notifications
You must be signed in to change notification settings - Fork 4
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
Arbitrarily, Lua throws a nil value
and ceases message generation
#17
Comments
I suspect it's due to network issue, either on Twitch server side or your client side. I can't reproduce the issue. Anyways, I found an issue related to seeking and posted a fix. Try it. |
I got the updated |
Still can't make the error show up. I'm pretty sure it's either your network being unstable sometimes, or Twitch just throttles you. BTW, does the issue happen only on specific channels (like with lots of chat messages) or all channels even with low number of chats? |
Sure. I just added some debugging messages to the new |
Sure thing. The request is identical across both mpv's log and a manually reconstructed curl. The request:
and the response:
So it seems I'm failing "integrity checks". Could this have something to do with my extremely legitimate Client-ID perhaps? |
As I mentioned in #16 (comment), currently you do not have to supply your own client ID to get it working. Have you tried removing your own ID? Now I see how an error could be returned, I could add some logic to handle this error. See if the latest commit would properly show you the error instead of crashing. |
Seems like the "multiple sub tracks" bug was fixed by the test branch, but not the ignored config, but thanks anyway :) |
Are you referring to #16 (comment)? I have no problem configuring the script. I suggest give a read of the doc.
You need to do a seek to re-trigger the loading function. I suppose the issue is "fixed" by itself. I added the error handling to the master branch. |
Initially I thought this had something to do with seeking backwards, but I was able to trigger this without seeking more than once... Here's a couple examples of the effect:
Here's an mpvlog.txt.
Particularly:
The text was updated successfully, but these errors were encountered: