[Kodi] Allow live streams to be recognized as paused#14623
[Kodi] Allow live streams to be recognized as paused#14623lwis merged 1 commit intohome-assistant:devfrom quthla:fix_kodi
Conversation
|
I can't see how that is related especially to live streams? Every other non live stream could be buffering as well. Is it even confirmed that speed gets set to 0 when buffering happens? I can't remember having seen that happening yet. The official Kodi webinterface determines player state also only by speed == 0 so I think we should stick with that. |
|
Those are valid points, but please don't open new PRs to avoid the review process. |
|
That was never my intention. I made the original PR with the GitHub web editor and was unsure if I could edit that as there was a mistake in it. |
|
Ah, I see. No worries. Sorry I jumped to that conclusion. |
|
Maybe the workaround is no longer needed, if not I'm sure this can be solved in a condition. We should just be aware of a potentially breaking change to behaviour. |
|
As there are no objections, I suppose this can be merged? |
|
If this is two or three separate fixes/features, the code change should be provided in two or three separate PRs. |
|
I have updated this PR to just one change now |
|
I'm OK with this if everyone else is. |
|
@armills Can you merge it then? |
|
Thanks! 🐊 |
Allow live streams to be recognized as paused
Description:
Add OnResume event
Fix Pausing live streams not recognized
Fix media_title empty when title is empty but label is set
Related issue (if applicable): fixes #
#14394
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#<home-assistant.github.io PR number goes here>
Example entry for
configuration.yaml(if applicable):Checklist:
tox. Your PR cannot be merged unless tests passIf user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
REQUIREMENTSvariable (example).requirements_all.txtby runningscript/gen_requirements_all.py..coveragerc.If the code does not interact with devices: