Google Music cast receiver support
Hi; does anybody know if there's any way to cast music from the Google Music app on Android to Kodi (or any other Linux app for that matter)? I know Kodi has a Google Music addon, but I'd much rather use the Google Music app for my specific use case.
I'm aware the Chromecast protocol has changed to become more restricted than it used to be, but when I start Google Music on my phone, I see it broadcasts something that looks like discovery packets for two protocols: one looks Chromecast-specific, but the second one looks generic UPnP:
12:25:31 ~$ sudo ngrep "" -W byline src host 192.168.1.107
interface: wlan0 (192.168.1.0/255.255.255.0)
filter: (ip or ip6) and ( src host 192.168.1.107 )
#
U 192.168.1.107:5353 -> 224.0.0.251:5353
............._233637DE._sub._googlecast._tcp.local...........
#
U 192.168.1.107:41244 -> 224.0.0.251:5353
............._233637DE._sub._googlecast._tcp.local...........
#
G 192.168.1.107 -> 224.0.0.22 34:0
............
#
U 192.168.1.107:5353 -> 224.0.0.251:5353
............._2872939A._sub._googlecast._tcp.local...........
#
U 192.168.1.107:5353 -> 224.0.0.251:5353
............._CC1AD845._sub._googlecast._tcp.local...........
#
U 192.168.1.107:50468 -> 224.0.0.251:5353
............._2872939A._sub._googlecast._tcp.local...........
#
U 192.168.1.107:50468 -> 224.0.0.251:5353
............._CC1AD845._sub._googlecast._tcp.local...........
#
U 192.168.1.107:5353 -> 224.0.0.251:5353
............._CC1AD845._sub._googlecast._tcp.local......_2872939A......._233637DE............
#
U 192.168.1.107:50468 -> 224.0.0.251:5353
............._CC1AD845._sub._googlecast._tcp.local......_2872939A......._233637DE............
#
G 192.168.1.107 -> 224.0.0.22 34:0
....................
#
U 192.168.1.107:43693 -> 239.255.255.250:1900
M-SEARCH * HTTP/1.1.
host: 239.255.255.250:1900.
man: "ssdp:discover".
mx: 5.
st: urn:smartspeaker-audio:service:SpeakerGroup:1.
.
#
U 192.168.1.107:57722 -> 192.168.1.255:1900
M-SEARCH * HTTP/1.1.
host: 192.168.1.255:1900.
man: "ssdp:discover".
mx: 5.
st: urn:smartspeaker-audio:service:SpeakerGroup:1.
.
#
U 192.168.1.107:47579 -> 255.255.255.255:1900
M-SEARCH * HTTP/1.1.
host: 255.255.255.255:1900.
man: "ssdp:discover".
mx: 5.
st: urn:smartspeaker-audio:service:SpeakerGroup:1.
.
I'm not sure what "urn:smartspeaker-audio:service:SpeakerGroup" is, there's not much info out there about it, but it looks somehow related to Sonos wireless speakers. I don't have such device, but I guess Google Music is able to cast with UPnP to a Sonos speaker? And if that's the case, would Kodi be able to act as a Sonos speaker so Google Music can cast to it?