#Can't unpause via voice command - state is idle.

1 messages · Page 1 of 1 (latest)

tidal nimbus
#

When trying to unpause a media player provided by the music assistant addon the assistant will respond with not being able to unpause an idle device. Apparently after a few seconds of being paused the state will change from paused to idle. Any help would be appreciated!

vestal timber
#

think this is just a quirk of Music Assistant

#

I've noticed if I pause my device, even just in the UI of music assistant, it goes idle so the HA voice command to unpause doesn't work. Not sure if that is an HA or MA issue though 😅

tidal nimbus
#

so idk

#

I might just make a custom intent that ignores state

next cargo
#

Is that on the MA GitHub or HA GitHub? It seems like it’s probably an issue with the HA component for MA rather than an issue with MA itself.

tidal nimbus
#

neat,
so ig I'll just re-submit in the other repo

mental wave
# vestal timber I've noticed if I pause my device, even just in the UI of music assistant, it go...

It is both....
MA stops media after its paused for a while, that is because media can not be paused forever, you loose the connection with the stream. Problem is that HA cant play media from idle, only from pause. We can extend the the time before pause becomes stops a bit in MA but still I think the HA intent should also handle play from idle if there is still media loaded in the player (so media id etc set)

pale glacier
#

I'm working on improving the media player intents. I'll make sure to add a way to unpause from idle.

The media_player intents are generally lacking some stuff. e.g. you can't change volume when the media player itself is not in the Playing state. Which is especially annoying on avrs.

vestal timber
#

Is this a change going into HA, or a custom intent you're working on? Running into this same problem also 😅

pale glacier
#

That would be in HA. I'm also adding an intent for source selection