I usually check in the Chromecast app. TuneIn isn't great about releasing CCA, but Chromecast app shows that it was released. I'll try it again with Google Play Music. That shoudl work fine.
Results 31 to 40 of 1940
-
2015-11-13, 15:55 #31
- Join Date
- Mar 2013
- Posts
- 653
-
2015-11-13, 15:58 #32
- Join Date
- Oct 2005
- Location
- Ireland
- Posts
- 20,341
If you install and use the Chromecast Beta Extension into Chrome there is a developer logging window under Options which logs all the "events" from the CCA perspective so it shows what activity is happening. It has a lot of info. I'm not sure if Philippe has any experience of it but it might have info to help.
-
2015-11-13, 16:03 #33
- Join Date
- Mar 2013
- Posts
- 653
I'll see if I can aquire some useful info there somehow.
-
2015-11-13, 16:27 #34
- Join Date
- Mar 2013
- Posts
- 653
Hey, that Plugin is actually great. So, what I can say so far is, that my TuneIn (beta) correctly starts and stops the session
I think the problem with the LMS bridge is, that there is no way to send the neccessary "connect request". You'd either end up killing the connection if CCA is currently being used to play stuff from apps or Chrome, our you'll end up not being able to connect to CCA...
I just tried a restart of the LMS Cast plugin, and that did the trick, this time at least. This is actually a complication I had not considered...
Idea: Would it be possible to send a custom command to CCA when Play/Pause is pressed or (even better) when Player ist "powered on" in LMS Interface to actively connect/disconnect to CCA? Stopping and restarting the Plugin seems to work reasonably well as far as I can tell...
-
2015-11-13, 16:35 #35
- Join Date
- May 2008
- Location
- Canada
- Posts
- 6,957
LMS 8.2 on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3
-
2015-11-13, 16:41 #36
- Join Date
- Mar 2013
- Posts
- 653
Hmm...have you checked that with the Chrome Extebsion? Because I did not see that happen when I tried it. I'll check and see if I can reproduce the behaviour...
UPDATE: Ah yes, there's the problem...I can only "power on or off" a Player if LMS can actually see it. Since CCA isn't even discovered that's not an option...hmmm...I need to sleep now, my brain is getting even slower than usual...Last edited by CommanderROR; 2015-11-13 at 16:53.
-
2015-11-13, 21:56 #37
- Join Date
- May 2008
- Location
- Canada
- Posts
- 6,957
I think I got it now. I've changed the connection "model". Now, when powered on, the SSL connection is established and will be kept as long as power is on. Everytime LMS starts to play, the Chromecast receiver app is launched (if not already running), connection is established and will be kept as long as another controller does not stop it (this will also gracefully stop any currently playing app).
A bit more painful handling but hopefully that should provide a better coexistence.
I've also added metadata, except for image that seem to crash both Chromecast devices I have
[edit]: discovery can take a while if it does not work first time - a scan is made every 30s - but ultimately, the player must appear in LMS, unless you have disable recurring scanLast edited by philippe_44; 2015-11-13 at 23:41.
LMS 8.2 on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3
-
2015-11-14, 01:39 #38
- Join Date
- Mar 2013
- Posts
- 653
It does not seem to work for me right now, but let's wait and see how others fare with it.
I think your Plugin is fine so far, if the main use is Squeezebox replacement, because once the CCA have been discovered it works just fine. Switching between Cast mode and LMS Player mode seems to be a problem, at least in my environment.
Sadly the logs don't show any fails, so it's hard to see what's wrong. It just appears, that the "discovery scan" is not discovering any of my CCA devices at the moment...
-
2015-11-14, 01:57 #39
- Join Date
- May 2008
- Location
- Canada
- Posts
- 6,957
Did you use Dev-4 ? It has corrected most of these issues
LMS 8.2 on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3
-
2015-11-14, 02:02 #40
Last night with my CCA connected to my raspi LMS, I stopped the playlist, after a while the raspi goes to sleep, and the attached USB drive turns off. I left the CCA powered up.
I shut down my PC also running LMS, but no players connected, I only use this LMS for testing new stuff.
This morning I started my PC, and LMS automatically starts.
I opened the webgui for my raspi LMS, the player dropdown box top right showed that my CCA was now connected to my PC LMS. I can usually pull a player from one instance of LMS to another, but I couldn't pull the CCA. I had to stop the PC LMS, and restart the raspi LMS a couple of times before the CCA showed up in the player list.
It's playing now as yesterday, with no problems.Server - LMS 8.2.0 Pi4B 4GB/Argon one case/pCP v7.0.1 - 75K library, playlists & LMS cache on SSD (ntfs)
Study - Pi3B/pCP 7.0.1/pi screen/AlloBoss DAC HAT/Ruark MR1 Mk2
Lounge - Pi2/pCP 6.0.0 > HiFiBerry DIGI+ > AudioEngine DAC1 > AVI DM5
Dining Room - Pi3B/pCP/Bluetooth/Echo Show 8
Garage - DAC32 > Edifier speakers
Spares - 2xTouch, 1xSB Radio. 1xSB3, 6xRPi