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

Suddenly video playback fails - error fetching video manifest #71

Open
smirgol opened this issue Jun 15, 2024 · 3 comments
Open

Suddenly video playback fails - error fetching video manifest #71

smirgol opened this issue Jun 15, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@smirgol
Copy link
Owner

smirgol commented Jun 15, 2024

I'm not sure what is happening here, but after a while (I always suspend my Kodi), it suddenly fails to play any video.
Investigating the logs shows that inputstream is failing to retrieve the manifest for the video, but the credentials provided to the call should be all valid. A reboot fixes the issue 100%, but it really is annoying...

Not sure what is going on here and how to fix that, if anyone has an idea how to debug this further or even what is going on here / how to fix that, I'm all ears. :)

@Yavos
Copy link

Yavos commented Jun 19, 2024

I've run into this error too. Usually either waiting for a bit or reloading the plugin (opening another one, then cr again) fixes that for me.
The error seems to come from cr servers, probably with outdated data or something. Maybe in such cases a forced reload of the request (possibly including a re-login) could solve that? Not sure how to catch that error in code, though.

@justin-petermann
Copy link

Hi,
same problem, after few days of activity, error message when i play video.
i must reboot raspberry for working again.
If i found something, i'll post here.
best regards,
Justin.

@smirgol
Copy link
Owner Author

smirgol commented Jun 29, 2024

What's super annoying is that there seems to be no way to intercept this error and react on it.
The addon sets up inputstreamhelper and hands over the data for playback back to kodi and then, inside inputstreamhelper, there is a CCurl error, but I can't intercept it - at least I haven't figured out how.

Anyway, I fail to understand the issue in the first place. The authentication can't be outdated, since just a second ago I made a couple of authenticated calls to fetch all the necessary data. If the authentication would be outdated, it should have been updated already. There might be some weird and super unlikely racing condition, but then with another playback attempt it should work. But it doesn't. sighs

@smirgol smirgol added the bug Something isn't working label Jun 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants