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.32k stars 48 forks source link

Home assistant player with spotify can not be controlled (Works with HA Spotify connection) #2975

Open distante opened 1 day ago

distante commented 1 day ago

What version of Music Assistant has the issue?

2.2.5

What version of the Home Assistant Integration have you got installed?

2024.9.1

Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?

The problem

While on MA, trying to play a song into a HA provided player does not work. It just starts and stops what was already on the queue (from another service)

Also, if Spotify did not had that player as target before (from the Spotify app), MA does nothing.

Example Right now: HA Home assistant integration:

image

Music Assistant:

image

How to reproduce

Add a Medion device to Home assistant, add it as a player on MA.

Music Providers

Spotify

Player Providers

Home Assistant

Full log output

music-assistant 28.09.log

Additional information

The player is the same as the one on this issue https://github.com/music-assistant/hass-music-assistant/issues/2939. A Mediom Player (Frontier Silicon)

What version of Home Assistant Core are your running

2024.9.3

What type of installation are you running?

Home Assistant OS

On what type of hardware are you running?

Generic x86-64 (e.g. Intel NUC)

OzGav commented 1 day ago

Sorry I am not 100% sure what you are describing above but it sounds like you expect MA and some other software to work together? If so that is not the case. MA works independently of any other software that may be able to play to a device. If this is not what you are asking about then please try and describe the issue again.

distante commented 1 day ago

Hi, sorry if I did not describe it correctly.

My expectation is that after adding a player (from Home assistant provider), I should be able to send Spotify music from using Music Assistant to the player and control it.

Currently I can only click Play/pause when the player is already running already, but each song I "send" is not picked up by the player.

I just put an screenshot of the other Spotify integration to show how there is a discrepancy between what the player is really playing and what Music Assistant is showing.

OzGav commented 23 hours ago

What other player types have you tried? Provide all of the information requested from the troubleshooting page of the docs

distante commented 22 hours ago

I have done everything I though could affect from the player config, disable TTS, normalization etc, On the music server I also disabled volumen normalization and almost all special settings like cross fade and so on.

I have tried changed all the HTTP profiles and nothing worked.

If you point me out to where I can see more logs I would gladly do it. I setup up the player and providers as log level but I do not see anything helpful.

OzGav commented 21 hours ago

Have you confirmed it is only HA player providers that are affected? Have you tried different HA entities?