Announcement

Collapse
No announcement yet.

Announce: CastBridge = integrate Chromecast players with LMS (squeeze2cast)

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • #61
    Originally posted by CommanderROR
    @Philippe_44

    Good luck here! I think I managed to catch the moment it starts to fail:

    [14:02:06.001678] process:553 [0x512c0] strm
    [14:02:06.001738] process_strm:240 [0x512c0] strm command t
    [14:02:06.001767] sendSTAT:166 [0x512c0] STAT: STMt
    [14:02:08.563675] SendCastMessage:175 [0xb0900480]: Cast sending: {"type":"PING"}
    [14:02:11.001687] process:553 [0x512c0] strm
    [14:02:11.001766] process_strm:240 [0x512c0] strm command t
    [14:02:11.007824] sendSTAT:166 [0x512c0] STAT: STMt
    [14:02:11.616433] SendCastMessage:175 [0xb0900480]: Cast sending: {"type":"PING"}
    [14:02:12.622337] CallbackEventHandler:594 Answer to uPNP search -1332720576
    [14:02:12.622385] CallbackEventHandler:594 Answer to uPNP search 928784
    [14:02:14.000116] UpdateMRThread:668 Begin Cast devices update
    [14:02:14.034756] UpdateMRThread:748 [0xaa3cc]: removing renderer (Wohnzimmer_Cast)
    [14:02:14.034802] slimproto_close:932 [0x512c0] slimproto stop for Wohnzimmer_Cast
    [14:02:14.034831] output_mr_close:818 [0x512c0] close media renderer
    [14:02:14.113260] decode_close:180 close decode
    [14:02:14.113297] stream_close:334 [0x512c0] close stream
    [14:02:14.220819] CastSocketThread:393 [0xb0d00550]: SSL connection lost
    [14:02:14.221012] UpdateMRThread:755 Updating configuration /var/lib/squeezeboxserver/prefs/castbridge.xml
    [14:02:14.221551] UpdateMRThread:759 End Cast devices update 222
    [14:02:38.591369] CallbackEventHandler:594 Answer to uPNP search -1332720576
    [14:02:38.591436] CallbackEventHandler:594 Answer to uPNP search -1328534024
    [14:02:42.295835] CallbackEventHandler:594 Answer to uPNP search 928784
    [14:02:42.295862] CallbackEventHandler:594 Answer to uPNP search -1332720576
    [14:02:44.000121] UpdateMRThread:668 Begin Cast devices update
    [14:02:44.055690] UpdateMRThread:755 Updating configuration /var/lib/squeezeboxserver/prefs/castbridge.xml
    [14:02:44.056465] UpdateMRThread:759 End Cast devices update 57
    [14:03:07.947814] CallbackEventHandler:594 Answer to uPNP search -1328534392
    [14:03:07.947876] CallbackEventHandler:594 Answer to uPNP search -1332719376
    [14:03:12.108273] CallbackEventHandler:594 Answer to uPNP search -1332720576


    I'm not sure whether this means anything, but I'd guess the "ssl fail" could have some impact? Although that happens after the Player is ejected, so maybe it'S not important? I have set the "remove Player" setting to 30 btw, but don't think that made a difference. The "Wohnzimmer_Cast" is still running and I can access it from Android.
    I've published a dev-5 which should help, I hope. The Cast device is kept as a valid player as long as it responds to the SSL connection keep-alive (sent every 3 sec), even if it never answers to the UPnP searches. This only applies when the player is on in LMS. When you set it off in LMS, the SSL connection is torn down and the UPnP failed scan discover rules applies again. There are also various internal code simplification for receiver application launch and less (!) deadlocks
    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

    Comment


    • #62
      Ok I'll give it a spin! Btw...is there any specific reason why LMS never picks up on Upates to your Plugins? Was the same for Upnp Bridge...

      Comment


      • #63
        Originally posted by CommanderROR
        Ok I'll give it a spin! Btw...is there any specific reason why LMS never picks up on Upates to your Plugins? Was the same for Upnp Bridge...
        I never understood exaclty why. It might be linked with my version system when I'm releasing -dev- version as it seem to work with normal releases (when I increment the x.y.z)
        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

        Comment


        • #64
          Ok.
          First impression: initial discovery eorked perfectly. So far so good. I'll check tomorrow morning whether it survives... 😉

          Comment


          • #65
            I've pushed a version 0.1.0.0-dev-6 and I'll leave it there for a while. Now that I understand better how Chromecast device works, I need to do some changes in my current architecture, or I'll continue fighting with timeout and locksdown. The current version 'works' but should not be shaked to much as it is easy to put in lock conditions. Feel free to use it, but this is not worse making tests, just use it 'gently'
            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

            Comment


            • #66
              Thanks!

              Dev5 survived over night, which is a good sign!
              I'll update to dev6 and continue testing...gently...😀

              Comment


              • #67
                Originally posted by CommanderROR
                Thanks!

                Dev5 survived over night, which is a good sign!
                I'll update to dev6 and continue testing...gently...��
                Dev6 isn't working too well for me, random stopping, random sudden volume lowering within the same track.

                When play stops, the display on SqueezeControl app on my phone or Nexus tablet indicates the track is still playing, but it stops/restarts the same track with no audio. When this happens, the Chromecast app shows the play button (circled red below) if I press this then normal playback and audio are restored (for a while).
                Attached Files
                Last edited by kidstypike; 2015-11-16, 10:48.
                Server - LMS 8.4.0 RPi4B 8GB/Argon case/pCP 8.1.0 - 75K library,
                Lounge - DAC32 - AudioEngine B2
                Office - RPi 3B+/HiFiBerry DAC HAT/RPi screen - Edifier speakers
                Bedroom - Echo Show 8

                Spares - 1xSB Touch, 1xSB3, 4xRPi, AVI DM5 speakers

                Comment


                • #68
                  Additional:

                  Dev6 not really usable, plays a few tracks only, then control is lost

                  LMS webgui or phone app no longer seem to have control over volume, I have to use the volume control in the Chromecast app. After a few minutes the volume will change to what it's set at in LMS (sometimes).

                  Dev6 not really usable for me as it is.

                  Dev5 was fine.
                  Server - LMS 8.4.0 RPi4B 8GB/Argon case/pCP 8.1.0 - 75K library,
                  Lounge - DAC32 - AudioEngine B2
                  Office - RPi 3B+/HiFiBerry DAC HAT/RPi screen - Edifier speakers
                  Bedroom - Echo Show 8

                  Spares - 1xSB Touch, 1xSB3, 4xRPi, AVI DM5 speakers

                  Comment


                  • #69
                    Yes, Dev6 seems worse for me as well. I'll have to try and revert back to Dev5.

                    UPDATE: OK, that didn't work. I copied the files from dev5 over the dev6 installation, but that won't work apparently. So I'll just wait for somebody else to fix this...
                    Last edited by CommanderROR; 2015-11-16, 12:30.

                    Comment


                    • #70
                      Originally posted by CommanderROR
                      Yes, Dev6 seems worse for me as well. I'll have to try and revert back to Dev5.

                      UPDATE: OK, that didn't work. I copied the files from dev5 over the dev6 installation, but that won't work apparently. So I'll just wait for somebody else to fix this...
                      ok ... I don't know what I did then (I'll not look into, as I'll move to a different architecture). I reverted to dev5 (did that manually, so hope it is fine)
                      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

                      Comment


                      • #71
                        I can't get the link to the repository to work. After pasting the Post 1 link in the Plugins section and hitting apply, the box goes blank and no plugin is available.

                        Comment


                        • #72
                          The url copies incorrectly

                          Right click on the URL and select copy link. I also had to remote the s from the https for it to take.

                          Comment


                          • #73
                            I did try dropping the "s" a few iterations ago with no success, but, at you prompting, gave it a go again. This time it worked! The plugin picked up my chromecast audio device OK, but I get no audio output. Probably a Squeeze2cast issue - a problem for another day!

                            Comment


                            • #74
                              Originally posted by raglencross
                              I did try dropping the "s" a few iterations ago with no success, but, at you prompting, gave it a go again. This time it worked! The plugin picked up my chromecast audio device OK, but I get no audio output. Probably a Squeeze2cast issue - a problem for another day!
                              If your CCA is showing as playing but no audio, what is the Chromecast app on your phone displaying? It should show the track details as in my post #66 above.

                              Also check the volume status on the Chromecast app.
                              Server - LMS 8.4.0 RPi4B 8GB/Argon case/pCP 8.1.0 - 75K library,
                              Lounge - DAC32 - AudioEngine B2
                              Office - RPi 3B+/HiFiBerry DAC HAT/RPi screen - Edifier speakers
                              Bedroom - Echo Show 8

                              Spares - 1xSB Touch, 1xSB3, 4xRPi, AVI DM5 speakers

                              Comment


                              • #75
                                0.1.1.0-dev-1

                                Just pushed an updated release with the architecture changes that (hopefully) should make it stable. Coexistence with other Chromecast works. The main missing item is artwork sending in metadata (this causes the Chromecast to close the connection and I don't understand why so far)
                                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

                                Comment

                                Working...
                                X
                                😀
                                🥰
                                🤢
                                😎
                                😡
                                👍
                                👎