Moode Forum

Full Version: Chromecast audio
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Hi @Tim Curtis

Just joined your new forum (I've finally come over from your old DIY audio forum thread)

Are there any plans that you're aware of for Chromecast audio support to come to Linux?

There is obviously Spotify Connect (librespot) and Airplay (shairport) support so I'm hoping Chromecast audio comes.

Is anyone working on this, to be able to integrated into moOde?

Cheers!
(07-10-2018, 07:15 AM)Me2018 Wrote: [ -> ]Hi @Tim Curtis

Just joined your new forum (I've finally come over from your old DIY audio forum thread)

Are there any plans that you're aware of for Chromecast audio support to come to Linux?

There is obviously Spotify Connect (librespot) and Airplay (shairport) support so I'm hoping Chromecast audio comes.

Is anyone working on this, to be able to integrated into moOde?

Cheers!

Hi, what are you trying to achieve as you are aware that the Chromecast does not have gapless support? You can use any number of free apps to stream audio to a Chromecast, the output will use the devices built in dac unless like me you have an external dac attached to the chromecast.  I see no merit in streaming audio from moode to a Chromecast.
I use Spotify premium with moode most of the time, works gaplessly, my Chromecast setup is for an emergency if something happened to the moode pi.
Why do you want Chromecast support?
I think the OP would like chrome cast built into moode as a renderer similar to airplay or squeezelite so one does not need to own a separate piece of google hardware
A quick search of Github produced the link below which suggests that Google has "locked down" the ChromeCast API.
https://github.com/dz0ny/leapcast

There might be other repos that have new information but I was unable to find any.

-TIm
(07-22-2018, 05:26 PM)Tim Curtis Wrote: [ -> ]A quick search of Github produced the link below which suggests that Google has "locked down" the ChromeCast API.
https://github.com/dz0ny/leapcast

There might be other repos that have new information but I was unable to find any.

-TIm

Can you check out node cast v2.

https://github.com/thibauts/node-castv2-client
I think its sender-only ??

Either way i don't own a Chromecast dongle and so I have no way to test...
I've looked into creating a Chromecast receiver before, suffice to say that without an extremely talented developer who can find an exploit in Trustzone, or a disgruntled Cast dev, this isn't possible. Each device has a private key burned into it, which can't be extracted. This key is signed by Google's Cast CA. This key is then used to sign 24 hour self signed certificates that the Cast receiver uses to authenticate with the Cast sender. If you don't have access to the device signing key, no senders will connect to your device.

In theory, you could get a Gen 1 chromecast, root it, write a little wrapper around the libGtvCa.so library, and then generate a whole bunch of 24 hour certificates for the next year or so, then get the device to sign them, but this has yet to be done.

TL;DR Without a signing key from Google, close but no cigar.
Folks, I don't have a Chromecast but suggest you take a good look at the BubbleUPnP Server (https://www.bubblesoftapps.com/bubbleupnpserver/), which if I get it right, can be installed on both Linux and Raspberry Pis and provides a means of getting a Chromecast device to act as UPnP renderer. Having said that I don't think Chromecast Audio actually supports gapless playback, so there's going to be limitations to this..
(12-04-2018, 11:46 AM)Zigzag Wrote: [ -> ]Folks, I don't have a Chromecast but suggest you take a good look at the BubbleUPnP Server (https://www.bubblesoftapps.com/bubbleupnpserver/), which  if I get it right, can be installed on both Linux and Raspberry Pis and provides a means of getting a Chromecast device to act as UPnP renderer. Having said that I don't think Chromecast Audio actually supports gapless playback, so there's going to be limitations to this..

Actually it looks like CC is indeed Open Source.

https://support.google.com/chromecastbui...1012?hl=en
Here is another Chromecast developers link with instructions for 'anyone' to apply and build apps/sofware to use Chromecast.

https://developers.google.com/cast/docs/caf_receiver/

Don't know how difficult this might be, but Google tends to do a good job at setting up dev's for success.  This addition would solve pretty much all the issues with connecting to pretty much all music services. Spotify, Tidal, Qobuz etc all have Chromecast support.


Might be worth a second look?
Pages: 1 2 3