Kodi Community Forum
[AirPlay][Warning] Don't update to iOS9 if you want AirPlay to Kodi - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: [AirPlay][Warning] Don't update to iOS9 if you want AirPlay to Kodi (/showthread.php?tid=238523)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17


RE: [AirPlay][Warning] Don't update to iOS9 if you want AirPlay to Kodi - danielnf - 2016-01-02

i am using a test build of Jarvis but I cannot get airplay to work. I am trying to get spotify to stream from my ipad 2 running iOS 9.2 to my raspberry2. I enabled airplay in osmc and disabled the airplay support for Video&Pictures. This way I should be able to stream audio. When I try to stream any ipad app to osmc, it stops local playback for one second (no sound plays on OSMC) and then switchs back to playing locally. My logs are here: http://paste.osmc.io/eduvililah
When I try using airplay it reflects in these errors:
> 17:11:15 671.919373 T:1958089264 ERROR: Init: Error opening file pipe://9/
> 17:11:15 671.919617 T:1958089264 ERROR: CAudioDecoder: Unable to Init Codec while loading file pipe://9/
> 17:11:15 671.919739 T:1958089264 WARNING: PAPlayer::QueueNextFileEx - Failed to create the decoder
> 17:11:16 673.002563 T:1778258928 NOTICE: Skin Helper Service --> Video database changed, refreshing widgets....

I am not sure if the error message actually helps for fixing the problem but be a wrong trace.


[AirPlay][Warning] Don't update to iOS9 if you want AirPlay to Kodi - Memphiz - 2016-01-02

ensure that whatever distribution you are using is using the correct current version of libshairplay (as i wrote multiple times now...)


RE: [AirPlay][Warning] Don't update to iOS9 if you want AirPlay to Kodi - Skovby - 2016-01-02

(2015-12-27, 17:41)steve1977 Wrote: One more question about current airplay implementation in Kodi:

My understanding:

1) With IOS9 support enabled - audio works from idevice and itunes, but no videos, no photos and audio metadata support

2) With IOS8 support enabled - nothing works from IOS9. Audio, video and photos work from IOS8 and audio/video works from Itunes

What about audio metadata? Is audio metadata working when streaming from Itunes or other airplay senders such as Tuneblade? If yes, with IOS8 or IOS9 mode?

Which build has the iOS9 support as described above?


RE: [AirPlay][Warning] Don't update to iOS9 if you want AirPlay to Kodi - ilts - 2016-01-02

I want to share my experience related to airplay.

After update to iOS 9, I can't use AirPlay with Kodi on R-Pi.
Now, I found one solution. It is nPlayer iOS app.

https://itunes.apple.com/us/app/nplayer/id539397400?mt=8

* New Features (Paid version)

- Supports officially DTS audio codec (DTS HD)
- Supports Chromecast
- Supports video cast for Smart TV (*This function allow iDevice(nPlayer) to connect to Kodi on Raspberry Pi.)

nPlayer have built-in browser and can download Youtube Videos.
I have not Chromecast. I have iPhone, iPad, and Raspberry Pi Gen1 (Kodi).

How to download and stream Youtube videos:

1. Playback Youtube video via nPlayer's built-in brower.
2. After skip ad, stop playback.
3. Goto 'Playlist' on bottom menu -> Direct URL and touch Plus sign(+) icon on upper right and Save very long google server address. (here, you can enter video title)
4. Touch added address shortly and press 'Download' on popup menu.
5. Goto 'Local' on bottom menu -> Downloads -> Touch downloaded video file (default file name is 'videoplayback'.) and Select 'Playback' on popup menu.
6. Touch Chromecast icon on video screen's bottom left location, and Kodi, Smart TV etc device list will popup. Select Kodi or your Smart TV, and voila! now Video Streaming will start on ur TV.

If u want to change downloaded file name, Local -> Downloads -> Press and hold (for two seconds) 'videoplayback', and new menu will popup. Select 'Rename'.


Also nPlayer can connect other nPlayer video on other iOS device via WiFi.
1. Goto bottom 'Local' menu and press WiFi icon on left upper location. Turn switch on, and the iOS device (iPhone) will be Server.
2. Press bottom 'Network' menu on other iDevice (iPad). and Press right upper plus sign icon. Select 'Search Network' and select 'iPhone'. (Playback, Download...) If wnat to delete file, Press and hold on file name and Select 'Delete'. (Oops! other iOS device's app data was deleted. hmm, my iPhone is Not jailbreak. How is it possible? maybe because devices in same network and trusted area? I don't know.)

Anyway, nPlayer is excellent media player app and has many powerful functions.
Now, I can airplay to Kodi on R-Pi again.

I was interested in Nvidia Shield TV. Its powerful spec is attractive.
But I'll buy Raspberry Pi 2 because I have nPlayer paid vesion.

nPlayer's development team said that they are developing nPlayer app for apple TV.
If nPlayer app for Apple TV is released, ATV will become a really powerful media player.

I hope my experience is helpful.


RE: [AirPlay][Warning] Don't update to iOS9 if you want AirPlay to Kodi - Kris(R) - 2016-01-03

Having too much time (Xmas) I tried to find a way to stream sound from win7 and ipad to our kitchen stereo (AUX input only).
As the final solution -- if it works -- I want to use raspberry (1 or 2, I'm not sure yet) with additional sound card (probably HiFi-berry).
At the moment all things were tested on elderly M753 1.2GHz, i.e. some debian (Elementary OS based on jessie). The libshairplay is 0.92.2-2.

I've tried first the stable Kodi-15.2 and then I've set-up xbmc-nightly repository and installed Kodi from this ("kodi --version" gives 17.0-alpha).
Apparently airplay option was activated for tests but from my ipad (9.2) no sound comes on the laptop.
I can see new airplay device on iPad but nothing comes from speakers.

I have downloaded and installed shairport application (from github.com/abrasive/shairport.git) and sound, even if with some delay, comes clearly.
It streams from all apps (also youtube via safari).

So here I am: there is an open software that plays music over airplay, but unfortunately kodi does not.
At the moment I could live with the shairport but eventually I would like to upgrade the RPi with some nice touchscreen and use Kodi as a local media server.
I know -- my fault -- I should keep away form iDevices and stick to linux and windows only.

Having only rudimentary knowledge of programming (chemist) I can only kindly ask The Guys that know what word programming means:
could you check the sources of shairport and include what-so-ever-is-necessary in Kodi?

mfg, Kris


[AirPlay][Warning] Don't update to iOS9 if you want AirPlay to Kodi - Memphiz - 2016-01-04

so which distribution are you using atm? seems the right lobshairplay still didn't make it into all of them then


RE: [AirPlay][Warning] Don't update to iOS9 if you want AirPlay to Kodi - Kris(R) - 2016-01-04

This particular Elementary OS (Freya 0.3.2) is based on Ubuntu 14.04.
If the libshairplay is right or wrong -- well -- I can only say that installed is 0.92.2-2 (apparently the same as in Ubuntu 15).
I was trying to find out where is the actually source of this lib but it is a bit 'diffuse'.
If you could point me out to some url where the actual source could be found I would compile it.


RE: [AirPlay][Warning] Don't update to iOS9 if you want AirPlay to Kodi - Memphiz - 2016-01-04

https://github.com/juhovh/shairplay/commits/master


RE: [AirPlay][Warning] Don't update to iOS9 if you want AirPlay to Kodi - Kris(R) - 2016-01-04

Well, trouble,trouble,trouble...
I compiled shairplay from git.
The shairplay program worked. The audio quality was not too good -- a frequent cutting of tones. A lot of output on screen but it worked.
The "sudo make install" did not copied library into /usr/lib/i386-linux-gnu. It was still the old one with the date from last December.
I replaced it manually and started kodi. The behavior is the same as before: iPad sees an air-device but no sound is played on laptop.

So what should be my next step? Is there any way to check if kodi is aware of the connection from iPad?


p.s. Is there any reason why the number of library is still kept as 0.0.0 ?

p.s.s. Just stupid question. Do I need to compile kodi myself? Is the so-library used or is the a-library linked static into the code?


RE: [AirPlay][Warning] Don't update to iOS9 if you want AirPlay to Kodi - Memphiz - 2016-01-05

its not linked statically. In Kodi enable debugging in settings->system->debugging and enable component logging for airtunes. Then try to stream the music and post a debug log (wiki) afterwards...


RE: [AirPlay][Warning] Don't update to iOS9 if you want AirPlay to Kodi - Kris(R) - 2016-01-05

sorry for late answer. Log is here.


RE: [AirPlay][Warning] Don't update to iOS9 if you want AirPlay to Kodi - Memphiz - 2016-01-06

Are you sure that you have enabled component logging for airplay/airtunes aswell? It doesn't show any attemp for connection at all. Also make sure you don't have firewalled tcp port 36666


RE: [AirPlay][Warning] Don't update to iOS9 if you want AirPlay to Kodi - Kris(R) - 2016-01-06

Well, I selected "Verbose logging for the AitTunes library". It's now written in yellow. But this dialog is a bit confusing. The command in the top "Specifiy.." is written in yellow. Maybe I just deactivated it. Just in case I switched it back to grayish and exported log again. As to firewall... Honestly, I'm not familiar with the ubuntu and at the moment I have no idea how to check it. I must google first a bit. But as the shairplay program worked I thought there should be no issue with firewall (unless kodi uses different ports than shairplay).


[AirPlay][Warning] Don't update to iOS9 if you want AirPlay to Kodi - Memphiz - 2016-01-06

you have still turned the airplay video/photo aupport turned on which needs to be deactivated for ios9 clients...


RE: [AirPlay][Warning] Don't update to iOS9 if you want AirPlay to Kodi - Kris(R) - 2016-01-06

Thanks. Now it plays. I didn't know that there is an expert level in preferences. After switching from basic to standard the "disable video/photo support in airplay" was still not visible.
Anyway, the old laptop has some serious problems with speed and kodi. Moving cursor is less than slow (in normal linux windows it behaves quite ok). Kodi takes 50% cpu.
the other half is for x-manager (gala). When I killed it kodi took ~94%. Advantage -- cursor inside of kodi is nearly usable. :-D
I wouldn't thing that 1.2GHz pentium M can't deal with this task. I feel old. My first linux machine was AMD Am5x86 with 150MHz. I could work on this system (probably Red Hat 2.smthg or something like this; I do not mean RHEL. These came after RH hit number 9).
I took for these tests Elementary OS as it was advertised to works nicely with old hardware. Maybe I should go through old cd's and check if I have some 10 years old distro.