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

Google Cast devices don't have any option besides play/pause when playing #2969

Open
1 task done
rohankapoorcom opened this issue Sep 26, 2024 · 6 comments
Open
1 task done
Labels
bug Something isn't working Chromecast low prio This does not have very high prio upstream issue Issue depends on an issue outside MA

Comments

@rohankapoorcom
Copy link

What version of Music Assistant has the issue?

2.2.2

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?

  • Yes

The problem

When Music Assistant is playing to Google Cast devices, the cast devices themselves no longer have a skip forward (next track) or a rewind (previous track) option on the screen (if a device has a screen) or from the google home app on android / ios. Strangely enough a voice command to google to "skip" or "previous song" still works as expected. The Music Assistant frontend still has the normal next/previous buttons as expected.

This makes it so that devices with their own buttons / remotes are not able to control playback beyond play / pause.

Photos attached of Google Home app and the Google Cast device screen:

image
image

How to reproduce

  1. Use Music Assistant (web interface) to play an album (or a playlist with several songs) to a google cast device.
  2. While the music is playing, look at the google home app for that cast device (or the device itself if it has a screen).
  3. Observe that there is no forward/back button.
  4. Ask google to "skip" or "play the next song".
  5. Observe that Music Assistant goes to the next song.

As an alternative that works (without Music Assistant):

  1. Use the Spotify app to cast to the same speaker with an album or a playlist with several songs.
  2. While the music is playing, look at the google home app for that cast device (or the device itself if it has a screen).
  3. Observe that there is a forward/back button.
  4. Clicking the forward button will start the next song.

Music Providers

Spotify & Plex both exhibit this problem. I don't have any other music providers to test with.

Player Providers

Google Cast devices. This problem appears with both individual devices as well as Google Cast groups. I do not have any other player types to test with.

Full log output

music-assistant.log

Additional information

I have confirmed that queue flow mode is disabled on all of my players per the known issues section of the documentation.

What version of Home Assistant Core are your running

2024.8.1

What type of installation are you running?

Home Assistant Core

On what type of hardware are you running?

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

@OzGav OzGav added Chromecast bug Something isn't working and removed triage labels Sep 26, 2024
@marcelveldt
Copy link
Member

Yes, this is a known limitation when we're streaming to Google Cast and we currently do not have the info/manpower to fix it.

@OzGav OzGav added the upstream issue Issue depends on an issue outside MA label Sep 30, 2024
@OzGav
Copy link
Contributor

OzGav commented Sep 30, 2024

@marcelveldt should I add a limitation in this regard to the docs and close this?

@rohankapoorcom
Copy link
Author

Worth noting that the docs currently indicate the opposite

Any physical control buttons on the device should be supported as well as voice control

@OzGav
Copy link
Contributor

OzGav commented Sep 30, 2024

@rohankapoorcom That says PHYSICAL when your post above is referring to software buttons but I will confirm

@rohankapoorcom
Copy link
Author

@OzGav I didn't provide examples of physical hardware buttons not working, but the same problem occurs on my Nvidia Shield (Android TV) which has physical buttons on its remote.

@marcelveldt
Copy link
Member

@marcelveldt should I add a limitation in this regard to the docs and close this?

Well, it used to work at some point in the past but then Google changed something (as usual) and that broke it. It will require a day or so of fiddling to get it to work probably but I don't currently have time to invest that much time to a specific small issue while other more urgent matters are present.

So, no let's not close this. Mark it as known issue and keep it on the backlog so we can pick this up when time allows.
I'm pretty sure its fixable, just needs work.

@OzGav OzGav added the low prio This does not have very high prio label Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Chromecast low prio This does not have very high prio upstream issue Issue depends on an issue outside MA
Projects
Status: LATER
Development

No branches or pull requests

3 participants