View Issue Details

IDProjectCategoryView StatusLast Update
0021844MMW 5Casting (Google Cast / UPnP)public2025-10-30 16:41
Reporterrusty Assigned To 
PriorityurgentSeveritymajorReproducibilitysometimes
Status feedbackResolutionopen 
Product Version2024.2 
Target Version2024.2 
Summary0021844: Google casting to Google Home mini silently fails
DescriptionWhen testing playback to a Chromecast mini, MMW 2024.2.0.3172 failed consistently in the following manner:

1 Initiate playback
2 Select the Google Home mini
---> There's no connection sound to signify MMW connecting to the device
---> MMW shows playback as continuing on the device (i.e. the seekbar continues to advance), but there's no audio from the chromecast device
3 Switch to a Chromecast Audio
--> Connection / Playback occur normally
4 Switch back to the Google Home Mini
--> Connection / Playback fail as described at step 2
5 Switch to local playback
6 Connect and play from MMA to the Google Home Mini
--> Connection and Playback proceed normally
7 Stop Casting from MMA
8 Switch MMW from local playback to the Google Home Mini (during Christmas tree farm)
--> Connection and Playback proceed normally

It seems that if the Chromecast device is in a certain state (asleep?), MMW fails to initiate the connection properly and thinks that it's connected and playing even though it isn't. Then when MMA plays to the device, it changes the device's state so that MMW is subsequently able to cast to it.
TagsNo tags attached.
Fixed in build

Relationships

related to 0020006 closedLudek Casting to certain Chromecast devices fails (in some environments) 

Activities

Ludek

2025-10-30 12:48

developer   ~0079936

Last edited: 2025-10-30 12:49

Analyzing the log and see the file
 D:\Media\Music\Bob Marley\Greatest Hits Exposed\00 - Bob Marley & The Wailers - By the Rivers of Babylon.mp3
playing normally on "R & C mini"

Also the MEDIA_STATUS indicates the file as playing and not muted :

{"type":"MEDIA_STATUS","status":[{"mediaSessionId":1,"playbackRate":1,"playerState":"PLAYING","currentTime":26.125217,"supportedMediaCommands":274447,"volume":{"level":1,"muted":false},"activeTrackIds":[],"media":{"contentId":"http://192.168.1.40:62514/ItemID=2873.mp3","contentType":"audio/mpeg","metadata":{"metadataType":3,"title":"By the Rivers of Babylon","albumName":"Greatest Hits Exposed","albumArtist":"Bob Marley","artist":"Bob Marley & The Wailers","releaseDate":"1974-01-01"},"streamType":"BUFFERED","duration":256.01375,"mediaCategory":"AUDIO","tracks":[],"breakClips":[],"breaks":[]},"currentItemId":1,"items":[{"itemId":1,"media":{"contentId":"http://192.168.1.40:62514/ItemID=2873.mp3","contentType":"audio/mpeg","metadata":{"metadataType":3,"title":"By the Rivers of Babylon","albumName":"Greatest Hits Exposed","albumArtist":"Bob Marley","artist":"Bob Marley & The Wailers","releaseDate":"1974-01-01"},"streamType":"BUFFERED","duration":256.01375,"mediaCategory":"AUDIO"},"autoplay":true,"activeTrackIds":[],"orderId":0}],"repeatMode":"REPEAT_OFF"}],"requestId":18}

==>
Couldn't it be an audio system connection issue? i.e. that the device actually plays the file, but the audio cable physical connection is not in a good condition?

rusty

2025-10-30 16:41

administrator   ~0079938

I figured out how to replicate this.

1 Cast from MMA (or any other app) to the Google home mini
2 Set the cast volume to 0
3 Disconnect
4 Cast from MMW to the Google home mini
--> even though the volume in MMA is shown as being at the maximum, playback on the Google home mini is silent
5 Change the volume in MMW (down and back up)
--> No increase in volume

So I'd guess that MMW is unaware of the volume setting of the chromecast device, and that it adjusts volume relative to the current setting without awareness of the absolute volume.