Announcement

Collapse
No announcement yet.

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

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Originally posted by pbar
    Philippe, Many thanks for writing this plugin!

    I am using it on a Synology DiskStation, and it works really well most of the time.

    However, every couple of days it gets into a mode where I press play on a track and the 'elapsed time' goes up to about 4 seconds and then resets to zero. I found through trial and error that going to the plugin settings and restarting the bridge fixed this.

    Recently though, this trick has stopped working and now I have to disable and reenable the entire plugin to get things going again. I'm wondering if this is a known problem, and if not, what would be the best way to debug this?

    I've attached the log file (with default log settings) in case it has anything useful in it:
    [ATTACH]30419[/ATTACH]

    PS - I've just pointed the squeezebox server at the sourceforge repo (http://downloads.sourceforge.net/pro...ev/repo-sf.xml) and it has found a newer version of the plugin, so perhaps this is fixed now? Will install tonight and see if things are any different!

    I have also had the same issue running on a RasPi 4. Have had to reboot LMS to get it working again? happens both with Google home Mini's and Chromecast Audio's.

    Comment


    • Hi - I am running OMV5 server on a PC Desktop and using LMS through a docker which is all working fine except for Chromecast Bridge which is installed.

      So I have chosen binary squeeze2casr-x86-64-static, restart, apply.

      Then i click generate and wait 30s or so but nothing happens - cannot see any of my chromecast devices.

      have I done something wrong?

      Comment


      • Player takes same ip address as the server.

        I am running CCA on an active speaker friendly name Kitchen Speaker.
        CCA ip address is assigned dhcp 192.168.0.33 on the router.
        The lms server is 192.168.0.16 and it is Ethernet connected.
        I created the xml file so Kitchen speaker has a uud and correct mac address; the server has self selected 192.168.0.16

        When I look at the lms information page, this player is wrongly on the same ip address.

        I don't have a problem provided I allow the xml file choose the server address. If I input 192.168.0.16 the CCA is not seen.

        I have attached the Castbridge logserver.log (2).zip

        Sent from my LG-US998 using Tapatalk
        SB Touch (Community firmware v8.01) UE Radio, Marantz PM7000N. LMS 8.2 Snakeoil OS, HP t520 thin client.
        BBCiPlayer, BBC Sounds, Shairtunes2 plugins, edo applet

        Comment


        • Originally posted by Patricia P
          When I look at the lms information page, this player is wrongly on the same ip address.
          This is the IP address of the Squeezelite (the LMS player) that the CC Bridge is running and not an attempt to show the IP address of the CCA.
          Paul Webster
          Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
          and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin

          Comment


          • Originally posted by Paul Webster
            This is the IP address of the Squeezelite (the LMS player) that the CC Bridge is running and not an attempt to show the IP address of the CCA.
            Thanks that has reassured me.

            Sent from my LG-US998 using Tapatalk
            SB Touch (Community firmware v8.01) UE Radio, Marantz PM7000N. LMS 8.2 Snakeoil OS, HP t520 thin client.
            BBCiPlayer, BBC Sounds, Shairtunes2 plugins, edo applet

            Comment


            • Originally posted by tannaroo
              Hi - I am running OMV5 server on a PC Desktop and using LMS through a docker which is all working fine except for Chromecast Bridge which is installed.

              So I have chosen binary squeeze2casr-x86-64-static, restart, apply.

              Then i click generate and wait 30s or so but nothing happens - cannot see any of my chromecast devices.

              have I done something wrong?
              I have managed to get the config file working and it is showing by cast devices. But when I try to play a song through my chromecast audio speaker - no sound is coming out. Is there another setting required?

              Comment


              • Originally posted by tannaroo
                I have managed to get the config file working and it is showing by cast devices. But when I try to play a song through my chromecast audio speaker - no sound is coming out. Is there another setting required?
                pls read #1 post of this thread
                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


                • ok thanks I finally got it working. just a quick question about my setup.

                  I have 3 x RPi4 each running pircoreplayer and 1 running LMS server. So I can connect now to my chromecast devices.

                  Just a question, is it possible to cast to my RPi4 running picoreplayer somehow?

                  For example, say I I am using a 3rd party podcast app (using Android phone) which has the cast symbol to my chromecast devices, what i would like is for it not cast to my chromecast devices but rather my LMS/picoreplayer devices?
                  Last edited by tannaroo; 2020-07-15, 19:53.

                  Comment


                  • That will not work because the bridge cannot emulate a Chromecast device.
                    If close enough you could try Bluetooth.
                    Paul Webster
                    Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
                    and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin

                    Comment


                    • Originally posted by Paul Webster
                      That will not work because the bridge cannot emulate a Chromecast device.
                      If close enough you could try Bluetooth.
                      Thanks yes Bluetooth is not close enough, so wont work.
                      Last edited by tannaroo; 2020-07-17, 21:33.

                      Comment


                      • Chromecast Bridge - Speaker doesn't switch off - continuous to play music

                        Hello to all,

                        First of all thank you very much to Philippe for writing this great Chromecast Bridge Plugin for which I would like to ask for a little help please, since I could not find the solution in this forum.

                        Both the latest versions of Picoreplayer and LMS are installed on a PI4B 4gb, that is used with a Chrome browser on a Macbook.

                        The question is: when using the Chromecast Bride Plugin to cast on one of my Chromecast speakers, Chromecast Audio dongle or any other Chromecast build in device, it seems impossible to switch off the speaker or other Chromecast device (player). The music continues to play on that device even when clicking on the switch off button or selecting another device from the list of players.

                        Any help with this issue would be greatly appreciated! Thank you very much in advance.

                        Warm greetings from a newbie from Belgium
                        Fred

                        Comment


                        • Originally posted by Fred72
                          Hello to all,

                          First of all thank you very much to Philippe for writing this great Chromecast Bridge Plugin for which I would like to ask for a little help please, since I could not find the solution in this forum.

                          Both the latest versions of Picoreplayer and LMS are installed on a PI4B 4gb, that is used with a Chrome browser on a Macbook.

                          The question is: when using the Chromecast Bride Plugin to cast on one of my Chromecast speakers, Chromecast Audio dongle or any other Chromecast build in device, it seems impossible to switch off the speaker or other Chromecast device (player). The music continues to play on that device even when clicking on the switch off button or selecting another device from the list of players.

                          Any help with this issue would be greatly appreciated! Thank you very much in advance.

                          Warm greetings from a newbie from Belgium
                          Fred
                          It was a bug that happened in specific cases (volume ramp-down) - Thanks for reporting it
                          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


                          • Thank you very much Philippe, it's working :-)

                            Originally posted by philippe_44
                            It was a bug that happened in specific cases (volume ramp-down) - Thanks for reporting it
                            Thank you very much Philippe, it's working :-)

                            Comment


                            • Chromecast gone AWOL

                              From yesterday my Chromecast has disappeared! It was there yesterday, in player dropdown list, but in the evening it was gone. Not seen today but my Google Mini is available, and I can play to it, and I can also play to Chromecast via Spotify.

                              Not aware of any changes to my system of LMS 8, Windows 10. I can see the Chromecast in the plugin page.

                              Logging:
                              [19:32:10.708] discover_server:806 [004AAF94] sending discovery
                              [19:32:10.708] discover_server:810 [004AAF94] error sending discovery

                              Castbridge.xml:
                              squeeze2cast>
                              <upnp_socket>?</upnp_socket>
                              <slimproto_log>info</slimproto_log>
                              <slimmain_log>warn</slimmain_log>
                              <output_log>warn</output_log>
                              <main_log>info</main_log>
                              <common>
                              <flac_header>1</flac_header>
                              <remove_timeout>0</remove_timeout>
                              <mode>thru</mode>
                              <streambuf_size>524288</streambuf_size>
                              <media_volume>50</media_volume>
                              <send_icy>0</send_icy>
                              <codecs>aac,ogg,flc,aif,pcm,mp3</codecs>
                              <stream_length>-1</stream_length>
                              <server>?</server>
                              <send_metadata>1</send_metadata>
                              <roon_mode>0</roon_mode>
                              <enabled>1</enabled>
                              <auto_play>0</auto_play>
                              <sample_rate>96000</sample_rate>
                              <send_coverart>1</send_coverart>
                              <output_size>4194304</output_size>
                              <stop_receiver>0</stop_receiver>
                              <volume_on_play>1</volume_on_play>
                              </common>
                              <cast_log>info</cast_log>
                              <log_limit>-1</log_limit>
                              <stream_log>warn</stream_log>
                              <decode_log>warn</decode_log>
                              <util_log>warn</util_log>
                              <device>
                              <udn>5fb68a9fed0d46f1b122d122b3cf7a2f</udn>
                              <name>Kitchen Speaker</name>
                              <friendly_name>Kitchen Speaker</friendly_name>
                              <mac>cc:cc:63:43:fe:6f</mac>
                              <enabled>1</enabled>
                              </device>
                              <device>
                              <udn>beb90ecb514c24049fa6cea0c25033bc</udn>
                              <name>Chromecast TV</name>
                              <server>0.0.0.1</server>
                              <friendly_name>Chromecast TV</friendly_name>
                              <mac>cc:cc:38:70:cb:95</mac>
                              <enabled>1</enabled>
                              </device>
                              </squeeze2cast>

                              Any help and suggestions welcome.

                              Steve
                              Last edited by skind56; 2020-08-21, 09:55. Reason: Expanded layout of file with titles

                              Comment


                              • Chromecast gone AWOL

                                Clutching at straws but I assume that the renderer name of "Sitting Room TV" and Chromecast name of "Chromecast TV" shouldn't be an issue:

                                Castbridge log:
                                Starting Squeeze2cast: C:\PROGRA~3\SQUEEZ~1\Cache\INSTAL~1\Plugins\CASTBR ~1\Bin\SQUEEZ~1.EXE -Z -I -b 192.168.1.1 -f C:\ProgramData\Squeezebox\Logs\castbridge.log -d output=debug -x C:\ProgramData\Squeezebox\prefs\castbridge.xml
                                [10:01:30.777] main:1267 Starting squeeze2cast version: v1.40.6 (Aug 4 2020 @ 15:44:55)
                                [10:01:30.808] output_init:603 success loading FLAC encoder
                                [10:01:30.861] Start:1036 Binding to 192.168.1.1:49152
                                [10:01:31.193] AddCastDevice:951 [0048BC98]: adding renderer (Sitting Room TV)
                                [10:01:31.193] output_thread_init:569 [004AAF94] init output media renderer
                                [10:01:31.193] discover_server:810 [004AAF94] error sending discovery


                                Server log:
                                [20-08-21 10:17:25.4148] Plugins::CastBridge::Settings::handler2 (245) $VAR1 = [
                                {
                                'udn' => '.common.',
                                'name' => '[common parameters]'
                                },
                                {
                                'udn' => 'beb90ecb514c24049fa6cea0c25033bc',
                                'name' => 'Chromecast TV',
                                'friendly_name' => 'Chromecast TV',
                                'server' => '0.0.0.1',
                                'mac' => 'cc:cc:38:70:cb:95',
                                'enabled' => '1'
                                },
                                {
                                'udn' => '5fb68a9fed0d46f1b122d122b3cf7a2f',
                                'name' => 'Kitchen Speaker',
                                'friendly_name' => 'Kitchen Speaker',
                                'mac' => 'cc:cc:63:43:fe:6f',
                                'enabled' => '1'
                                }
                                ];
                                [20-08-21 10:17:25.4149] Plugins::CastBridge::Settings::handler2 (250) reading: upnp_socket ?
                                [20-08-21 10:17:25.4150] Plugins::CastBridge::Settings::handler2 (250) reading: log_limit -1

                                Comment

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