music-assistant / hass-music-assistant

Turn your Home Assistant instance into a jukebox, hassle free streaming of your favorite media to Home Assistant media players.
Apache License 2.0
1.39k stars 51 forks source link

Error thrown when trying to seek MA players from Home Assistant? #2776

Closed OzGav closed 2 months ago

OzGav commented 3 months ago

Discussed in https://github.com/orgs/music-assistant/discussions/2775

Originally posted by **JoeMBlair** August 19, 2024 I'm trying to seek a media player that was added by Music Assistant in Home Assistant. However it doesn't seem to support media player seek action, it's not in the entity dropdown. Is there another way to do it?

ISSUE is that the MA players in HA throw this error when trying to seek

2024-08-19 20:57:23.030 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140161193743488] Unexpected exception
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 241, in handle_call_service
response = await hass.services.async_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2763, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2806, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 981, in entity_service_call
raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: Entity media_player.ma_kitchen_speaker does not support this service.
marcelveldt commented 3 months ago

fixed in 2024.8.1

OzGav commented 2 months ago

@joemblair please confirm this has been fixed

JoeMBlair commented 2 months ago

@JoeMBlair please confirm this has been fixed

It has been fixed, working great now