RadBadMark wrote: > Great plugin! > > The gaps in gapless music are annoying though, enough to condemn the > Chromecast I have to a life in the garage at the moment! > > With no fix on the horizon from Google > https://code.google.com/p/google-cast-sdk/issues/detail?id=745 , I > thought I might try and hack something together to achieve what I'm > after. How difficult would it be to modify the output of squeezelite so > that it's presented as a single continuous stream to the bridge for > casting? I haven't looked at the source yet so thought I'd ask if the > idea is reasonable before messing with it, or maybe you've tried this > already? > > Cheers
The original squeezelite can output uncompressed PCM data to stdout. Then, you can pipe that to stdin of other apps that are able to send audio to a CC (look on github, I think there are a few). You'll probably have delay between pause/stop because no LMS command will be forwarded to the CC, and squeezelite sends silence when requested to pause, so whatever has been buffered by the CC will have to be played before silence "happens". Modifying my CC bridge is a much larger work, similar to the one I've made on the AirPlay bridge. CC and UPnP bridges do not decode the audio stream, but simply forward it to the CC/UPnP device (they issue an HTTP GET command) and translate LMS commands like play/pause/volume ... The AirPlay bridge does a full decoding / resampling of the audio data and then sends that using the RAOP protocol. So you would have to do a combo of the two ... this is a lot of work LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1, PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne, JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+, Odroid-C1, Cubie2 ------------------------------------------------------------------------ philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261 View this thread: http://forums.slimdevices.com/showthread.php?t=104614 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
