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

Understanding LG TV Subscribe Method #217

Open
jaruba opened this issue Jun 2, 2024 · 0 comments
Open

Understanding LG TV Subscribe Method #217

jaruba opened this issue Jun 2, 2024 · 0 comments

Comments

@jaruba
Copy link

jaruba commented Jun 2, 2024

Hi @yumata , I hope you're doing well, I'm the dev lead at Stremio, we talked some years ago on telegram (not sure if you remember)

I was hoping we could get your input on an issue we have in Stremio, the WebOS video player (available at: https://github.com/Stremio/stremio-video/blob/master/src/WebOsVideo/WebOsVideo.js ) uses very similar logic to the Lampa video player.

What we do is:

I've been trying to figure out what the issue is with our implementation for weeks but had no success, so I'm writing you in hopes that you could help us figure it out.

Sometimes the subscribe method fails with {"errorCode":0,"returnValue":false,"errorText":"No Error","mediaId":"<invalid mediaId>"} (retrying seems to fix this though..) other times it fails with {"serviceName":"com.webos.pipeline._2aviVu524UNA9e","returnValue":false,"errorCode":-1,"errorText":"com.webos.pipeline._2aviVu524UNA9e is not running."} (this one sometimes retrieves sourceInfo, but not always) and there are even times where there is no error at all, yet it still does not get sourceInfo

Users say that if they close the stream and start it again a few times, the sourceInfo is retrieved correctly at some point.

What we noticed is that when it does not work at all, the result.bufferRange always shows 0 for details. (it is like it doesn't try to load the video at all)

Here is an example of logs when it does not work: (and had no error)
Screenshot 2024-06-02 at 11 53 12

And here is an example of logs when it does work:
Screenshot 2024-06-02 at 11 52 59

We're really hoping that you could offer some clues on getting this working properly, thanks in advance!

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

No branches or pull requests

1 participant