Posts: 705
Joined: Oct 2008
Reputation:
0
2010-12-22, 16:18
(This post was last modified: 2010-12-22, 18:26 by logictester.)
air home video app allows you to stream your camera roll videos over airplay and it works great, the only problem is that it only plays one video and fails on second and i have to restart the python script to make it run again, i'll test other airplay enablers to see which one allows you to stream 3rd party apps and safari to XBMC
UPDATE: airvideo enabler allows streaming of safari and 3rd party apps, unfortunatly the only thing i was able to airplay was apple.com video, youtube or 3rd party apps are unable to stream, even though the terminal window shows the video position it just stays there and does not progress and XBMC doesn't show anything.
after almost every video played over airplay i get this exception in the terminal window:
--- <exception caught here> ---
File "/usr/lib/python2.6/dist-packages/twisted/internet/selectreactor.py", line 146, in _doReadOrWrite
why = getattr(selectable, method)()
File "/usr/lib/python2.6/dist-packages/twisted/internet/tcp.py", line 460, in doRead
return self.protocol.dataReceived(data)
File "play2wifi.py", line 176, in dataReceived
duration, position = self.getPlayerPosition()
File "play2wifi.py", line 255, in getPlayerPosition
return durationString, positionString
exceptions.UnboundLocalError: local variable 'durationString' referenced before assignment
Posts: 90
Joined: Aug 2010
Reputation:
2
This solves the avahi depency on windows, run this in cmd.exe and your iDevice now detect your pc as a target for airplay (shows the little button in the videoplayer and pictureviewer)
dns-sd.exe -R <name> <domain> <port>
"c:\windows\system32\dns-sd.exe -R texaco _airplay._tcp . 225555"
Posts: 705
Joined: Oct 2008
Reputation:
0
anyone able to play youtube or other .m3u8 streams?
Posts: 2
Joined: Dec 2010
Reputation:
0
Got to the point where I could start the script (from the shell). iPhone recognizes XBMClive as host for AirPlay.
The script however runs into a 401 http error and stops after accessing the URL opener.
Has noone encountered this? How can I tell the web server to not require authentication? Thanks for any help!
Posts: 705
Joined: Oct 2008
Reputation:
0
i get this when trying to run pip:
root@XBMCLive:/home/xbmc/scripts/AirPlayer# pip install -r requirements.txt
Unknown option: r
Unknown or unsupported command 'install'
can't find anything on google about that....