Announcement

Collapse
No announcement yet.

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

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Cast bridge new version not loading

    Originally posted by castalla View Post
    But, it states ....

    The stable version is now part of the 3rd party plugin built-in list

    ... and you got the update that way!
    I remembered reading something about plugin updates not working and found this thread - http://forums.slimdevices.com/showth...l=1#post849035 that links to another thread. May help.
    A camel is a racehorse designed by a committee.

    Seen sprayed on the outside wall of the local library -
    Three things I hate in life :
    1. Vandalism
    2. Irony
    3. Lists

    Comment


      Originally posted by Wirrunna View Post
      I remembered reading something about plugin updates not working and found this thread - http://forums.slimdevices.com/showth...l=1#post849035 that links to another thread. May help.
      I think I need to wait until Philippe gets Michael to update the stable versions.
      Last edited by castalla; 2016-05-25, 09:25.
      ------------------------------------------------------------------------------------

      Comment


        0.2.2.0 dev version

        I've uploaded 0.2.2.0 which solves the LMS server switching problem. You can now switch between servers or set a fix LMS address for each player (see <server> parameter). This is still a development version ...

        You still cannot run the plugin on 2 machines at the same time, unless you make sure that the same Chromecast device is not enabled on the both computers. Normal use is to select one computer to run & configure the plugin, then now you can move the "virtual" players back and forth between LMS servers, without stopping / restarting the server or the plugin.
        Last edited by philippe_44; 2016-05-27, 05:07.
        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 audio

          Hi all,

          I installed v. 0.2.1 onto LMS 7.7.6, which is running on a Synology disk station. It shows the CCA as a player no problem, and as far as LMS and opens are concerned, the music is playing (the play clock advances, anyway). But I'm not getting any audio. CCA Works fine with standard Chromecast enabled apps.

          Any thoughts?

          Thx,
          LD

          Comment


            Originally posted by Lunadog View Post
            Hi all,

            I installed v. 0.2.1 onto LMS 7.7.6, which is running on a Synology disk station. It shows the CCA as a player no problem, and as far as LMS and opens are concerned, the music is playing (the play clock advances, anyway). But I'm not getting any audio. CCA Works fine with standard Chromecast enabled apps.

            Any thoughts?

            Thx,
            LD
            Very likely the port used to create a webserver is blocked by your firewall. Have a look at the built-in manuel, it give the information on ports
            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 View Post
              Very likely the port used to create a webserver is blocked by your firewall. Have a look at the built-in manuel, it give the information on ports
              Thanks -- I looked at the config file and there are no lines for the ports (copied below). I guess that confirms your theory?

              Comment


                Originally posted by Lunadog View Post
                Thanks -- I looked at the config file and there are no lines for the ports (copied below). I guess that confirms your theory?
                I can't see a file. Can you enable logging, and then post a log (see under the plugin settings, you have all the info how to set logging and grab the result)
                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 View Post
                  I can't see a file. Can you enable logging, and then post a log (see under the plugin settings, you have all the info how to set logging and grab the result)
                  My bad. Here is the log file:

                  Starting Squeeze2cast: /volume1/@appstore/SqueezeCenter/Cache/InstalledPlugins/Plugins/CastBridge/Bin/squeeze2cast-ppc -Z -I -f /volume1/@appstore/SqueezeCenter/Logs/castbridge.log -x /volume1/@appstore/SqueezeCenter/prefs/castbridge.xml
                  [09:03:53.118384] main:1183 Starting squeeze2cast version: v0.2.1.0 (May 21 2016 @ 15:38:57)

                  [09:03:53.118693] main:1214 Buffer path /tmp
                  [09:03:53.122283] Initialize:811 UPnP init success - 192.168.1.2:49152
                  [09:04:38.407668] AddCastDevice:917 [0x100b6b60]: adding renderer (CCA Garage)
                  [09:04:38.726607] CastConnect:380 [0x100b6b60]: SSL connection opened [0x4ca01008]
                  [09:04:38.757448] slimproto_thread_init:1013 [0x10059860] connecting to 192.168.1.2:3483
                  [09:04:38.759483] slimproto:891 [0x10059860] connected
                  [09:04:38.759579] sendHELO:132 [0x10059860] cap: Model=squeezelite,ModelName=SqueezeLite,AccuratePl ayPoints=0,HasDigitalOut=0,MaxSampleRate=96000,pcm ,aif,flc,mp3
                  [09:04:53.746830] CastPingThread:593 [0x4ca00f38]: No response to ping
                  [09:04:53.746983] read_bytes:180 [s-0x4ca01008]: SSL error code 5 (err:0)
                  [09:04:53.747048] CastSocketThread:628 [0x4ca00f38]: SSL connection closed
                  [09:04:53.938058] CastConnect:380 [0x100b6b60]: SSL connection opened [0x4ca020a8]
                  [09:05:11.772890] CastPingThread:593 [0x4ca00f38]: No response to ping
                  [09:05:11.773065] read_bytes:180 [s-0x4ca020a8]: SSL error code 5 (err:0)
                  [09:05:11.773118] CastSocketThread:628 [0x4ca00f38]: SSL connection closed
                  [09:05:11.921878] CastConnect:380 [0x100b6b60]: SSL connection opened [0x4ca08da8]
                  [09:05:17.330174] CastStop:203 [0x100b6b60]: Stop req w/o session or connect
                  [09:05:17.483443] process_strm:238 [0x10059860] strm command s
                  [09:05:17.483544] process_strm:309 [0x10059860], strm s autostart: 1 transition period: 10 transition type: 0 codec: p
                  [09:05:17.483584] sendSTAT:165 [0x10059860]: STAT:[STMf] msplayed 0
                  [09:05:17.483836] sq_callback:262 [0x100b6b60]: codec, ch:2, s:16, r:44100
                  [09:05:17.585297] sq_get_metadata:583 [0x10059860]: idx 4
                  artist:Bruce Hornsby & DeYarmond Edison
                  albumay of the Dead
                  title:Black Muddy River
                  genre:Alternative
                  duration:0.000
                  size:0
                  cover:http://192.168.1.2:9002/music/60095b6a/cover.jpg
                  [09:05:17.585515] CastLoad:142 [0x100b6b60]: Queuing LOAD
                  [09:05:17.585558] sq_callback:305 [0x100b6b60]: current URI set http://192.168.1.2:49152/LMS2CAST/cc...b-f0-idx-1.wav
                  [09:05:17.585617] sendSTAT:165 [0x10059860]: STAT:[STMc] msplayed 0
                  [09:05:18.757481] sq_get_time:326 [0x10059860] cannot gettime
                  [09:05:18.757675] CastSimple:177 [0x100b6b60]: Queuing PLAY
                  [09:05:29.825304] CastPingThread:593 [0x4ca00f38]: No response to ping
                  [09:05:29.830768] read_bytes:180 [s-0x4ca08da8]: SSL error code 5 (err:0)
                  [09:05:29.830884] CastSocketThread:628 [0x4ca00f38]: SSL connection closed
                  [09:05:29.989420] CastConnect:380 [0x100b6b60]: SSL connection opened [0x4ca27cb0]
                  [09:05:43.190521] process_strm:238 [0x10059860] strm command u
                  [09:05:43.190650] process_strm:285 [0x10059860] unpause at: 0 now: 1886845925
                  [09:05:43.190693] sendSTAT:165 [0x10059860]: STAT:[STMr] msplayed 0
                  [09:05:47.860447] CastPingThread:593 [0x4ca00f38]: No response to ping
                  [09:05:47.860584] read_bytes:180 [s-0x4ca27cb0]: SSL error code 5 (err:0)
                  [09:05:47.860627] CastSocketThread:628 [0x4ca00f38]: SSL connection closed
                  [09:05:48.012893] CastConnect:380 [0x100b6b60]: SSL connection opened [0x4ca33bd8]
                  [09:05:57.893301] process_strm:238 [0x10059860] strm command p
                  [09:05:57.893410] CastSimple:177 [0x100b6b60]: Queuing PAUSE
                  [09:05:57.893450] sendSTAT:165 [0x10059860]: STAT:[STMp] msplayed 0
                  [09:05:57.893527] process_strm:271 [0x10059860] pause interval: 0
                  [09:06:05.886328] CastPingThread:593 [0x4ca00f38]: No response to ping
                  [09:06:05.886437] read_bytes:180 [s-0x4ca33bd8]: SSL error code 5 (err:0)
                  [09:06:05.886495] CastSocketThread:628 [0x4ca00f38]: SSL connection closed
                  [09:06:06.261214] CastConnect:380 [0x100b6b60]: SSL connection opened [0x4ca1e448]



                  And here is my config file:

                  <squeeze2cast>
                  <main_log>info</main_log>
                  <slimmain_log>info</slimmain_log>
                  <slimproto_log>info</slimproto_log>
                  <stream_log>warn</stream_log>
                  <decode_log>warn</decode_log>
                  <scan_timeout>15</scan_timeout>
                  <common>
                  <flac_header>1</flac_header>
                  <codecs>pcm,aif,flc,mp3</codecs>
                  <streambuf_size>2457600</streambuf_size>
                  <enabled>1</enabled>
                  <output_size>2457600</output_size>
                  <remove_count>3</remove_count>
                  <max_GET_bytes>-1</max_GET_bytes>
                  <buffer_dir>?</buffer_dir>
                  <buffer_limit>-1</buffer_limit>
                  <keep_buffer_file>0</keep_buffer_file>
                  <send_icy>0</send_icy>
                  <sample_rate>96000</sample_rate>
                  <volume_on_play>1</volume_on_play>
                  <stream_length>-2</stream_length>
                  <send_coverart>1</send_coverart>
                  <media_volume>50</media_volume>
                  <send_metadata>1</send_metadata>
                  <auto_play>0</auto_play>
                  <max_read_wait>100</max_read_wait>
                  </common>
                  <util_log>warn</util_log>
                  <log_limit>1</log_limit>
                  <web_log>warn</web_log>
                  <scan_interval>30</scan_interval>
                  <upnp_socket>?</upnp_socket>
                  <server>?</server>
                  <cast_log>info</cast_log>
                  <output_log>warn</output_log>
                  <device>
                  <enabled>1</enabled>
                  <name>CCA Garage</name>
                  <mac>cc:cc:09:f2:2b:f0</mac>
                  <udn>5be49f156381af1efe6907ba35cecb53</udn>
                  </device>
                  </squeeze2cast>

                  Your is very much appreciated!!!!

                  Comment


                    Originally posted by Lunadog View Post
                    My bad. Here is the log file:

                    Starting Squeeze2cast: /volume1/@appstore/SqueezeCenter/Cache/InstalledPlugins/Plugins/CastBridge/Bin/squeeze2cast-ppc -Z -I -f /volume1/@appstore/SqueezeCenter/Logs/castbridge.log -x /volume1/@appstore/SqueezeCenter/prefs/castbridge.xml
                    [09:03:53.118384] main:1183 Starting squeeze2cast version: v0.2.1.0 (May 21 2016 @ 15:38:57)

                    [09:03:53.118693] main:1214 Buffer path /tmp
                    [09:03:53.122283] Initialize:811 UPnP init success - 192.168.1.2:49152
                    [09:04:38.407668] AddCastDevice:917 [0x100b6b60]: adding renderer (CCA Garage)
                    [09:04:38.726607] CastConnect:380 [0x100b6b60]: SSL connection opened [0x4ca01008]
                    [09:04:38.757448] slimproto_thread_init:1013 [0x10059860] connecting to 192.168.1.2:3483
                    [09:04:38.759483] slimproto:891 [0x10059860] connected
                    [09:04:38.759579] sendHELO:132 [0x10059860] cap: Model=squeezelite,ModelName=SqueezeLite,AccuratePl ayPoints=0,HasDigitalOut=0,MaxSampleRate=96000,pcm ,aif,flc,mp3
                    [09:04:53.746830] CastPingThread:593 [0x4ca00f38]: No response to ping
                    [09:04:53.746983] read_bytes:180 [s-0x4ca01008]: SSL error code 5 (err:0)
                    [09:04:53.747048] CastSocketThread:628 [0x4ca00f38]: SSL connection closed
                    [09:04:53.938058] CastConnect:380 [0x100b6b60]: SSL connection opened [0x4ca020a8]
                    [09:05:11.772890] CastPingThread:593 [0x4ca00f38]: No response to ping
                    [09:05:11.773065] read_bytes:180 [s-0x4ca020a8]: SSL error code 5 (err:0)
                    [09:05:11.773118] CastSocketThread:628 [0x4ca00f38]: SSL connection closed
                    !
                    oh ... that's a powerpc version ... these are really the least solid as I cannot test them; Maybe try the squeeze2cast-ppc-static version to see if this SSL problem goes away
                    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


                      cant get it to work

                      i've read through all 72 pages but can't find any answers!

                      I'm running LMS 7.9 on a sheevaplug running squeezeplug. info:

                      Logitech Media Server Version: 7.9.0 - 1451477685 @ Fri Jan 1 04:10:41 UTC 2016
                      Hostname: squeezeplug
                      Server IP Address: 192.168.1.79
                      Server HTTP Port Number: 9000
                      Operating system: Debian - EN - utf8
                      Platform Architecture: armv5tel-linux
                      Perl Version: 5.10.1 - arm-linux-gnueabi-thread-multi
                      Audio::Scan: 0.95
                      Database Version: DBD::SQLite 1.34_01 (sqlite 3.7.7.1)
                      Total Players Recognized: 2

                      I've got plugin v0.2.2.1 but there appears to be a problem with saving the config file:

                      Click image for larger version

