Skip to content
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

Volume decreases repeatedly when playing streams over AirPlay to Pioneer Av receiver #3484

Open
1 task done
lawman-here opened this issue Jan 20, 2025 · 6 comments
Open
1 task done
Labels

Comments

@lawman-here
Copy link

What version of Music Assistant has the issue?

2.3.6

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

2025.1.2

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

  • Yes

The problem

When I use Music Assistant to play internet radio streams on my Pioneer VSX-930 via Apple AirPlay, the device's volume decreases after some time repeatedly by 1 dB each time. This does not happen when I switch to other sources in Home Assistant (e.g. Spotify or Television source), and the problem still exists when I disable the Music Assistant integration in Home Assistant and operate the device via Music Assistant only.
When I watch the receiver's display, then it looks like that the device gets volume decrease signals from Music Assistant, because the display is normally dimmed and gets bright when receiving signals from a remote control or network.

How to reproduce

Just play music streams with AirPlay to a Pioneer AV receiver or maybe other AirPlay devices. Unfortunately, this is the only AirPlay device in my home.

Music Providers

RadioBrowser
Spotify (seems to decrease slower than radio browser)

Player Providers

AirPlay

Full log output

No response

Additional information

No response

What version of Home Assistant Core are your running

2025.1.2

What type of installation are you running?

Home Assistant Container

On what type of hardware are you running?

Alternative

@lawman-here
Copy link
Author

lawman-here commented Jan 20, 2025

I'm updating my Home Assistant instance currently to 2015.1.3, so only the Music Assistant docker container is running. During this, I cannot recognize this behaviour. Maybe the reason is a wrong interaction between Music Assistant and Home Assistant?

Edit: I think the reason is clear: when I deactivate the pioneer integration in Home Assistant, then this issue disappears. Obviously, the entity created by the Pioneer integration and the Music Assistant Air Play entity "are fighting to each other" regarding volume level. A possible solution would be, in my opinion, if there would be an option in Music Assistants AirPlay device to disable volume control completely.

@OzGav
Copy link
Contributor

OzGav commented Jan 20, 2025

You should not be using a second integration. Remove the HA integration and just use AirPlay from MA

@OzGav OzGav added invalid This doesn't seem right and removed triage labels Jan 20, 2025
@lawman-here
Copy link
Author

Wirhout the HA Integration, I'm not able to control other receiver features, like source control or volume control when listening to other sources than Airplay. So your suggestion is at the moment my solution, but it's far away from being a good solution. A switch in the Music Assistant's Airplay device to disable volume control would be my most preferred solution, because I guess that with disabled volume control in the Airplay device, this issue disappears even when using the HA integrating for Pioneer in parallel

@OzGav
Copy link
Contributor

OzGav commented Jan 21, 2025

There is a plan to be able to link the volume control in MA to an entity in HA but that will be some way off. This seems to be a feature request now so if you agree please close this and know that what you are after is on the roadmap.

@marcelveldt
Copy link
Member

Did you ever tried to send an airplay stream to the pioneer from another source ? So maybe just use your phone or another airplay compatible sender to send audio to the pioneer and see if the same issue pops up.

@lawman-here
Copy link
Author

So maybe just use your phone or another airplay compatible sender to send audio to the pioneer and see if the same issue pops up.

I tried that with the Android app AirMusic - this app uses AirPlay to stream audio from the phone to an AirPlay receiver. I reactivated the HA core Pioneer integration and streamed internet radio with AirMusic to the Pioneer VSX-930 This works without issues, the volume level didn't change.

Maybe one thing is worth to be mentioned for a possible solution: as I wrote, the MA AirPlay device works without lowering the volume level when I deactivate the HA Pioneer integration. BUT: when I listen to music via AirPlay and I change the volume on the device itself (by turning the volume control), then the volume level jumps back, after a few seconds, to the level which was set in the AirPlay device. I think that is the problem here, that the AirPlay device tries to set the volume even if there was not a volume adjustment with the + or - controls or the volume slider. Just a thought, either I am right or wrong :-)

@OzGav OzGav added triage and removed invalid This doesn't seem right More info labels Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants