-
-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
Media control in Lovelace UI can not stop HEOS device from playing #39106
Comments
Hey there @andrewsayre, mind taking a look at this issue as its been labeled with an integration ( |
Hmm, I'm not able to reproduce this problem. Can you share what kind of media is playing at the time (source and type)? I've also found many HEOS issues go away after a cold power reset of the device. |
I do not think it matters what or how I started playing the media, this is very consistent in my environment. Stop button in lovelace does not work on any of my HEOS devices (I have 9 of them), but it does work on other media players controlled by the same type of Lovelace element. |
Hi,
but with calling service media_player.media_stop it is working:
|
This may be a UI issue given the stop service is working. The HEOS integration doesn't control how the media control card works. Let's rule out a UI metadata issue first and go from there. |
And if it helps, here are metadata for media:
|
I created a video too, here: http://olal.se/ha/Screen%20Recording%202020-09-09%20at%2009.10.48.mp4 Can you explain how to find the media meta-data? /Ola |
Oh, yes, btw, I realised that playing Spoitfy media it does not have this issue. There is then instead of a stop button a pause ans skip fwd button that both works. |
browser web console (F12),
|
Ok, both of these have the issue.
|
Maybe this is related to this issue home-assistant/frontend#6097 I just noticed it got stale, I might need a bump then. |
Sounds like the same thing. |
@andrewsayre Hi, could you please notify someone, who can check and posibly fix this issue ? |
I have the same problem on my HEOS 1. I resorted to creating a dedicated stop button in lovelace... |
Actually this works for me now. I am currently running version 2020.12.2. I do not know when it started working exactly. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
The problem
When using the stop button in a "media-control" UI element in Lovelace for a HEOS device, nothing happens. The HEOS device continues to play.
However, when calling the service media_player.media_stop from an automation it works fine to stop playing.
It is not a completely new problem, it occurred several months ago I think. Unfortunately I do not know exactly when.
Environment
arch | x86_64
dev | false
docker | false
hassio | false
installation_type | Home Assistant Core
os_name | Linux
os_version | 4.15.0-101-generic
python_version | 3.7.5
timezone | Europe/Stockholm
version | 0.114.2
virtualenv | true
Problem-relevant
configuration.yaml
Lovelace config:
"entity": "media_player.h_kok",
"type": "media-control"
Traceback/Error logs
Nothing happens in log when pressing stop button.
Additional information
The text was updated successfully, but these errors were encountered: