Tonight I want to stream a repeating AAC playlist to the Airport Express
and see what happens. This AE is the current model (released mid-2012),
definitely an "Airplay" device. I am having trouble with it.
The AE is the only device that I have that registers the RAOP service on
an IPv4LL address. As seen from LMS host "montreux":
Code:
--------------------
root@montreux:/usr/local/bin/mDNS-SD/bin# ./mdnssd -t 30
_raop._tcp.local|sort|uniq
===============================================================
AppleTV-2.local 172.17.20.1 49155
0017F2F85EED@Hollywood._raop._tcp.local
loop.local 172.17.30.1 5000 C467B50844C9@loop._raop._tcp.local
wap01.local 172.17.0.254 5000
34363BBB4609@AE-model-A1392._raop._tcp.local
root@montreux:/usr/local/bin/mDNS-SD/bin# dig @224.0.0.251 -p 5353 any
34363BBB4609@AE-model-A1392._raop._tcp.local
; <<>> DiG 9.9.5-9+deb8u5-Debian <<>> @224.0.0.251 -p 5353 any
34363BBB4609@AE-model-A1392._raop._tcp.local
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14899
;; flags: qr aa; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 3
;; QUESTION SECTION:
;34363BBB4609\@AE-model-A1392._raop._tcp.local. IN ANY
;; ANSWER SECTION:
34363BBB4609\@AE-model-A1392._raop._tcp.local. 10 IN TXT "txtvers=1" "ch=2"
"cn=0,1" "et=0,4" "sv=false" "da=true" "sr=44100" "ss=16" "pw=false" "vn=65537"
"tp=TCP,UDP" "vs=105.1" "am=AirPort10,115" "fv=76500.6" "sf=0x4"
34363BBB4609\@AE-model-A1392._raop._tcp.local. 10 IN SRV 0 0 5000 wap01.local.
;; ADDITIONAL SECTION:
wap01.local. 10 IN AAAA fe80::3636:3bff:febb:4609
wap01.local. 10 IN A 172.17.0.254
wap01.local. 10 IN A 169.254.57.161
;; Query time: 16 msec
;; SERVER: 172.17.0.254#5353(224.0.0.251)
;; WHEN: Mon Feb 08 18:13:02 CET 2016
;; MSG SIZE rcvd: 294
root@montreux:/usr/local/bin/mDNS-SD/bin# dig @224.0.0.251 -p 5353 any
0017F2F85EED@Hollywood._raop._tcp.local
; <<>> DiG 9.9.5-9+deb8u5-Debian <<>> @224.0.0.251 -p 5353 any
0017F2F85EED@Hollywood._raop._tcp.local
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 7648
;; flags: qr aa; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 2
;; QUESTION SECTION:
;0017F2F85EED\@Hollywood._raop._tcp.local. IN ANY
;; ANSWER SECTION:
0017F2F85EED\@Hollywood._raop._tcp.local. 10 IN SRV 0 0 49155
AppleTV-2.local.
0017F2F85EED\@Hollywood._raop._tcp.local. 10 IN TXT "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"
;; ADDITIONAL SECTION:
AppleTV-2.local. 10 IN AAAA fe80::217:f2ff:fef8:5eed
AppleTV-2.local. 10 IN A 172.17.20.1
;; Query time: 5 msec
;; SERVER: 172.17.20.1#5353(224.0.0.251)
;; WHEN: Mon Feb 08 18:14:09 CET 2016
;; MSG SIZE rcvd: 272
root@montreux:/usr/local/bin/mDNS-SD/bin# dig @224.0.0.251 -p 5353 any
C467B50844C9@loop._raop._tcp.local
; <<>> DiG 9.9.5-9+deb8u5-Debian <<>> @224.0.0.251 -p 5353 any
C467B50844C9@loop._raop._tcp.local
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 38729
;; flags: qr aa; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1
;; QUESTION SECTION:
;C467B50844C9\@loop._raop._tcp.local. IN ANY
;; ANSWER SECTION:
C467B50844C9\@loop._raop._tcp.local. 10 IN SRV 0 0 5000 loop.local.
C467B50844C9\@loop._raop._tcp.local. 10 IN TXT "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"
;; ADDITIONAL SECTION:
loop.local. 10 IN A 172.17.30.1
;; Query time: 34 msec
;; SERVER: 172.17.30.1#5353(224.0.0.251)
;; WHEN: Mon Feb 08 18:14:43 CET 2016
;; MSG SIZE rcvd: 212
--------------------
The LMS server didn't have avahi-autoipd installed, so no route to
169.254/16. I have installed the package.
Code:
--------------------
root@montreux:~# ping wap01.local
PING wap01.local (169.254.57.161) 56(84) bytes of data.
^C
--- wap01.local ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 1999ms <-- before
root@montreux:~# ping -c 2 wap01.local
PING wap01.local (169.254.57.161) 56(84) bytes of data.
64 bytes from wap01.local (169.254.57.161): icmp_seq=1 ttl=255 time=0.276 ms
64 bytes from wap01.local (169.254.57.161): icmp_seq=2 ttl=255 time=0.341 ms
--- wap01.local ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 0.276/0.308/0.341/0.036 ms <-- after install + reboot
--------------------
It still didn't work, everything looking normal and no audio.
Code:
--------------------
root@montreux:~# netstat -an|grep 5000
tcp 0 1 172.17.0.20:59391 169.254.57.161:5000 SYN_SENT
<-- no audio, no ipv4ll route on LMS host
root@montreux:~# netstat -an|grep 5000
tcp 0 0 172.17.0.20:57366 169.254.57.161:5000
ESTABLISHED <-- no audio, after ipv4ll route addition
--------------------
And suddenly...
Code:
--------------------
root@montreux:~# netstat -an|grep 5000
tcp 0 0 172.17.0.20:40840 172.17.0.254:5000
ESTABLISHED <-- audio !!
--------------------
... I got audio after disconnecting the ethernet cable to change its
port from WAN to LAN in the AE (in bridge mode, shouldn't matter but I
was desperate.)
What happened here is a bit unclear to me but I surmise the DHCP
(infinite) lease was re-granted faster than the auto-ip address, and for
a short while the RAOP service was only available on IPV4. That was the
right moment to press the play button.
I'll let you make heads or tails of that story. But this is repeatable.
(And now I'll let the AE roll the playlist until it dies...)
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
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins