View Issue Details

IDProjectCategoryView StatusLast Update
0021844MMW 5Casting (Google Cast / UPnP)public2025-10-31 13:45
Reporterrusty Assigned To 
PriorityurgentSeveritymajorReproducibilitysometimes
Status resolvedResolutionreopened 
Product Version2024.2 
Target Version2024.2Fixed in 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 build3174

Relationships

related to 0018098 closedLudek Google Cast does not restore volume from the last session 
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.

Ludek

2025-10-30 20:35

developer   ~0079941

It was really the master receiver volume set so zero issue..

Fixed in 3173

rusty

2025-10-31 00:19

administrator   ~0079947

The original issue is fixed, but new issues have resulted. The usual way that volume is handled on Google Cast devices is that casting volume is set (e.g. in Google Home, or in any app that casts) and then when another app is opened, the volume isn't changed but rather the volume bar is moved to the position to which the casting volume was last set. e.g.
1 Open Google Home and set Google Home Mini volume to 25%
2 Open any app and initiate casting
--> volume is at 25%
3 Stop casting
4 Start casting in another app
--> volume is at 25%

With MMW, there are now 2 issues (which I'll explain by way of example):
1 Open Google Home and set Google Home Mini volume to 25%
2 Open MMW initiate casting (with the volume at around 50%)
--> volume is at 50%! It should have changed the MM volume to match the pre-set casting volume of 25%
3 Stop casting
4 Start casting in another app OR open Google home to see the casting volume
--> volume is at 100%!

So the 2 issues are:
1) MMW still doesn't read the volume setting of the chromecast device and display it on its volume meter. Instead it just resets the casting volume.
2) MMW's volume scale is incorrect. When it sets the volume to 50%, it changes the casting volume to 100%

Ludek

2025-10-31 13:45

developer   ~0079952

Fixed in 3174