<div>I have a problem where Airplay works fine playing on my frontend-only box from my iOS devices, but not from my Windows-7 itunes (in the windows box I had to disable IPv6).  A combined frontend-backend back works with the win-7 itunes, but there I can see that it is binding to the LAN IPv4 address.</div>
<div><br></div>Does anyone know how to get Airplay on the frontend-only box to bind to the correct non-loopback address?<div><br></div><div>I believe you can see the problem below:</div><div><br></div><div><div>Mythbuntu 12.04.1 &quot;Precise Pangolin&quot; - Release i386 (20120818.1)</div>
<div>mythfrontend version: fixes/0.26 [v0.26.0-62-g3d7a20c] <a href="http://www.mythtv.org">www.mythtv.org</a><br></div><div><br></div><div>============ below is a frontend-only where only iOS devices can airplay, but not non-IPv6 Win-7 itunes ===============</div>
<div><br></div><div><i>2012-12-17 17:43:52.245185 N  Desktop video mode: 1366x768 59.815 Hz</i></div><div><i>2012-12-17 17:43:53.563822 I  Listening on TCP <a href="http://127.0.0.1:6547">127.0.0.1:6547</a></i></div><div>
<i>2012-12-17 17:43:53.564010 I  Listening on TCP [::1]:6547</i></div><div><i>2012-12-17 17:43:53.564261 I  Listening on TCP [fe80::213:2ff:fe5e:274a%wlan0]:6547</i></div><div><i>2012-12-17 17:43:54.401079 I  RAOP Device: Created RAOP device objects.</i></div>
<div><i>2012-12-17 17:43:54.401497 I  Listening on TCP <a href="http://127.0.0.1:5000">127.0.0.1:5000</a></i></div><div><i>2012-12-17 17:43:54.401667 I  Listening on TCP [::1]:5000</i></div><div><i>2012-12-17 17:43:54.401843 I  Listening on TCP [fe80::213:2ff:fe5e:274a%wlan0]:5000</i></div>
<div><i>2012-12-17 17:43:54.401916 I  RAOP Device: Listening for connections on port 5000</i></div><div><i>2012-12-17 17:43:54.405653 I  AirPlay: Created airplay objects.</i></div><div><i>2012-12-17 17:43:54.405861 I  Listening on TCP <a href="http://127.0.0.1:5100">127.0.0.1:5100</a></i></div>
<div><i>2012-12-17 17:43:54.406025 I  Listening on TCP [::1]:5100</i></div><div><i>2012-12-17 17:43:54.406202 I  Listening on TCP [fe80::213:2ff:fe5e:274a%wlan0]:5100</i></div><div><i>2012-12-17 17:43:54.421963 I  Registering service 4f683f6f4d62@MythTV on mythfe._raop._tcp port 5000 TXT tp=UDsm=falssv=falseek=1et=0,1cn=0,1ch=2ss=1sr=4410pw=falsevn=3<span class="" style="white-space:pre">        </span>txtvers=md=0,1,2<span class="" style="white-space:pre">        </span>vs=130.14da=true</i></div>
<div><i>2012-12-17 17:43:54.439921 I  Loading en_us translation for module mythfrontend</i></div><div><i>2012-12-17 17:43:54.499564 E  LIRC: Failed to connect to Unix socket &#39;/var/run/lirc/lircd&#39;</i></div><div><i><span class="" style="white-space:pre">                        </span>eno: No such file or directory (2)</i></div>
<div><i>2012-12-17 17:43:54.499686 E  JoystickMenuThread: Joystick disabled - Failed to read /home/bob/.mythtv/joystickmenurc</i></div><div><i>cannot find <a href="http://libcec.solibcec.so">libcec.solibcec.so</a>: cannot open shared object file: No such file or directory</i></div>
<div><i>2012-12-17 17:43:54.585575 E  CECAdapter: Failed to load libcec.</i></div><div><i>2012-12-17 17:43:54.585637 I  UDPListener: Enabling</i></div><div><i>2012-12-17 17:43:54.589405 I  Binding to UDP <a href="http://127.0.0.1:6948">127.0.0.1:6948</a></i></div>
<div><i>2012-12-17 17:43:54.589587 I  Binding to UDP [::1]:6948</i></div><div><i>2012-12-17 17:43:54.589806 I  Binding to UDP [fe80::213:2ff:fe5e:274a%wlan0]:6948</i></div><div><i>2012-12-17 17:43:55.242475 W  Key Esc is bound to multiple actions in context Main Menu.</i></div>
<div><i>2012-12-17 17:43:55.267127 I  Bonjour: Service registration complete: name &#39;MythTV on mythfe&#39; type &#39;_airplay._tcp.&#39; domain: &#39;local.&#39;</i></div><div><i>2012-12-17 17:43:55.271412 I  Using Frameless Window</i></div>
<div><i>2012-12-17 17:43:55.271524 I  Using Full Screen Window</i></div><div><i>2012-12-17 17:43:55.284106 I  Bonjour: Service registration complete: name &#39;4f683f6f4d62@MythTV on mythfe&#39; type &#39;_raop._tcp.&#39; domain: &#39;local.&#39;</i></div>
<div><i><br></i></div><div><i>...</i></div><div><i><br></i></div><div><i>2012-12-17 17:47:13.094047 I  RAOP Device: New connection from FE80::6F7:E4FF:FE97:16F3%wlan0:50787</i></div><div><i>2012-12-17 17:47:13.094402 I  Binding to UDP <a href="http://127.0.0.1:6000">127.0.0.1:6000</a></i></div>
<div><i>2012-12-17 17:47:13.094627 I  Binding to UDP [::1]:6000</i></div><div><i>2012-12-17 17:47:13.094885 I  Binding to UDP [fe80::213:2ff:fe5e:274a%wlan0]:6000</i></div><div><i>2012-12-17 17:47:13.094943 I  RAOP Conn: Bound to port 6000 for incoming data</i></div>
<div><i>2012-12-17 17:47:13.168882 I  RAOP Conn: Negotiated setup with client FE80::6F7:E4FF:FE97:16F3%wlan0 on port 50787</i></div><div><i>2012-12-17 17:47:13.169045 I  Binding to UDP <a href="http://127.0.0.1:53560">127.0.0.1:53560</a></i></div>
<div><i>2012-12-17 17:47:13.169144 I  Binding to UDP [::1]:53560</i></div><div><i>2012-12-17 17:47:13.169229 I  Binding to UDP [fe80::213:2ff:fe5e:274a%wlan0]:53560</i></div><div><i>2012-12-17 17:47:13.169263 I  RAOP Conn: Bound to client control port 53560 on port 53560</i></div>
<div><i>2012-12-17 17:47:13.169338 I  Binding to UDP <a href="http://127.0.0.1:49457">127.0.0.1:49457</a></i></div><div><i>2012-12-17 17:47:13.169407 I  Binding to UDP [::1]:49457</i></div><div><i>2012-12-17 17:47:13.169485 I  Binding to UDP [fe80::213:2ff:fe5e:274a%wlan0]:49457</i></div>
<div><i>2012-12-17 17:47:13.169512 I  RAOP Conn: Bound to client timing port 49457 on port 49457</i></div><div><i>2012-12-17 17:47:13.169596 I  Listening on TCP <a href="http://127.0.0.1:49457">127.0.0.1:49457</a></i></div>
<div><i>2012-12-17 17:47:13.169668 I  Listening on TCP [::1]:49457</i></div><div><i>2012-12-17 17:47:13.169753 I  Listening on TCP [fe80::213:2ff:fe5e:274a%wlan0]:49457</i></div><div><i>2012-12-17 17:47:13.169773 I  RAOP Conn: Listening for RAOP events on port 49457</i></div>
<div><i>2012-12-17 17:47:13.605950 I  AO: Resampling from 44 kHz to 48 kHz with quality medium</i></div><div><i>2012-12-17 17:47:13.606303 I  AO: Opening audio device &#39;dmix:CARD=Intel,DEV=0&#39; ch 2(2) sr 48000 sf signed 32 bit reenc 0</i></div>
<div><i>2012-12-17 17:47:13.613741 E  ALSA: Requested 500000us got 170666 buffer time</i></div><div><i>2012-12-17 17:47:13.613950 E  ALSA: Try to manually increase audio buffer with: echo 192 | sudo tee /proc/asound/card0/pcm0p/sub0/prealloc</i></div>
<div><i>[alac @ 0xa241e60] Invalid channel count</i></div><div><i>2012-12-17 17:47:13.617733 E  ALSA: no playback control PCM found on mixer device default</i></div><div><i>2012-12-17 17:47:13.617742 E  ALSA: Unable to open audio mixer. Volume control disabled</i></div>
<div><i>2012-12-17 17:47:13.713668 I  RAOP Conn: New connection from FE80::6F7:E4FF:FE97:16F3%wlan0:50788 for RAOP events server.</i></div><div><i>2012-12-17 17:47:13.719543 I  RAOP Conn: Setting volume to 38.4848 (raw -18.454546)</i></div>
<div><i>2012-12-17 17:47:14.847760 I  RAOP Conn: RTP-Info: seq=22885 rtptime=3227828762</i></div><div><i>2012-12-17 17:47:14.851586 I  RAOP Conn: RTP-Info: seq=22885 rtptime=3227828762</i></div><div><i>2012-12-17 17:47:14.851652 I  Receiving Title:Two By Two Artist:Original Cast Recording Album:The Book of Mormon Format:</i></div>
<div><i>2012-12-17 17:47:14.857981 I  RAOP Conn: RTP-Info: seq=34028 rtptime=3227828762</i></div><div><i>2012-12-17 17:47:14.858042 I  RAOP Conn: Progress: 00:57/04:28</i></div><div><i>2012-12-17 17:47:14.861707 I  RAOP Conn: RTP-Info: seq=6818 rtptime=3227830522</i></div>
<div><i>2012-12-17 17:47:14.861757 I  RAOP Conn: Progress: 00:55/04:28</i></div><div><i>2012-12-17 17:47:14.867922 I  RAOP Conn: RTP-Info: seq=8578 rtptime=3227830522</i></div><div><i>2012-12-17 17:47:14.867976 I  RAOP Conn: Progress: 00:55/04:28</i></div>
<div><i>2012-12-17 17:47:15.227749 I  RAOP Conn: Missed 1 packet(s): expected 22630 got 22631 ts:73196681</i></div><div><i>2012-12-17 17:47:15.227858 I  RAOP Conn: Sent resend for 22630</i></div><div><i>2012-12-17 17:47:15.700290 E  RAOP Conn: Audio discontinuity seen. Played 22470 (73195395) expected 0</i></div>
<div><i>2012-12-17 17:47:22.667137 I  RAOP Conn: RTP-Info: seq=16674 rtptime=3228213498</i></div><div><i>2012-12-17 17:47:22.667224 I  Receiving Title:Two By Two Artist:Original Cast Recording Album:The Book of Mormon Format:</i></div>
<div><i>2012-12-17 17:47:22.670848 I  RAOP Conn: RTP-Info: seq=23563 rtptime=3228306860</i></div><div><i>2012-12-17 17:47:24.132310 I  RAOP Conn: Missed 2 packet(s): expected 23743 got 23745 ts:73205564</i></div><div><i>2012-12-17 17:47:24.132447 I  RAOP Conn: Sent resend for 23743</i></div>
<div><i>2012-12-17 17:47:24.132467 I  RAOP Conn: Sent resend for 23744</i></div><div><i>2012-12-17 17:47:24.854975 E  RAOP Conn: Audio discontinuity seen. Played 23618 (73204551) expected 23371</i></div><div><i>2012-12-17 17:47:30.563725 I  RAOP Conn: Missed 1 packet(s): expected 24546 got 24547 ts:73211966</i></div>
<div><i>2012-12-17 17:47:30.564040 I  RAOP Conn: Sent resend for 24546</i></div><div><i>2012-12-17 17:47:30.828724 I  RAOP Conn: Missed 1 packet(s): expected 24581 got 24582 ts:73212245</i></div><div><i>2012-12-17 17:47:30.828792 I  RAOP Conn: Sent resend for 24581</i></div>
<div><i>2012-12-17 17:47:32.753307 I  RAOP Device: Removing client connection.</i></div><div><i><br></i></div><div><br></div><div>===========below is a successful airplay on a combined backend/frontend  =======================</div>
<div><i>...<br></i></div><div><i><br></i></div><div><i>2012-12-17 17:54:55.586674 I  Listening on TCP <a href="http://127.0.0.1:6546">127.0.0.1:6546</a></i></div><div><i>2012-12-17 17:54:55.586722 I  Listening on TCP <a href="http://192.168.2.128:6546">192.168.2.128:6546</a></i></div>
<div><i>2012-12-17 17:54:55.586821 I  Listening on TCP [::1]:6546</i></div><div><i>2012-12-17 17:54:55.586880 I  Listening on TCP [fe80::a00:27ff:fe95:883b%eth0]:6546</i></div><div><i>2012-12-17 17:54:55.670635 N  Found mainmenu.xml for theme &#39;Mythbuntu&#39;</i></div>
<div><i>2012-12-17 17:54:55.849351 I  Bonjour: Service registration complete: name &#39;Mythfrontend on mythbox&#39; type &#39;_mythfrontend._tcp.&#39; domain: &#39;local.&#39;</i></div><div><i>2012-12-17 17:55:10.702323 I  MythCoreContext: Connecting to backend server: <a href="http://192.168.2.128:6543">192.168.2.128:6543</a> (try 1 of 1)</i></div>
<div><i>2012-12-17 17:55:10.703696 I  Using protocol version 75</i></div><div><i>2012-12-17 17:55:10.797257 I  Using protocol version 75</i></div><div><i>2012-12-17 17:55:10.798230 I  Using protocol version 75</i></div><div>
<i>2012-12-17 17:55:17.349038 I  RAOP Device: New connection from <a href="http://192.168.2.151:61502">192.168.2.151:61502</a></i></div><div><i>2012-12-17 17:55:17.349170 I  Binding to UDP <a href="http://127.0.0.1:6000">127.0.0.1:6000</a></i></div>
<div><i>2012-12-17 17:55:17.349208 I  Binding to UDP <a href="http://192.168.2.128:6000">192.168.2.128:6000</a></i></div><div><i>2012-12-17 17:55:17.349280 I  Binding to UDP [::1]:6000</i></div><div><i>2012-12-17 17:55:17.349340 I  Binding to UDP [fe80::a00:27ff:fe95:883b%eth0]:6000</i></div>
<div><i>2012-12-17 17:55:17.349369 I  RAOP Conn: Bound to port 6000 for incoming data</i></div><div><i>2012-12-17 17:55:17.381082 I  RAOP Device: Removing client connection.</i></div><div><i>2012-12-17 17:55:17.390697 I  RAOP Device: New connection from <a href="http://192.168.2.151:61507">192.168.2.151:61507</a></i></div>
<div><i>2012-12-17 17:55:17.390787 I  Binding to UDP <a href="http://127.0.0.1:6000">127.0.0.1:6000</a></i></div><div><i>2012-12-17 17:55:17.390824 I  Binding to UDP <a href="http://192.168.2.128:6000">192.168.2.128:6000</a></i></div>
<div><i>2012-12-17 17:55:17.390911 I  Binding to UDP [::1]:6000</i></div><div><i>2012-12-17 17:55:17.390969 I  Binding to UDP [fe80::a00:27ff:fe95:883b%eth0]:6000</i></div><div><i>2012-12-17 17:55:17.390988 I  RAOP Conn: Bound to port 6000 for incoming data</i></div>
<div><i>2012-12-17 17:55:17.491693 I  RAOP Conn: Negotiated setup with client 192.168.2.151 on port 61507</i></div><div><i>2012-12-17 17:55:17.491771 I  Binding to UDP <a href="http://127.0.0.1:6001">127.0.0.1:6001</a></i></div>
<div><i>2012-12-17 17:55:17.491849 I  Binding to UDP <a href="http://192.168.2.128:6001">192.168.2.128:6001</a></i></div><div><i>2012-12-17 17:55:17.491933 I  Binding to UDP [::1]:6001</i></div><div><i>2012-12-17 17:55:17.491988 I  Binding to UDP [fe80::a00:27ff:fe95:883b%eth0]:6001</i></div>
<div><i>2012-12-17 17:55:17.492006 I  RAOP Conn: Bound to client control port 6001 on port 6001</i></div><div><i>2012-12-17 17:55:17.492054 I  Binding to UDP <a href="http://127.0.0.1:6002">127.0.0.1:6002</a></i></div><div>
<i>2012-12-17 17:55:17.492087 I  Binding to UDP <a href="http://192.168.2.128:6002">192.168.2.128:6002</a></i></div><div><i>2012-12-17 17:55:17.492132 I  Binding to UDP [::1]:6002</i></div><div><i>2012-12-17 17:55:17.492181 I  Binding to UDP [fe80::a00:27ff:fe95:883b%eth0]:6002</i></div>
<div><i>2012-12-17 17:55:17.492195 I  RAOP Conn: Bound to client timing port 6002 on port 6002</i></div><div><i>2012-12-17 17:55:17.721374 I  AO: Resampling from 44 kHz to 48 kHz with quality medium</i></div><div><i>[alac @ 0x7f72a4346040] Invalid channel count</i></div>
<div><i>2012-12-17 17:55:17.735043 I  AO: Opening audio device &#39;default&#39; ch 2(2) sr 48000 sf signed 16 bit reenc 0</i></div><div><i>2012-12-17 17:55:17.754414 E  ALSA: Requested 500000us got 341333 buffer time</i></div>
<div><i>2012-12-17 17:55:17.754621 E  ALSA: Try to manually increase audio buffer with: echo 128 | sudo tee /proc/asound/card0/pcm0p/sub0/prealloc</i></div><div><i>2012-12-17 17:55:17.829846 I  RAOP Conn: RTP-Info: seq=32166 rtptime=3764839331</i></div>
<div><i>2012-12-17 17:55:17.834138 I  RAOP Conn: Setting volume to 71.9095 (raw -8.427140)</i></div><div><i>2012-12-17 17:55:17.837797 E  RAOP Conn: Audio discontinuity seen. Played 32222 (85370953) expected 0</i></div><div>
<i>2012-12-17 17:55:17.876193 I  RAOP Conn: RTP-Info: seq=0 rtptime=3764859043</i></div><div><i>2012-12-17 17:55:17.876293 I  Receiving Title:KCRW Simulcast Artist: Album: Format:</i></div><div><i>2012-12-17 17:55:17.876604 I  RAOP Conn: RTP-Info: seq=0 rtptime=3764859043</i></div>
<div><i>2012-12-17 17:55:17.877008 I  RAOP Conn: Progress: 08:39/00:00</i></div><div><i>2012-12-17 17:55:20.671472 E  RAOP Conn: Audio discontinuity seen. Played 32325 (85371775) expected 32324</i></div><div><i>2012-12-17 17:55:29.119350 I  RAOP Device: Removing client connection.</i></div>
<div><br></div><div><br></div></div>