balena-sound icon indicating copy to clipboard operation
balena-sound copied to clipboard

possible to add Google Cast-ability audio?

Open bodecove opened this issue 5 years ago β€’ 20 comments

is it ..possible to add Google Cast-ability ?.. if so how.. I'm kind of a noob

Front logo Front conversations

bodecove avatar Feb 08 '20 17:02 bodecove

@bodecove this feature is possible, but requires registration in the dashboard of google. I found some sdk and guides directly from google: https://developers.google.com/cast/ I think this is a thing for another project.

Hope it helps Alex

AlexProgrammerDE avatar Feb 08 '20 19:02 AlexProgrammerDE

@bodecove i have bad news. :( If you want to register your account in the dashboard it wants to pay you a registration fee of 5$. Here is it: https://cast.google.com/publish/#/signup I think that is a huge problem.

AlexProgrammerDE avatar Feb 09 '20 15:02 AlexProgrammerDE

@AlexProgrammerDE ...i agree.. but if it can be done...I will test it ..for the 5bux...i just need to figure out how lol

bodecove avatar Feb 12 '20 06:02 bodecove

@bodecove i found this guide: https://codelabs.developers.google.com/codelabs/cast-receiver/ I think if this works it is a step into the right direction. πŸ‘

AlexProgrammerDE avatar Feb 13 '20 15:02 AlexProgrammerDE

Sorry.. Been busy.. I'll get it done this week., forward me the test.apk again if ucan

On Thu, Feb 13, 2020, 9:26 AM Alex [email protected] wrote:

@bodecove https://github.com/bodecove i found this guide: https://codelabs.developers.google.com/codelabs/cast-receiver/ I think if this works it is a step into the right direction. πŸ‘

β€” You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/balenalabs/balena-sound/issues/102?email_source=notifications&email_token=ALCJOWIJEI4VIQETI7V2333RCVREDA5CNFSM4KR34LX2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELVNDDQ#issuecomment-585814414, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALCJOWM5ZNL4OXGGNDYXCULRCVREDANCNFSM4KR34LXQ .

bodecove avatar Feb 17 '20 17:02 bodecove

@bodecove are you still interested in doing this? You have not replied in a while.

AlexProgrammerDE avatar Mar 27 '20 13:03 AlexProgrammerDE

I am still interested ..just with the virus here in usa Illinois..been really busy with news.. And many life changes..i will try and get going on this..

On Fri, Mar 27, 2020, 8:26 AM Alex [email protected] wrote:

@bodecove https://github.com/bodecove are you still interested in doing this? You have not replied in a while.

β€” You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/balenalabs/balena-sound/issues/102#issuecomment-604999599, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALCJOWKEZAPKWSWD2BJAMY3RJSSQZANCNFSM4KR34LXQ .

bodecove avatar Apr 03 '20 21:04 bodecove

@bodecove i think you donΒ΄t need a apk file. It should also work with Youtube and other streaming enabled services. Can you try to get this running on a Pi: https://codelabs.developers.google.com/codelabs/cast-receiver/#0 ? (In raspbian not balenaOS)

This should give you video and music output. Let me know if you are finished.

AlexProgrammerDE avatar Apr 04 '20 13:04 AlexProgrammerDE

I just bought the chromecast license myself and gonna experiment with it a bit. But even if it would work I only see this inside another project. This basically requires the need for balena sound at all, but is also paid. I will give an update on this once I get this working in audio only.

AlexProgrammerDE avatar Mar 29 '21 13:03 AlexProgrammerDE

Any progress on this? It would be a dealbreaking feature for me. I'd trash several echo dots running to various sound equipment if this picked up some traction.

jayjr1105 avatar Jun 09 '21 19:06 jayjr1105

I was going to ask the same, with Spotify prices on the ramp, YT Music has real traction plus amazon music as well, but we have to rely in good ole BT.

JaragonCR avatar Jun 11 '21 13:06 JaragonCR

Any update on this @bodecove or @AlexProgrammerDE? I think it would be a very interesting feature even if we need to pay a few bucks

pjmartorell avatar Nov 02 '21 20:11 pjmartorell

@pjmartorell life has put this on back burner..i have not pursued this for some time..but yes it would be a nice feature

bodecove avatar Nov 05 '21 02:11 bodecove

I'd also be willing to pay for the chromecast licensing fee if necessary in order to have this. Youtube Music is getting pretty big.

vidicunt avatar Dec 28 '21 01:12 vidicunt

This could bypass the bluetooth issues on the rpi3 and also give a more stable way to stream audio than bluetooth. Bluetooth in my house has a range of about 15 feet. Perhaps something can be created that uses playercast or one of the other linux chromecast receivers. I not familiar with the balenaOS setup to attempt playing with this but may try my hand later.

Syco54645 avatar Feb 06 '22 18:02 Syco54645

I've started to look into this a little - ALthought dislaimer I'm a complete n00b. Ran through this tutorial https://developers.google.com/cast/codelabs/cast-receiver#0 as suggested by @AlexProgrammerDE ...however I think If I'm not mistaken - this requires you to have a cast device to configure against...not sure this is possible as the Pi is not a Chrome-cast but maybe I'm wrong here....

A possible creative solution is just simply plugging a chrome-cast into the HDMI slot...but that kinda defeats the purpose I would think.

Looking further it might be possible to make a web receiver and have BalenaOS run a local web-server for https://developers.google.com/cast/docs/web_receiver/basic More info here: https://developers.google.com/cast/docs/web_receiver/core_features#creating-a-customized-receiver-app

I'm honestly probably not the guy to do this but I'm genuinely interested in learning about this.

msaberhagen avatar Mar 22 '22 15:03 msaberhagen

I've started to look into this a little - ALthought dislaimer I'm a complete n00b. Ran through this tutorial https://developers.google.com/cast/codelabs/cast-receiver#0 as suggested by @AlexProgrammerDE ...however I think If I'm not mistaken - this requires you to have a cast device to configure against...not sure this is possible as the Pi is not a Chrome-cast but maybe I'm wrong here....

A possible creative solution is just simply plugging a chrome-cast into the HDMI slot...but that kinda defeats the purpose I would think.

Looking further it might be possible to make a web receiver and have BalenaOS run a local web-server for https://developers.google.com/cast/docs/web_receiver/basic More info here: https://developers.google.com/cast/docs/web_receiver/core_features#creating-a-customized-receiver-app

I'm honestly probably not the guy to do this but I'm genuinely interested in learning about this.

I am on mobile so my response will be short, I am not meaning to come off as rude. With that out of the way the HDMI is output. I don't think the pi support HDMI in. My solution was to use a hifiberry that has line in and use a chromecast audio. Unfortunately it seems the line in is broken on balenaSound. I ended up just using snapcast directly on an rpi running debian and it works great.

Further I believe Google changed the cast API and afaik it has not been reversed so getting something implemented may be hard. Afaik there are no more open source Chromecast clients that are working.

Syco54645 avatar Mar 22 '22 17:03 Syco54645

Thanks for digging into this issue!!

On Tue, Mar 22, 2022 at 12:01 PM Frank Claycomb @.***> wrote:

I've started to look into this a little - ALthought dislaimer I'm a complete n00b. Ran through this tutorial https://developers.google.com/cast/codelabs/cast-receiver#0 as suggested by @AlexProgrammerDE https://github.com/AlexProgrammerDE ...however I think If I'm not mistaken - this requires you to have a cast device to configure against...not sure this is possible as the Pi is not a Chrome-cast but maybe I'm wrong here....

A possible creative solution is just simply plugging a chrome-cast into the HDMI slot...but that kinda defeats the purpose I would think.

Looking further it might be possible to make a web receiver and have BalenaOS run a local web-server for https://developers.google.com/cast/docs/web_receiver/basic More info here:

https://developers.google.com/cast/docs/web_receiver/core_features#creating-a-customized-receiver-app

I'm honestly probably not the guy to do this but I'm genuinely interested in learning about this.

I am on mobile so my response will be short, I am not meaning to come off as rude. With that out of the way the HDMI is output. I don't think the pi support HDMI in. My solution was to use a hifiberry that has line in and use a chromecast audio. Unfortunately it seems the line in is broken on balenaSound. I ended up just using snapcast directly on an rpi running debian and it works great.

Further I believe Google changed the cast API and afaik it has not been reversed so getting something implemented may be hard. Afaik there are no more open source Chromecast clients that are working.

β€” Reply to this email directly, view it on GitHub https://github.com/balenalabs/balena-sound/issues/102#issuecomment-1075396336, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALCJOWKFKS37SAZLQRR3VBTVBH4GXANCNFSM4KR34LXQ . You are receiving this because you were mentioned.Message ID: @.***>

bodecove avatar May 03 '22 01:05 bodecove

The chromecast "receiver" guide by Google seems to be actually a chromecast remote guide. Correct me if I'm wrong.

This app implements the true chromecast receiver protocol: https://play.google.com/store/apps/details?id=com.softmedia.receiver.castapp

These libraries also implement true chromecast receiver: https://github.com/enen92/script.tubecast https://github.com/thibauts/node-castv2 https://www.npmjs.com/package/yt-cast-receiver https://www.npmjs.com/package/chromecast-device-emulator

vidicunt avatar Sep 04 '22 20:09 vidicunt

I'm "necro'ing" this topic, as I'm also very interested in this feature. This could allow us to make diy Chromecast audio very easily

hundredfire avatar Apr 24 '24 08:04 hundredfire