philippe_44 wrote: 
> Thanks for finding that - I've corrected it know in dev-3. The discovery
> is looking for _raop._tcp.local which I thought was the right name. It
> finds my Marantz, JBL OnBeat, ShairPort and AirPort Express ... that's
> strange. Can you try this mdns discovery tools that I've updated for
> this : https://github.com/philippe44/mDNS-SD/tree/master/bin (use it
> with "mdnssd _raop._tcp.local" to see if it finds something). The x86-64
> should not coredump anymore.
Progress!
1st off, sorry for the airtunes/airplay mixup.

- The daemon now sings like a lark.
- The mdnss application failed to find any player unless I stopped
avahi-daemon which is normally running on the LMS server.

>From then on, the bridge found 2 players ok, and crashed on the
Libratone Loop
Code:
--------------------
    Starting Squeeze2raop: 
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-x86-64
 -Z -I -f /var/log/squeezeboxserver/raopbridge.log -d all=debug -x 
/var/lib/squeezeboxserver/prefs/raopbridge.xml
  [14:16:57.951918] main:772 Starting squeeze2raop version: v0.1.0.0-dev-3 (Feb 
 1 2016 @ 21:26:35)
  
  [14:16:57.956253] register_pcm:244 using pcm to decode aif,pcm
  [14:16:57.956619] load_mad:392 loaded libmad.so.0
  [14:16:57.956638] register_mad:413 using mad to decode mp3
  [14:16:57.956652] load_mad:392 loaded libmad.so.0
  [14:16:57.956661] register_mad:413 using mad to decode mp3
  [14:16:57.957242] load_flac:251 loaded libFLAC.so.8
  [14:16:57.957258] register_flac:272 using flac to decode flc
  [14:16:57.957543] load_faad:612 loaded libfaad.so.2
  [14:16:57.957556] register_faad:633 using faad to decode aac
  [14:16:57.958171] load_soxr:279 loaded libsoxr.so.0
  [14:16:57.958190] register_soxr:384 using soxr for resampling
  [14:16:57.964366] UpdateMRThread:311 Begin Cast devices update
  [14:17:13.004342] AddRaopDevice:489 [0x684400]: adding renderer (AppleTV-2)
  [14:17:13.005253] stream_thread_init:306 [0x62d180] streambuf size: 2097152
  [14:17:13.011221] output_raop_thread_init:141 [0x62d180]: init output raop
  [14:17:13.011336] output_init_common:302 [0x1aeaa0]: outputbuf size: 
1094273658
  [14:17:13.011426] decode_thread_init:141 [0x62d180]: init decode
  [14:17:13.011484] resample_init:367 [0x62d180]: resampling sync recipe: 0x00, 
flags: 0x00, scale: 0.89, precision: 0.0, passband_end: 0.00000, 
stopband_begin: 0.00000, phase_response: -1.0
  [14:17:13.011540] discover_server:753 [0x62d180] sending discovery
  [14:17:13.012541] discover_server:782 [0x62d180] got response from: 
172.17.0.20:3483
  [14:17:13.012593] slimproto_thread_init:940 [0x62d180] connecting to 
172.17.0.20:3483
  [14:17:13.012694] AddRaopDevice:489 [0x684b00]: adding renderer (loop)
  
  Retarting Squeeze2raop after crash: 
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-x86-64
 -Z -I -f /var/log/squeezeboxserver/raopbridge.log -d all=debug -x 
/var/lib/squeezeboxserver/prefs/raopbridge.xml
  [14:17:27.958952] main:772 Starting squeeze2raop version: v0.1.0.0-dev-3 (Feb 
 1 2016 @ 21:26:35)
  
  [14:17:27.959191] register_pcm:244 using pcm to decode aif,pcm
  [14:17:27.959507] load_mad:392 loaded libmad.so.0
  [14:17:27.959528] register_mad:413 using mad to decode mp3
  [14:17:27.959542] load_mad:392 loaded libmad.so.0
  [14:17:27.959550] register_mad:413 using mad to decode mp3
  [14:17:27.960075] load_flac:251 loaded libFLAC.so.8
  ...
--------------------

The Loop, which is asleep during my test (but visible and able to wake
from an iThing), has a different behaviour than the 2 other players. 
Code:
--------------------
    root@montreux:/usr/local/bin/mDNS-SD/bin# ./mdnssd -t 180  _raop._tcp.local
  AppleTV-2.local       172.17.20.1     49155   
0017F2F85EED@Hollywood._raop._tcp.local -> This is an old AppleTV1,1
  wap01.local   169.254.57.161  5000    
34363BBB4609@AE-model-A1392._raop._tcp.local -> This is a current Airport 
Express
  loop.local    172.17.30.1     5000    C467B50844C9@loop._raop._tcp.local -> 
This is a Libratone Loop mk. 2 (wifi/BT4.0)
  ===============================================================
  
--------------------
The Loop's raop service registration is transient:
Code:
--------------------
    root@montreux:/usr/local/bin/mDNS-SD/bin# while true;do echo 
`date`;./mdnssd -t 15  _raop._tcp.local|grep loop;sleep 30;done
  Tue Feb 2 13:23:45 CET 2016
  Tue Feb 2 13:24:30 CET 2016
  loop.local    172.17.30.1     5000    C467B50844C9@loop._raop._tcp.local
  Tue Feb 2 13:25:15 CET 2016
  loop.local    172.17.30.1     5000    C467B50844C9@loop._raop._tcp.local
  Tue Feb 2 13:26:00 CET 2016
  Tue Feb 2 13:26:46 CET 2016
  Tue Feb 2 13:27:31 CET 2016
  loop.local    172.17.30.1     5000    C467B50844C9@loop._raop._tcp.local
  ^C
  root@montreux:/usr/local/bin/mDNS-SD/bin# while true;do echo `date`;./mdnssd 
-t 30  _raop._tcp.local|grep loop;sleep 60;done
  Tue Feb 2 13:28:06 CET 2016
  Tue Feb 2 13:29:36 CET 2016
  ^C
  root@montreux:/usr/local/bin/mDNS-SD/bin# while true;do echo `date`;./mdnssd 
-t 90  _raop._tcp.local|grep loop;sleep 240;done
  Tue Feb 2 13:30:02 CET 2016
  loop.local    172.17.30.1     5000    C467B50844C9@loop._raop._tcp.local
  Tue Feb 2 13:35:32 CET 2016
  loop.local    172.17.30.1     5000    C467B50844C9@loop._raop._tcp.local
  Tue Feb 2 13:41:02 CET 2016
  loop.local    172.17.30.1     5000    C467B50844C9@loop._raop._tcp.local
  ^C
  
--------------------

Maybe there is a parsing issue in the daemon? This is what dns-sd sees
on my mac desktop:
Code:
--------------------
    $  dns-sd -B _raop._tcp. local.
  Browsing for _raop._tcp..local.
  DATE: ---Tue 02 Feb 2016---
  14:33:48.340  ...STARTING...
  Timestamp     A/R    Flags  if Domain               Service Type         
Instance Name
  14:33:48.341  Add        3  13 local.               _raop._tcp.          
0017F2F85EED@Hollywood
  14:33:48.341  Add        3  13 local.               _raop._tcp.          
34363BBB4609@AE-model-A1392
  14:33:48.341  Add        2  13 local.               _raop._tcp.          
C467B50844C9@loop
  ^C
  $  dns-sd -L C467B50844C9@loop _raop._tcp.
  Lookup C467B50844C9@loop._raop._tcp..local
  DATE: ---Tue 02 Feb 2016---
  14:36:03.618  ...STARTING...
  14:36:04.564  C467B50844C9@loop._raop._tcp.local. can be reached at 
loop.local.:5000 (interface 13)
  cn=0,1 da=true et=0,4 ft=0x444C0A00 am=LibratoneLoop2 fv=s9827.43.0 sd=101 
sf=0x4 tp=UDP vn=65537 vs=190.9
  ^C
  $  dns-sd -L 34363BBB4609@AE-model-A1392 _raop._tcp.
  Lookup 34363BBB4609@AE-model-A1392._raop._tcp..local
  DATE: ---Tue 02 Feb 2016---
  14:36:37.162  ...STARTING...
  14:36:37.291  34363BBB4609@AE-model-A1392._raop._tcp.local. can be reached at 
wap01.local.:5000 (interface 13)
  txtvers=1 ch=2 cn=0,1 et=0,4 sv=false da=true sr=44100 ss=16 pw=true vn=65537 
tp=TCP,UDP vs=105.1 am=AirPort10,115 fv=76500.6 sf=0x1
  ^C
  $  dns-sd -L 0017F2F85EED@Hollywood _raop._tcp.
  Lookup 0017F2F85EED@Hollywood._raop._tcp..local
  DATE: ---Tue 02 Feb 2016---
  14:37:06.839  ...STARTING...
  14:37:07.004  0017F2F85EED@Hollywood._raop._tcp.local. can be reached at 
AppleTV-2.local.:49155 (interface 13)
  txtvers=1 ch=2 cn=0,1 et=0,2 sv=false da=true sr=44100 ss=16 pw=false 
vn=65537 tp=TCP,UDP md=0,1,2 vs=101.9 am=AppleTV1,1 sf=0x4
  ^C
--------------------


HTH



4 SB 3 • iPeng (iPhone + iPad) • Squeezebox Server 7.9 (linux) with
plugins: CD Player, WaveInput, Triode's BBC iPlayer by bpa • IRBlaster
by Gwendesign (Felix) • Server Power Control by Gordon Harris • Smart
Mix, Music Walk With Me, What Was That Tune? by Michael Herger •
PowerSave by Jason Holtzapple • Song Info, Song Lyrics by Erland
Isaksson • WeatherTime by Martin Rehfeld • ShairTunes2 by disaster123 •
Local Player by Triode • Auto Dim Display, SaverSwitcher, ContextMenu by
Peter Watkins.
------------------------------------------------------------------------
epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=105114

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to