Add "Queue ended" Trigger for Media Players #5293
distante
started this conversation in
Feature requests and ideas
Replies: 1 comment 6 replies
-
|
What is the problem with just monitoring for the change of state as you are doing. At the end of a single podcast the player will transition to idle? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Context
In the last months my WAF and DAF (Daughter Approval Factor) are going down in the lask weeks because a months requested feature in my home is breaking a lot in the last time.
I have an "good night" script that, besides other stuff, plays the last episode of a podcast in a chromecast enabled device at an specific volume at night, and then waits for it to be done to lower the volumen and put "quiet sleep music".
The automation looks like this:
Automation
To know when the podcast ended I am using this helper
And was using before:
The thing is it is breaking too much in the last months. I depend of several factors to not change for it to be usable (name format, player events order, event speed, etc)
Request
I propose to add a "Queue Ended" Trigger for media players, so we know when the player has no more audio to play.
There is no event like that in HA

Other use cases
Beta Was this translation helpful? Give feedback.
All reactions