Re: [SlimDevices: Radio] Add "Google Cast for audio" to SB Radio
philippe_44 wrote: > Understood but if you think the better (and doable) solution is to have > a native slimproto in javascript in the chrome device itself, then doing > my bridge thing lloks like a waste of time, no ? First - develop solutions for yourself - otherwise you'll never have enough time. You shouldn't be put off by somebody else doing similar as they are probably working to a different set of priorities and preferences. There is nothing wrong with alternatives (e.g. SoftSqueeze, Squeezeslave, Squeezelite) - seeing differences can only stilumate improvements. I don't know if a Receiver application implementing slimproto is entirely possible as there are a number of technical challenges. It need more investigation and that takes time. For example there is a problem about sockets and security - I think socket comms will need to be tunnelled unless a promised update to ChromecastAPI delivered some special features. A stepping stone would be to implement a Squeezelite player in javascript to run on a web page using html5 audio - if this works then it can work on a Chromecast. If people are really really eagar - for Linux with Pulseaudio it is possible to get squeezelite to play out on Chromecast and DLNA devices using pulsealudio-dlna application https://github.com/masmu/pulseaudio-dlna but as you know these solutions make compromises. I see the fundamental issues as making sure it is easy to start/stop casting using a Touch as a controller, minimising latency and allowing the Chromecast device to easily change between services. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=104549 ___ Radio mailing list Radio@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/radio
Re: [SlimDevices: Radio] Add "Google Cast for audio" to SB Radio
bpa wrote: > As I said I'm just doing a POC (proof of concept) - taking bits and > pieces. It is a Python script which runs squeezelite as a subprocess - > this should mean it can be tested on most platforms. > > Chromecast is moving away from SSDP to mDNS for discovery. > > This project has the Chromecast default receiver protocol in C++ > https://github.com/eriklax/c8tsender Understood but if you think the better (and doable) solution is to have a native slimproto in javascript in the chrome device itself, then doing my bridge thing lloks like a waste of time, no ? LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1, PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne (sort of) philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261 View this thread: http://forums.slimdevices.com/showthread.php?t=104549 ___ Radio mailing list Radio@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/radio
Re: [SlimDevices: Radio] Add "Google Cast for audio" to SB Radio
philippe_44 wrote: > So if you have started, I'll probably park my search. I was looking for > a C/C++ base to help the discovery & basic handling of devices, kind of > replacing libupnp that has been very convenient for me. As I said I'm just doing a Poc (proof of concept) - taking bits and pieces. It a Python script which runs squeezelite as a subprocess - this should it can be tested on most platforms. Chromecast is moving away from SSDP to mDNS for discovery. This project has the Chromecast default receiver protocol in C++ https://github.com/eriklax/c8tsender bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=104549 ___ Radio mailing list Radio@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/radio
Re: [SlimDevices: Radio] Add "Google Cast for audio" to SB Radio
bpa wrote: > > As a POC I'm taking a similar approach to Phillip_44 - creating a simple > application running on LMS system which casts to a Chromecast device > using default player and then a standard Squeezelite players streams its > PCM output to the Chromecast device. > So if you have started, I'll probably park my search. I was looking for a C/C++ base to help the discovery & basic handling of devices, kind of replacing libupnp that has been very convenient for me. LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1, PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne (sort of) philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261 View this thread: http://forums.slimdevices.com/showthread.php?t=104549 ___ Radio mailing list Radio@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/radio
Re: [SlimDevices: Radio] Add "Google Cast for audio" to SB Radio
I was following the discussion in the other thread about getting LMS to play to a Chromecast Audio, I hope it works out. For me, because of the mysb.com issue I was not interested in fighting up with LMS anymore. I'll take pippin's advice and try again. But this "invalid account" issue hit me years ago and I could not get it resolved. I also didn't find a suitable replacement app for Android 5 since Logitech abandoned their app. I purchased Squeeze Ctrl, but I'm not pleased with it's styling and user interaction design. I take your points, bpa, about always having to chase Google to keep the SB Radio as a Google Cast receiver. rmjb's Profile: http://forums.slimdevices.com/member.php?userid=14978 View this thread: http://forums.slimdevices.com/showthread.php?t=104549 ___ Radio mailing list Radio@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/radio
Re: [SlimDevices: Radio] Add "Google Cast for audio" to SB Radio
The stream from LMS to the chrome cast would be amazing. Right now I haven't found a suitable way to stream local music to the device. Google recommends using Plex but Plex does not have gapless playback which is a deal breaker for me. usc95's Profile: http://forums.slimdevices.com/member.php?userid=59694 View this thread: http://forums.slimdevices.com/showthread.php?t=104549 ___ Radio mailing list Radio@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/radio
Re: [SlimDevices: Radio] Add "Google Cast for audio" to SB Radio
rmjb wrote: > Would it be possible to write an applet for the SB Radio that implements > the "Google Cast for audio" protocol? I think this would be better than > adding a Chromecast Audio to either speaker since I hope that if I cast > to the SB Radio it could power on automatically and switch to that > input, which would help with the family usability factor. I don't think it's possible. When you cast to a Chromecast device a Chromecast receiver application written in Javascript is downloaded from a secure server registered with Google. This receiver application then communicates with the service host to send audio/video to the Chromecast device. This means service suppliers such as Netflix, Deezer etc. are happy their content and service are secure. A Chromecast auduio emulation for SB Radio would have to 1. Break google security to ensure it can communicate with Google servers pretending to be a valid Chromecast device and tell the SBradio where to find the receiver application (e.g. a Deezer server) 2. Build an environment on SB radio which emulates the Chromecast hardware and software and so run the Receiver applications and so receive the DRM streams. 3. On an ongoing basis keep Google servers happy: register the device first time and then each time as Google tries to upgrade software and get information from Chromecast device. Even if possible, it's a lot of work especially as SB radio are no longer produced and a small base of users. As a POC I'm taking a similar approach to Phillip_44 - creating a simple application running on LMS system which casts to a Chromecast device using default player and then a standard Squeezelite players streams its PCM output to the Chromecast device. Longer term a better approach would be to write a "Squeezelite" like receiver application for Chromecast in javascript - this would probably not have latency issues of the previous approach but the feasibility of this approach needs to be studied more. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=104549 ___ Radio mailing list Radio@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/radio
Re: [SlimDevices: Radio] Add "Google Cast for audio" to SB Radio
I'd say ask for help getting MySB to work again. Deezer works just fine on the SBs --- learn more about iPeng, the iPhone and iPad remote for the Squeezebox and Logitech UE Smart Radio as well as iPeng Party, the free Party-App, at penguinlovesmusic.com *New: iPeng 8, the Universal App for iOS 7 and iOS 8* pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777 View this thread: http://forums.slimdevices.com/showthread.php?t=104549 ___ Radio mailing list Radio@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/radio