-
Notifications
You must be signed in to change notification settings - Fork 55
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
MPTS not working for live inputstreams but working for recordings #219
Comments
@peak3d when you have some time could you possibly take a look? Due to recordings working correctly hoping this is something minor to fix. |
@phunkyfish will be most likely @ksooo who has more expereince with this inputstream addon. |
@hudokkow, I have disabled any addon initiated EPG updates on the branches you used to gather the logs. Should mean nothing extra that is EPG related after first minute or so of the log. If you get a chance to capture the logs again that would be great and they should be a bit cleaner. |
I'll try to do it tonight. |
I actually managed to clean the EPG logging from the logs to make them more readable: https://gist.github.com/phunkyfish/c6e267e57a703d0e44c4e97432415c02 |
Most obvious things I see is for inputstreams you see this with only data for a single program number.
And with no input streams you see each and every program: https://gist.github.com/phunkyfish/08f0d879925b990daa921c0d044453d3 Recording playback behaves similarly to using no inputstreams. |
Cool, saves me from doing it again tonight. |
Correct, and the addon stores this value per channel. It just doesn’t use it for anything. |
Yeah, saw the code after publishing above comment. 👍 |
So the entry point when not using inputstreams is (which works correctly):
But only a single property is set here, the stream URL:
Whereas when using inputstreams the entry point is:
Neither explicitly sets the PID, and I'm not seeing in the xbmc codebase (which I'm not that familiar with), what is done differently. I'm a bit stumped. |
@ksooo, any idea? ^^ |
Or even some pointers on the best place to start looking? It’s not easy to discern where in kodi core the entry points are. There must be logic somewhere that chooses the PID and it must differ between the 2 paths. Will keep digging in the meantime. |
PR for kodi combined with a change to the addon can fix this. Just waiting for feedback on the above PR for kodi. It will mean waiting for kodi 18.3 (assuming the PR gets merged). |
Closing, please see #237 for solution. |
When using certain providers in europe that leverage MPTS, such as NOS in portugal these channels will not open a live inputstream (i.e
bHandlesInputstream
is true andGetChannelStreamProperties
andGetRecordingStreamProperties
not implemented).Note that the addon changed from simply passing a URL to kodi pvr to using live streams which caused this to break (in order to support timeshift etc.). The strange thing is a recording will play back just fine, even though recordings for Enigma2 are just raw stream dumps and also use inputstreams.
The following gist contains the logs based on matrix (this also occurs in Leia). The logs provided show:
https://gist.github.com/phunkyfish/887e6e7924b074e2e77adebd4f0b4fb4
This issue is directly related to #208 and may also be related to #195 (although this could be an extended use case of #208).
Thanks to @hudokkow for borrowing an Enimga2 stb and providing the logs.
The text was updated successfully, but these errors were encountered: