[mythtv-users] How-to AirPlay question

A Desai ashu.desai at gmail.com
Fri Apr 20 03:58:22 UTC 2012


On Thu, Apr 19, 2012 at 8:46 PM, A Desai <ashu.desai at gmail.com> wrote:

>
>
> On Thu, Apr 19, 2012 at 4:27 PM, A Desai <ashu.desai at gmail.com> wrote:
>
>>
>>
>> On Thu, Apr 19, 2012 at 4:26 PM, A Desai <ashu.desai at gmail.com> wrote:
>>
>>> After installing "avahi-utils" - when I give "avahi-browse -a" command,
>>> I now see airplay being enabled. On my iTunes, I do see now the icon. I am
>>> not home, but this looks very promising.
>>>
>>> I had to do "git pull", then just for the heck of it, i did a disctlean
>>> and reconfigured, compiled - and it seems good so far. Will send out an
>>> updated email once I am home.
>>>
>>> A rather stupid question -- "Where" do I need to be on mythtv when I am
>>> doing airplay? Like, do I need to be on "Play Music" when trying to do
>>> music? Or "Watch Recordings" when I am trying to push a video from my
>>> iPhone?
>>>
>>> Thanks,
>>>
>>> Ash
>>>
>>>
>>>
>>> On Thu, Apr 19, 2012 at 4:05 PM, A Desai <ashu.desai at gmail.com> wrote:
>>> > On Thu, Apr 19, 2012 at 3:12 PM, Jason McLeod <jason at mcleods.me>
>>> wrote:
>>> >> You can add it to your /etc/environment file and it will be preserved
>>> on
>>> >> reboot and set for all users.
>>> >>
>>> >>
>>> >> On Thu, Apr 19, 2012 at 2:45 PM, A Desai <ashu.desai at gmail.com>
>>> wrote:
>>> >>>
>>> >>>
>>> >>>
>>> >>> On Apr 19, 2012, at 1:33 PM, jk90090 <jk90090 at gmail.com> wrote:
>>> >>>
>>> >>> On 4/18/12 10:42 PM, Christopher Kerr wrote:
>>> >>>
>>> >>>
>>> >>>
>>> >>> Just out of curiosity, what version of iOS are you running on your
>>> >>> devices? I believe AirPlay streaming of videos wasn't implemented
>>> until
>>> >>> 4.2.1 or thereabouts. (This shouldn't prevent your devices from
>>> streaming
>>> >>> audio to MythFrontend, though, so I don't think it's actually the
>>> problem)
>>> >>>
>>> >>> - Chris
>>> >>>
>>> >>> The MYTHTV_AIRPLAY="1" only tells the frontend to register a *second*
>>> >>> device, this second one being a 'Video' device, in the LAN
>>> broadcasts.
>>> >>> Without it, the audio-only device still will be registered.
>>> >>>
>>> >>> -JK
>>> >>>
>>> >>> _______________________________________________
>>> >>>
>>> >>> mythtv-users mailing list
>>> >>> mythtv-users at mythtv.org
>>> >>> http://www.mythtv.org/mailman/listinfo/mythtv-users
>>> >>>
>>> >>>
>>> >>> Do I have to give this export command every time I boot? Can I do
>>> some
>>> >>> persistent command?
>>> >>>
>>> >>> Thanks
>>> >>>
>>> >>> Ash
>>> >>>
>>> >>> _______________________________________________
>>> >>> mythtv-users mailing list
>>> >>> mythtv-users at mythtv.org
>>> >>> http://www.mythtv.org/mailman/listinfo/mythtv-users
>>> >>>
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >> -Jason
>>> >>
>>> >> I enjoy the massacre of ads. This sentence will slaughter ads without
>>> a
>>> >> messy bloodbath.
>>> >>
>>> >>
>>> >> _______________________________________________
>>> >> mythtv-users mailing list
>>> >> mythtv-users at mythtv.org
>>> >> http://www.mythtv.org/mailman/listinfo/mythtv-users
>>> >>
>>> >
>>> >
>>> > Thank you. The file /etc/environment was empty; I put in "export
>>> > MYTHTV_AIRPLAY="1" in it; saved it.
>>> >
>>> > Appreciate it.
>>> >
>>> > Regards,
>>> > Ash
>>> > --
>>> > http://about.me/adesai
>>>
>>>
>>>
>>> --
>>> http://about.me/adesai
>>>
>>>
>> Oops, SORRY for top posting. Totally un-intentional..
>>
>> --
>> http://about.me/adesai
>>
>
>
> No go with AirPlay. I can see the icon on my iTunes (but that doesn't
> work) -- however nothing on iPhone :(
>
> ---------------------
>
> [root at FE ~]# avahi-browse -a
> + eth0 IPv4 6b5c6e62485a at MythTV on FE.local               AirTunes Remote
> Audio local
> + eth0 IPv4 MythTV on FE.local                            _airplay._tcp
>      local
> + eth0 IPv4 Mythfrontend on FE.local
>  _mythfrontend._tcp   local
> + eth0 IPv4 SFTP File Transfer on dell2850                SFTP File
> Transfer   local
> + eth0 IPv4 root's remote desktop                         VNC Remote
> Access    local
> + eth0 IPv4 root's remote desktop on FE.local             VNC Remote
> Access    local
> + eth0 IPv4 dell2850 [00:11:43:e5:c8:0e]                  Workstation
>      local
> + eth0 IPv4 mythtv [00:06:4f:41:2b:1f]                    Workstation
>      local
> + eth0 IPv4 FE [00:01:2e:26:0d:eb]                        Workstation
>      local
> + eth0 IPv4 mythtv                                        SSH Remote
> Terminal  local
> + eth0 IPv4 FE                                            SSH Remote
> Terminal  local
>
> ------------------------------------------
>
> I restarted my iPhone like 5 times, restarted avahi-daemon. Nothing.
>
>
> --
> http://about.me/adesai
>

Someone asked me the output of "netstat -ln" -- here it is:

-------------------------------

[root at FE ~]# netstat -ln
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address               Foreign Address
State
tcp        0      0 x.x.x.56:5000           0.0.0.0:*
LISTEN
tcp        0      0 127.0.0.1:5000              0.0.0.0:*
LISTEN
tcp        0      0 x.x.x.56:5100           0.0.0.0:*
LISTEN
tcp        0      0 127.0.0.1:5100              0.0.0.0:*
LISTEN
tcp        0      0 0.0.0.0:111                 0.0.0.0:*
LISTEN
tcp        0      0 x.x.x.56:6547           0.0.0.0:*
LISTEN
tcp        0      0 127.0.0.1:6547              0.0.0.0:*
LISTEN
tcp        0      0 0.0.0.0:22                  0.0.0.0:*
LISTEN
tcp        0      0 127.0.0.1:25                0.0.0.0:*
LISTEN
tcp        0      0 127.0.0.1:6010              0.0.0.0:*
LISTEN
tcp        0      0 0.0.0.0:59771               0.0.0.0:*
LISTEN
tcp        0      0 ::1:5000                    :::*
 LISTEN
tcp        0      0 ::1:5100                    :::*
 LISTEN
tcp        0      0 :::5900                     :::*
 LISTEN
tcp        0      0 :::111                      :::*
 LISTEN
tcp        0      0 :::47345                    :::*
 LISTEN
tcp        0      0 ::1:6547                    :::*
 LISTEN
tcp        0      0 :::22                       :::*
 LISTEN
tcp        0      0 ::1:6010                    :::*
 LISTEN
udp        0      0 0.0.0.0:60550               0.0.0.0:*
udp        0      0 0.0.0.0:6549                0.0.0.0:*
udp        0      0 x.x.x.255:6948          0.0.0.0:*
udp        0      0 x.x.x.56:6948           0.0.0.0:*
udp        0      0 127.0.0.1:6948              0.0.0.0:*
udp        0      0 0.0.0.0:945                 0.0.0.0:*
udp        0      0 0.0.0.0:45151               0.0.0.0:*
udp        0      0 0.0.0.0:5353                0.0.0.0:*
udp        0      0 255.255.255.255:1900        0.0.0.0:*
udp        0      0 239.255.255.250:1900        0.0.0.0:*
udp        0      0 0.0.0.0:111                 0.0.0.0:*
udp        0      0 x.x.x.56:123            0.0.0.0:*
udp        0      0 127.0.0.1:123               0.0.0.0:*
udp        0      0 0.0.0.0:123                 0.0.0.0:*
udp        0      0 0.0.0.0:1021                0.0.0.0:*
udp        0      0 ::1:6948                    :::*
udp        0      0 :::945                      :::*
udp        0      0 :::35659                    :::*
udp        0      0 :::111                      :::*
udp        0      0 fe80::201:2eff:fe26:deb:123 :::*
udp        0      0 ::1:123                     :::*
udp        0      0 :::123                      :::*
Active UNIX domain sockets (only servers)
Proto RefCnt Flags       Type       State         I-Node Path
unix  2      [ ACC ]     STREAM     LISTENING     17679
 @/tmp/.ICE-unix/3479
unix  2      [ ACC ]     STREAM     LISTENING     10470
 /var/run/abrt/abrt.socket
unix  2      [ ACC ]     STREAM     LISTENING     18959  /tmp/.esd-0/socket
unix  2      [ ACC ]     STREAM     LISTENING     18963
 /root/.pulse/bbb2e91b19afb1abad1634e90000001c-runtime/native
unix  2      [ ACC ]     STREAM     LISTENING     10386  private/proxywrite
unix  2      [ ACC ]     STREAM     LISTENING     10390  private/smtp
unix  2      [ ACC ]     STREAM     LISTENING     10394  private/relay
unix  2      [ ACC ]     STREAM     LISTENING     17921
 /tmp/orbit-root/linc-d97-0-d3f319b563ca
unix  2      [ ACC ]     STREAM     LISTENING     10398  public/showq
unix  2      [ ACC ]     STREAM     LISTENING     10402  private/error
unix  2      [ ACC ]     STREAM     LISTENING     10406  private/retry
unix  2      [ ACC ]     STREAM     LISTENING     10410  private/discard
unix  2      [ ACC ]     STREAM     LISTENING     10414  private/local
unix  2      [ ACC ]     STREAM     LISTENING     17639
 @/tmp/dbus-jEA3gWyqZA
unix  2      [ ACC ]     STREAM     LISTENING     18014
 /tmp/orbit-root/linc-d8e-0-48129efe897e0
unix  2      [ ACC ]     STREAM     LISTENING     10347  public/cleanup
unix  2      [ ACC ]     STREAM     LISTENING     18018
 /tmp/keyring-qTaAm6/socket.ssh
unix  2      [ ACC ]     STREAM     LISTENING     6860
@/com/ubuntu/upstart
unix  2      [ ACC ]     STREAM     LISTENING     9717
@/var/run/hald/dbus-F5fbsjHLE5
unix  2      [ ACC ]     STREAM     LISTENING     10898
 @/tmp/gdm-greeter-wEDMcBMG
unix  2      [ ACC ]     STREAM     LISTENING     10828  @/tmp/.X11-unix/X0
unix  2      [ ACC ]     STREAM     LISTENING     9051
/var/run/dbus/system_bus_socket
unix  2      [ ACC ]     STREAM     LISTENING     17315
 @/tmp/gdm-session-uXvgbcdU
unix  2      [ ACC ]     STREAM     LISTENING     9722
@/var/run/hald/dbus-vwwfPHRYj4
unix  2      [ ACC ]     STREAM     LISTENING     8935
/var/run/rpcbind.sock
unix  2      [ ACC ]     STREAM     LISTENING     10418  private/virtual
unix  2      [ ACC ]     STREAM     LISTENING     10422  private/lmtp
unix  2      [ ACC ]     STREAM     LISTENING     10426  private/anvil
unix  2      [ ACC ]     STREAM     LISTENING     10430  private/scache
unix  2      [ ACC ]     STREAM     LISTENING     21113
 /var/run/avahi-daemon/socket
unix  2      [ ACC ]     STREAM     LISTENING     18217
 /tmp/orbit-root/linc-dc9-0-58ea911bee890
unix  2      [ ACC ]     STREAM     LISTENING     9687
/var/run/acpid.socket
unix  2      [ ACC ]     STREAM     LISTENING     21450
 /tmp/orbit-root/linc-f5b-0-49454d2e9009f
unix  2      [ ACC ]     STREAM     LISTENING     17394
 /tmp/keyring-qTaAm6/socket
unix  2      [ ACC ]     STREAM     LISTENING     18262
 /tmp/orbit-root/linc-dca-0-35dee0f21d046
unix  2      [ ACC ]     STREAM     LISTENING     18405
 /tmp/orbit-root/linc-dcd-0-747ffaf1671e2
unix  2      [ ACC ]     STREAM     LISTENING     19072
 /tmp/orbit-root/linc-dea-0-286aeba686118
unix  2      [ ACC ]     STREAM     LISTENING     18870
 /tmp/orbit-root/linc-dcb-0-4fe13bfdc168d
unix  2      [ ACC ]     STREAM     LISTENING     18924
 /tmp/orbit-root/linc-dd1-0-6476c38d227ab
unix  2      [ ACC ]     STREAM     LISTENING     19021
 /tmp/orbit-root/linc-df2-0-23484e1a522f1
unix  2      [ ACC ]     STREAM     LISTENING     19046
 /tmp/orbit-root/linc-de5-0-7839f01b6c218
unix  2      [ ACC ]     STREAM     LISTENING     19251
 /tmp/orbit-root/linc-de9-0-1dac4d79baac2
unix  2      [ ACC ]     STREAM     LISTENING     19348
 /tmp/orbit-root/linc-e01-0-36702fb052461
unix  2      [ ACC ]     STREAM     LISTENING     19356
 /tmp/orbit-root/linc-dff-0-3348643355667
unix  2      [ ACC ]     STREAM     LISTENING     19378
 /tmp/orbit-root/linc-ddd-0-16c98c3162f32
unix  2      [ ACC ]     STREAM     LISTENING     19386
 /tmp/orbit-root/linc-de1-0-17c63a336404f
unix  2      [ ACC ]     STREAM     LISTENING     19403
 /tmp/orbit-root/linc-ddb-0-7f46b3d66ae0f
unix  2      [ ACC ]     STREAM     LISTENING     19428
 /tmp/orbit-root/linc-e00-0-7e21a6e385067
unix  2      [ ACC ]     STREAM     LISTENING     19634
 /tmp/orbit-root/linc-e13-0-497ece6a9ae84
unix  2      [ ACC ]     STREAM     LISTENING     18020
 /tmp/keyring-qTaAm6/socket.pkcs11
unix  2      [ ACC ]     STREAM     LISTENING     10829  /tmp/.X11-unix/X0
unix  2      [ ACC ]     STREAM     LISTENING     17680  /tmp/.ICE-unix/3479
unix  2      [ ACC ]     STREAM     LISTENING     18044
 /tmp/orbit-root/linc-db5-0-59922e56969b0
unix  2      [ ACC ]     STREAM     LISTENING     10354  private/tlsmgr
unix  2      [ ACC ]     STREAM     LISTENING     10358  private/rewrite
unix  2      [ ACC ]     STREAM     LISTENING     10362  private/bounce
unix  2      [ ACC ]     STREAM     LISTENING     10366  private/defer
unix  2      [ ACC ]     STREAM     LISTENING     10370  private/trace
unix  2      [ ACC ]     STREAM     LISTENING     10374  private/verify
unix  2      [ ACC ]     STREAM     LISTENING     10378  public/flush
unix  2      [ ACC ]     STREAM     LISTENING     10382  private/proxymap
unix  2      [ ACC ]     STREAM     LISTENING     17702
 /tmp/orbit-root/linc-dae-0-5a1c388f4b7d4
------------------------------------------------------------

As it stands -- I do not see any airplay icon on my iphone 4 (current iOS)
nor iPad 2 (latest iOS). As soon as i turn on my iTunes, it does show me
the icon on it - although it doesn't work.

Thank you.

Ash


-- 
http://about.me/adesai
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20120419/d97f97c7/attachment.html>


More information about the mythtv-users mailing list