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

Casting using Chromecast to JBL BoomBox 3 WiFi plays for a few seconds and stops with an error #2951

Open
1 task done
techadrian opened this issue Sep 22, 2024 · 5 comments
Labels
bug Something isn't working Chromecast More info

Comments

@techadrian
Copy link

techadrian commented Sep 22, 2024

What version of Music Assistant has the issue?

stable,beta

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

2024.7.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

Casting to JBL Boombox 3 Wi-Fi stops after a few seconds, then speaker looks disconnected in the web interface.
Any other casting application to that speaker eq Youtube Music on Android, Spotify on Android, Youtube Music on Desktop, Youtube from Chrome on Windows from Desktop, Spotify from Windows Desktop in Chrome Browser, Spotify Windows client...works with no issues
Other devices in my home connected to the same network working with no issues : Google Home Mini Speaker, Xiaomi Mi Smart Clock (two of them), Google Chromecast TV dongles (two of them), Google Chromecast 3,

How to reproduce

Play any song via Chromecast to a JBL Boombox 3 Wi-Fi from MusicAssitant

Music Providers

youtube music, filesystem

Player Providers

Chromecast

Full log output

2024-09-22 09:13:25.270 INFO (MainThread) [music_assistant] Loaded music provider YouTube Music
2024-09-22 09:13:27.156 INFO (MainThread) [music_assistant.music] Sync task for YouTube Music completed
2024-09-22 09:13:27.156 INFO (MainThread) [music_assistant.metadata] Starting metadata scanner
2024-09-22 09:13:27.158 INFO (MainThread) [music_assistant.metadata] Metadata scanner finished.
2024-09-22 09:15:20.344 ERROR (Thread-8) [pychromecast.socket_client] [JBL Boombox 3 Wi-Fi(10.1.1.162):8009] Error reading from socket.
2024-09-22 09:15:20.344 WARNING (Thread-8) [pychromecast.socket_client] [JBL Boombox 3 Wi-Fi(10.1.1.162):8009] Error communicating with socket, resetting connection
2024-09-22 09:15:20.352 ERROR (Thread-8) [pychromecast.socket_client] [JBL Boombox 3 Wi-Fi(10.1.1.162):8009] Failed to connect to service MDNSServiceInfo(name='JBL-Boombox-3-Wi-Fi-dd7b82f44610618daceef042ebf09ff5._googlecast._tcp.local.'), retrying in 5.0s

core.log

Additional information

No response

What version of Home Assistant Core are your running

2024.7.1

What type of installation are you running?

Home Assistant Container

On what type of hardware are you running?

Linux

@OzGav
Copy link
Contributor

OzGav commented Sep 22, 2024

That isn’t the full log. Please follow the template instructions

@techadrian
Copy link
Author

techadrian commented Sep 22, 2024

@OzGav Apologies, full log attached after this morning upgrade to latest beta.

core.log

@marcelveldt
Copy link
Member

Looks like we're loosing connection to the speaker completely. Do you also have the cast integration setup within HA ?
Try to disable that for a while and see if MA keeps up. Some of these cast players crash if they get too many socket connections.

@techadrian
Copy link
Author

Hi @marcelveldt ,

Cast integration in HA is disabled since I installed MA (eq about 2 - 3 weeks ago ).

@marcelveldt
Copy link
Member

Hi @marcelveldt ,

Cast integration in HA is disabled since I installed MA (eq about 2 - 3 weeks ago ).

OK, thanks for letting me know. So there is something else causing it. I'll have a look at the code if we're throttling the commands to the cast players well enough.

@OzGav OzGav added Chromecast bug Something isn't working and removed triage labels Sep 26, 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 More info
Projects
Status: NEXT
Development

No branches or pull requests

3 participants