Name:	castbridge.JPG
Views:	1
Size:	32.3 KB
ID:	1560844

                      if i look in that directory, there is no castbridge.xml file and i get a bunch of errors when i try and start the bridge. i think i need to solve the config error first.....

                      I'm a linux numpty so please be gentle.

                      Thanks

                      Comment


                        Originally posted by pfd View Post
                        i've read through all 72 pages but can't find any answers!

                        I'm running LMS 7.9 on a sheevaplug running squeezeplug. info:

                        Logitech Media Server Version: 7.9.0 - 1451477685 @ Fri Jan 1 04:10:41 UTC 2016
                        Hostname: squeezeplug
                        Server IP Address: 192.168.1.79
                        Server HTTP Port Number: 9000
                        Operating system: Debian - EN - utf8
                        Platform Architecture: armv5tel-linux
                        Perl Version: 5.10.1 - arm-linux-gnueabi-thread-multi
                        Audio::Scan: 0.95
                        Database Version: DBD::SQLite 1.34_01 (sqlite 3.7.7.1)
                        Total Players Recognized: 2

                        I've got plugin v0.2.2.1 but there appears to be a problem with saving the config file:

                        [ATTACH]20552[/ATTACH]

                        if i look in that directory, there is no castbridge.xml file and i get a bunch of errors when i try and start the bridge. i think i need to solve the config error first.....

                        I'm a linux numpty so please be gentle.

                        Thanks
                        Did you check the box left to "Not running" (sorry for the dumb question)? If it still does not work, have you tried to choose that -static binary from the dropdown list? Can you enable log and the copy a log here?
                        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


                          I run into the exact same problem for PPC version. I am running LMS on a mylive book NAS and I am using ppc-static version. Not sure what I can do.

                          Also, I tried to run the binary on my router. But it seems it tried to init the upnp on the WAN (the output reads: Initialize:814 UPnP init success - 73.???.???.???:49152, I replaced part of the IP with ???) not on the LAN, which is 192.168.1.?. Any suggestion?

                          Originally posted by philippe_44 View Post
                          oh ... that's a powerpc version ... these are really the least solid as I cannot test them; Maybe try the squeeze2cast-ppc-static version to see if this SSL problem goes away
                          Last edited by ericliquid; 2016-06-02, 07:45.

                          Comment


                            Yes there is a parameter <upnp_socket> that let you set which interface you want the app to use. If you want to run the binary standalone, look at the manual and command line help. It's pretty easy
                            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


                              Thanks much for the quick reply. Right now I have to use the binary standalone. Where can I find the manual? I used the -h option, but it only show me a few parameters as follow, the UPNP thing is not one of them.

                              Any chance the ssl problem of the PPC build could get fixed?

                              thanks for the good work.

                              v0.2.2.1 (May 30 2016 @ 10:15:39)
                              See -t for license terms
                              Usage: [options]
                              -s <server>[:<port>] Connect to specified server, otherwise uses autodiscovery to find server
                              -x <config file> read config from file (default is ./config.xml)
                              -i <config file> discover players, save <config file> and exit
                              -I auto save config at every network scan
                              -f <logfile> Write debug to logfile
                              -p <pid file> write PID in file
                              -d <log>=<level> Set logging level, logs: all|slimproto|stream|decode|output|web|main|util|c ast, level: error|warn|info|debug|sdebug
                              -Z NOT interactive
                              -k Immediate exit on SIGQUIT and SIGTERM
                              -t License terms

                              Build options: OSX



                              Originally posted by philippe_44 View Post
                              Yes there is a parameter <upnp_socket> that let you set which interface you want the app to use. If you want to run the binary standalone, look at the manual and command line help. It's pretty easy

                              Comment


                                Originally posted by ericliquid View Post
                                Thanks much for the quick reply. Right now I have to use the binary standalone. Where can I find the manual? I used the -h option, but it only show me a few parameters as follow, the UPNP thing is not one of them.

                                Any chance the ssl problem of the PPC build could get fixed?

                                thanks for the good work.

                                v0.2.2.1 (May 30 2016 @ 10:15:39)
                                See -t for license terms
                                Usage: [options]
                                -s <server>[:<port>] Connect to specified server, otherwise uses autodiscovery to find server
                                -x <config file> read config from file (default is ./config.xml)
                                -i <config file> discover players, save <config file> and exit
                                -I auto save config at every network scan
                                -f <logfile> Write debug to logfile
                                -p <pid file> write PID in file
                                -d <log>=<level> Set logging level, logs: all|slimproto|stream|decode|output|web|main|util|c ast, level: error|warn|info|debug|sdebug
                                -Z NOT interactive
                                -k Immediate exit on SIGQUIT and SIGTERM
                                -t License terms

                                Build options: OSX
                                You can find the manual either from the plugin page of the LMS user interface if you have installed the plugin (I know you're not using it on that server, but there is a link to the html doc) or if you download the zip package, there is a sub-dir HTML/EN/plugins/CastBridge that contains a file named "userguide.htm". It will tell you how to generate a 1st config file, modify it and then start the binary with the right parameters. Basically:

                                - start with the -i <config file> option to create the file. It will try to detect devices for 30s, then write the file and exit
                                - edit <config file> and change <upnp_socket> parameter
                                - start with -x <config file> -I, see if it works the way you want (log will be on standard output)
                                - start in background with -Z -I -x <config file->

                                Fixing the ppc problem is impossible for me as I don't have such environment, only a QEMU system to build, so I have no idea what's going wrong
                                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