-
-
Notifications
You must be signed in to change notification settings - Fork 32k
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
[Kodi] Allow live streams to be recognized as paused #14623
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The concerns from #14403 still need to be addressed.
Is there some property on the API that can distinguish between a player being intentionally paused, versus just buffering?
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:
REQUIREMENTS
variable (example).requirements_all.txt
by runningscript/gen_requirements_all.py
..coveragerc
.If the code does not interact with devices: