LinuxMCE Forums

General => Users => Topic started by: Tred on November 16, 2011, 03:08:01 am

Title: Documentation for AirPlay Audio Player
Post by: Tred on November 16, 2011, 03:08:01 am
In the web admin, under software modules, there is an entry with the description "AirPlay Audio Player is a iOS audio stream server. You can play sound to your MD with any devices having iOS >= 4.3" If this is functional, any information should be add to the wiki page as I can't find anything in the forum or wiki. I'll be happy to write the article once I get it working, but I can't figure our how to activate it. Anyone have any suggestions?
Title: Re: Documentation for AirPlay Audio Player
Post by: Foxi352 on November 16, 2011, 08:54:03 pm
Hi !

I was the Author of that part of LinuxMCE. I did not yet have time to write a wiki page, it's on the ToDo List.
Basically, you enable it for the MD's you want to appear as AirPlay target's. Once you have enabled it for at least one Media Director, you should have an AirPlay Plugin device on your Core, and an AirPlay Player device on the MD. Don't forget to quick reload.

Once you did that the MD should show up as AirPlay target on your iOS device, but attention: At the moment it's only for Music Playback and not yet for video or image playback ...

Cheers,

Serge
Title: Re: Documentation for AirPlay Audio Player
Post by: Tred on November 16, 2011, 10:23:10 pm
I've added it, and I didn't see any errors produced on any of the orbiters. It's still not showing up with my other devices on my iDevices. Is there anything that you would recommend to troubleshoot?

I have reloaded the router and restarted the core. It should be noted that I have had Airplay running on my system, though not integrated into LinuxMCE.
Title: Re: Documentation for AirPlay Audio Player
Post by: davegravy on November 17, 2011, 07:30:09 pm
Works for me intermittently (i'm running 10.04). I get an error on my MD occasionally saying "Cannot play this media, perhaps there is no device associated with this media type". I then have to reboot the MD to get it to work again. Can't find anything suspicious-looking in the log.
Title: Re: Documentation for AirPlay Audio Player
Post by: Foxi352 on November 17, 2011, 10:32:53 pm
Can you confirm you have the Plugin device under Core and the Player device under your MD in lmce webadmin device tree ?
Title: Re: Documentation for AirPlay Audio Player
Post by: davegravy on November 17, 2011, 10:41:04 pm
Can you confirm you have the Plugin device under Core and the Player device under your MD in lmce webadmin device tree ?

Yes and yes  ;)
Title: Re: Documentation for AirPlay Audio Player
Post by: Tred on November 18, 2011, 03:55:34 am
Actually, no and no. I installed it on a core and an MD. On the core, there is only one device called AirPlay and it is located in the same room as the MD. On the MD there is no Airplay device.

This is interesting because I installed Hulu at the same time and it was successful. 
Title: Re: Documentation for AirPlay Audio Player
Post by: Tred on November 26, 2011, 10:17:57 pm
So any ideas as to why this isn't installed?
Title: Re: Documentation for AirPlay Audio Player
Post by: Tred on November 27, 2011, 11:09:23 pm
Could someone point me to the script that installs Airplay so I can try to see what happened? Thanks!
Title: Re: Documentation for AirPlay Audio Player
Post by: Marie.O on November 27, 2011, 11:40:13 pm
I would apt-get -f install and see what happens.
Title: Re: Documentation for AirPlay Audio Player
Post by: Tred on November 28, 2011, 10:12:16 pm
Sure enough, I got an error. I don't recognize the package radvd, though.

Code: [Select]
After this operation, 0B of additional disk space will be used.
Setting up radvd (1:1.1-2ubuntu2) ...
Starting radvd: [Nov 28 16:10:10] radvd: syntax error in /etc/radvd.conf, line 2:
[Nov 28 16:10:10] radvd: error parsing or activating the config file: /etc/radvd.conf
failed.
invoke-rc.d: initscript radvd, action "start" failed.
dpkg: error processing radvd (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 radvd
E: Sub-process /usr/bin/dpkg returned an error code (1)
Title: Re: Documentation for AirPlay Audio Player
Post by: Foxi352 on January 26, 2012, 05:24:50 pm
Sorry for late reply. radvd package had an error that has been fixed meanwhile. If you ever have that error again simply delete radvd.conf file in /etc.

But anyway i guess you have your setup working meanwhile ?
Title: Re: Documentation for AirPlay Audio Player
Post by: Tred on February 09, 2012, 05:47:38 am
I don't actually. I did some research and as I understand it airplay uses ipv6. I deleted the config file and now radvd is running but I don't think it's actually assigning addresses. In web admin it's asking me to put in a public prefix; however, I can only populate each blank with three digits and not four. Is this normal? Am I missing anything?
Title: Re: Documentation for AirPlay Audio Player
Post by: Foxi352 on February 28, 2012, 08:18:44 pm
No, airplay just works well with IPv4
Title: Re: Documentation for AirPlay Audio Player
Post by: bwhitson on March 10, 2012, 12:06:07 am
Is there any way to change the way it displays on the phone. When I select it from my phone all it shows is Generic PC as MD.
Which is great it works well but I've got three MDs and they all show the same thing.
I play guess the MD until I get the right one, but I will never be able to use it after like 8 o'clock when my kids go to bed. Don't want them to fly awake to the sound of Cold Play @ midnight.  ;D
Title: Re: Documentation for AirPlay Audio Player
Post by: davegravy on March 10, 2012, 04:25:11 am
It should be pulling the names from your MD names in web admin. Can you change them there?
Title: Re: Documentation for AirPlay Audio Player
Post by: bwhitson on March 10, 2012, 06:05:35 am
Awesome!! Renamed the device from the tree view. Quick reload router and boom (insert best John Madden voice here) I get actual names instead of Generic PC as MD.

Thanks Dave

-b
Title: Re: Documentation for AirPlay Audio Player
Post by: Marie.O on March 10, 2012, 09:58:49 am
Well, Generic PC As MD was the old actual name :P
Title: Re: Documentation for AirPlay Audio Player
Post by: Foxi352 on March 10, 2012, 10:53:10 am
Yes, in webadmin under "Devices -> Media Directors" just rename your MD's. Airplay uses these names ...