Announcement

Collapse
No announcement yet.

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

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Originally posted by darthx
    Philippe,
    thanks for the prompt answer.
    I've talked to my ISP this morning, unfortunately, they say no changes were made on their part....
    In my first post I forgot to mention that I can always cast from hbogo and netflix to CC, and from hifi cast (android app) to CCA. That hasn't changed, it just works.
    Anyhow, after your reply, yesterday I have:
    Deleted both CCs in router settings
    Rebooted both CCs thru Google home app.
    Removed all (there were plenty) LMS windefender firewall exclusions from numerous installations over the years, and manually added new exception for squeezesrv.exe.
    Manually added exception for squeeze2cast.
    Reinstalled LMS 7.9.2 and cast plugin. Restarted win 10.
    BOOOOM, both CCs were showing in LMS...... for a minute or so... [emoji37][emoji22]

    Please look into log and newly created xml file.
    These files are too much for me, need a translator.
    Maybe an old cast plugin version is a solution? If so, how to manually install it?
    Any suggestions for most stable/compatible LMS 7.9 version? [ATTACH]28196[/ATTACH]

    Sent from my LG-H930 using Tapatalk
    Any chance you would have another mDNS listener in your system that would takeover/conflict the mDNS multicast 224.0.0.251:5353

    I can't remember if you tried that: any chance you would have a different machine like a Pi to try? You can run squeeze2cast on any machine, it does not have to share LMS's machine (of course in that case, the .xml file must be manually copied wherever you run squeeze2cast)
    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


    • No chromecast player on menu

      hi I'm starting the adventure with daphile.
      I have a problem with the chromecast player. It doesn't appear in the menu selection.
      Attached Files

      Comment


      • Hello Philippe,

        couldn't respond earlier, just yesterday I've borrowed a Lenovo laptop with win 10 instalation so I could try it on my wifi network.
        Installed LMS 7.9.2 and cbridge plugin
        on it. Both CC and CCA were recognized, and castbridge.xml was created. I could play to both CCs from either machine. When I stop the LMS on 'new' laptop, and manually start castbridge on laptop, my PC still can cast to CCs. But, when I turn off the laptop, CCs are gone from PC LMS. Copying castbridge.xml from laptop to PC does nothing. PC LMS reads xml, CCs are shown in plugin setting but not recognized as players. PC still can't generate new xml, only erase it.
        So, laptop works--PC still doesn't. Does that eliminate router and ISP as problems?
        Are you willing to look into any other log?
        Many thanks in advance...

        Sent from my LG-H930 using Tapatalk

        Comment


        • So definitely an issue with mDNS discovery. I think there is something on daphile that blocks it or the requests from this IP are filtered out. Difficult for me to tell more, it would require to log into the Linux subsystem of daphile and try a few manual things from there. But I don’t remember if daphile let you ssh.
          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


          • macOS Catalina (10.15) Issues

            Just an observation that under Catalina -- besides the usual host of issues that a new OS creates -- Castbridge on my machine now requires a manual restart after LMS is started before a chromecast client is detected and successfully bridged into LMS.

            Once the plugin is restarted, everything connects and runs normally. But this now must be done manually on every LMS start up.

            I suspect it is a delayed permissions issue of some sort, as Catalina presents a more aggressive permissions and security architecture than Mojave.

            Comment


            • Originally posted by sgmlaw
              Just an observation that under Catalina -- besides the usual host of issues that a new OS creates -- Castbridge on my machine now requires a manual restart after LMS is started before a chromecast client is detected and successfully bridged into LMS.

              Once the plugin is restarted, everything connects and runs normally. But this now must be done manually on every LMS start up.

              I suspect it is a delayed permissions issue of some sort, as Catalina presents a more aggressive permissions and security architecture than Mojave.
              I really don't know much about macOS, my build environement has already been super challange to create. DO you have similar issues with othe rplugin that require a binary helper?
              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


              • Originally posted by philippe_44
                I really don't know much about macOS, my build environement has already been super challange to create. DO you have similar issues with othe rplugin that require a binary helper?
                The main issues I am seeing with Catalina are primarily permissions-related. I do not run many plugins in my LMS implementation. The only plugins that have been impacted in my setup are Castbridge and PlayWMA. The PlayWMA issue is due to the need for a 64-bit MPlayer in Catalina.

                I don't know where in the overall LMS start sequence this plugin starts making resource and networking calls , which could have an impact under Catalina.

                But Castbridge resolves itself with a manual restart, so it is not a major problem. I am only pointing it out if others are suffering the same issue.

                Comment


                • Docker and not generarting and XML config.

                  Hi all,

                  Originally posted by philippe_44
                  As suggested in 1st post, is the container in host mode? There can be no NAT between the bridge and the players
                  I have my lms docker container running in macvlan mode. This way the docker container has it's own IP address (not sharing the host) and the macvlan network as a whole can be bound to the right interface.

                  Other services that depend on discovery or running on host mode, like samba, seem to work well in this way.

                  But the squeuze2cast service still seems to take issue.

                  I have mapped ports 49152 and 5353 (latter just to be sure) in addition to the other lms ports, and as said, it has it's own ip. Is this something that should work too? Do I need something extra in the config of this container?

                  Comment


                  • Originally posted by Suit
                    Hi all,



                    I have my lms docker container running in macvlan mode. This way the docker container has it's own IP address (not sharing the host) and the macvlan network as a whole can be bound to the right interface.

                    Other services that depend on discovery or running on host mode, like samba, seem to work well in this way.

                    But the squeuze2cast service still seems to take issue.

                    I have mapped ports 49152 and 5353 (latter just to be sure) in addition to the other lms ports, and as said, it has it's own ip. Is this something that should work too? Do I need something extra in the config of this container?
                    No it won't work - IP must be the same
                    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


                    • Setting up on Ubuntu

                      I'm somewhat of a novice when it comes to Linux and have been trying to get this up and running on my x86 (Atom-based) Ubuntu PC (running 18.04). I'm trying to get my LMS server to stream from my DLNA server to a Chromecast (and ultimately hoping to get some voice control from the Google Home Mini set up).

                      I was able to get initial playback more or less working by disabling the firewall, setting my DLNA server to convert all files to FLAC and then streaming to one of my Google Home Minis. However, I'd prefer for the firewall to be enabled. Just passing thru port 49152 doesn't work - also tried setting up a range of 49152:49202 but that didn't work either. Any idea which ports specifically I need to pass through?

                      Also, I had read earlier that LMS had a way to read / index the contents of a DLNA server and allow for searching that server but that doesn't seem to be the case, at least in the more recent versions. Presumably will make it problematic for voice control if I can't get that working, I would assume. Not really related to this thread then but if someone can point me in the right direction it would be appreciated.

                      Thanks!

                      Comment


                      • Originally posted by mhendu
                        I'm somewhat of a novice when it comes to Linux and have been trying to get this up and running on my x86 (Atom-based) Ubuntu PC (running 18.04). I'm trying to get my LMS server to stream from my DLNA server to a Chromecast (and ultimately hoping to get some voice control from the Google Home Mini set up).

                        I was able to get initial playback more or less working by disabling the firewall, setting my DLNA server to convert all files to FLAC and then streaming to one of my Google Home Minis. However, I'd prefer for the firewall to be enabled. Just passing thru port 49152 doesn't work - also tried setting up a range of 49152:49202 but that didn't work either. Any idea which ports specifically I need to pass through?

                        Also, I had read earlier that LMS had a way to read / index the contents of a DLNA server and allow for searching that server but that doesn't seem to be the case, at least in the more recent versions. Presumably will make it problematic for voice control if I can't get that working, I would assume. Not really related to this thread then but if someone can point me in the right direction it would be appreciated.

                        Thanks!
                        That sounds complicated. I'm sure you have reasons for streaming from your DLNA server to LMS, rather than getting LMS to access the music files directly. Does that work using LMS devices on LMS itself? Assuming that all works, I found chromecast from LMS required:

                        UDP at 1900
                        UDP at 5353
                        TCP at 9000
                        TCP at 49152:49202 (or whatever)
                        LMS 8.1 on PC, Xubuntu 20.04, FLACs 16->24 bit, 44.1->192kbps. 2 Touches & EDO.
                        LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (A308CR amp & ESLs) & Marantz CR603 UPnP renderers.
                        Also Minimserver & Upplay to same & to upmpdcli/mpd PC renderers.
                        Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.
                        Wireless Xubuntu 20.04 laptop firefox/upplay or Android mobile with Squeeze-Ctrl/BubbleUPnP controls LMS/Minimserver.

                        Comment


                        • Hi
                          I have exactly the same problem using daphile ... it appears the plugin doesn't load ... have you found a solution ?
                          Did you contact Daphile directly to see if he could help ?
                          Thanks

                          Comment


                          • Rtfm :-)

                            ok .. I think I have figured this out ..
                            Through trial and error I have managed to install and configure the plugin ... and then realised there was a very thorough set of instructions provided

                            I think the main issue I had ( once configured ) was getting changes made using the daphile interface ( although there is no obvious reason why this shouldn't work ). The solution for me was to do all changes through the default LMS interface and then saving / restarting ... all changes showed up in Daphile

                            I have to say this this is a fantastic utility and extends the functionality / life of the squeezebox ecosystem into the 21st century of Alexa/Google ..

                            Brilliant work Philippe .. greatly appreciated !!

                            Comment


                            • Originally posted by philippe_44
                              Any chance you would have another mDNS listener in your system that would takeover/conflict the mDNS multicast 224.0.0.251:5353

                              I can't remember if you tried that: any chance you would have a different machine like a Pi to try? You can run squeeze2cast on any machine, it does not have to share LMS's machine (of course in that case, the .xml file must be manually copied wherever you run squeeze2cast)
                              I also have the problem of the squeeze2cast very recently no longer creating an XML file (on Win10 Pro machine).
                              Since I do not have the XML file, how can I test the trick of running the bridge elsewhere?

                              Comment


                              • Ps: in my case it might correlate with me updating Win 10 to most recent version to allow the sandbox feature?

                                Comment

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