• 1
  • 9
  • 10
  • 11(current)
  • 12
  • 13
  • 41
AirPlay target support integrated into XBMC natively?
tickett Wrote:I'd quite like to see, and i think would be pretty easy to achieve (may already exists) a simple app which:

Streams the audio output from a specific app (or combined output to the soundcard) to XBMC.

I guess this could easily be achieved using airflick + a simple streaming app.

L

This has been done at least for streaming any app on a Mac to Apple's AirTunes players such as airport express and atv1 or atv2. I can test later to see if it works on this python xbmc script. I would think it would. It's called Airfoil.
I cant see my xbmc box from my iphone or in Bonjour Browser!
is there anything extra i need to do to get Bonjour working?
from the log everything looks ok..
Quote:xbmc@xbmc:~$ python /home/xbmc/scripts/airplayer/airplayer.py
2011-01-02 21:03:23 [INFO] Starting Airplayer
2011-01-02 21:03:23 [DEBUG] TEMP DIR: /tmp/tmpLey2i2
2011-01-02 21:03:24 [INFO] Registered bonjour service xbmc
did you configure your settings.py?
rob.ellison Wrote:I cant see my xbmc box from my iphone or in Bonjour Browser!
is there anything extra i need to do to get Bonjour working?
from the log everything looks ok..

I am in the same position, except using avahi-browse -a, i see _airplay._tcp I am not blocking w/ the firewall.

Did anyone have to modify their avahi config?
here is my settings.py

peter@linux:~$ sudo /etc/init.d/airplayer start
Starting airplayer: airplayer
peter@linux:~$ cat git/XBMC-Airplayer/airplayer/settings.py
"""
Set your Media Backend. For now only XBMC is supported, but in the future
this could also be Plex or Boxee for example.
"""
MEDIA_BACKEND = 'XBMC'

MEDIA_BACKEND_HOST = '127.0.0.1'
MEDIA_BACKEND_PORT = 8080

MEDIA_BACKEND_USERNAME = 'xbmc'
MEDIA_BACKEND_PASSWORD = 'MYPASSWORD'

"""
This is the name by which Airplayer will identify itself to other Airplay
devices.
Leave this to None for auto-detection, provide a string to override your
default hostname.
Example:
AIRPLAY_HOSTNAME = 'My XBMC player'
"""
AIRPLAY_HOSTNAME = 'stereo'

"""
Debug mode, set to False to disable debug logging.
"""
DEBUG = False
the same as the guys above. my config is almost identical and i can see airplay through
Quote:xbmc@xbmc:~$ avahi-browse -a
+ eth0 IPv4 xbmc _airplay._tcp local
+ eth0 IPv4 XBMC Event Server@xbmc _xbmc-events._udp local
+ eth0 IPv4 XBMC JSONRPC@xbmc _xbmc-jsonrpc._tcp local
+ eth0 IPv4 XBMC HTTP API@xbmc _xbmc-web._tcp local
+ eth0 IPv4 XBMC Web Server@xbmc Web Site local
+ eth0 IPv4 xbmc [00:01:2e:2c:54:7f] Workstation local
i'm pretty sure i've not got a firewall running!
could you try let it auto detect your hostname to see if that works?
logictester Wrote:could you try let it auto detect your hostname to see if that works?

I set the value to None, no luck, it should just pop up in the iPod app right? There is nothing I have to do on the iPhone.
Nothing as long as you're running iOS 4.2+
try setting the debug to true and run the script in a terminal to try and see if something shows up in the terminal, also check /var/log/airplayer for the debug log
logictester Wrote:try setting the debug to true and run the script in a terminal to try and see if something shows up in the terminal, also check /var/log/airplayer for the debug log

I had checked these, no useful output. The weird thing is that it appears to be working, I get the pop up on xbmc, no errors, same avahi-browse ouput as above.

I looked into it being a FIOS router issue, I did find some complaints about Bonjour and wireless settings. Someone had a blog post about having B wireless enabled and causing issues, I fiddled with it and no luck. I guess I need to run avahi-browse external to my xbmc box. I will post the result when I get a chance to run it.
damsh Wrote:When i run airplayer.py, I get errors:

dam@XBMCLive:~/XBMC-Airplayer$ python airplayer.py
Unhandled exception in thread started by <function register_service at 0x86b2b8c>
Traceback (most recent call last):
File "/home/dam/XBMC-Airplayer/bonjour.py", line 13, in register_service
callBack = register_callback)
File "/usr/local/lib/python2.6/dist-packages/pybonjour.py", line 1132, in DNSServiceRegister
None)
File "/usr/local/lib/python2.6/dist-packages/pybonjour.py", line 286, in _errcheck
raise cls(result)
pybonjour.BonjourError: (-65537, 'unknown')
2010-12-25 19:16:45,743 DEBUG TEMP DIR: /tmp/tmpZvJlLR


This sligtly different errors, compared to previous posts.
I have no play2wifi service installed.
damsh Wrote:Problem was fixed - wrong options in avahi-daemon.conf.
could you detail a bit what the problem was? I am having the same issue on my appletv running ubuntu 8.04 running dharma final.

I had no issue getting it working on my main htpc running ubuntu 10.04.1

Code:
2011-01-03 10:54:10 [INFO] Starting Airplayer
Unhandled exception in thread started by <function register_service at 0xb724795c>
Traceback (most recent call last):
  File "/home/bluecop/airplayer/airplayer/bonjour.py", line 22, in register_service
    callBack = register_callback)
  File "/usr/lib/python2.5/site-packages/pybonjour.py", line 1132, in DNSServiceRegister
    None)
  File "/usr/lib/python2.5/site-packages/pybonjour.py", line 286, in _errcheck
    raise cls(result)
pybonjour.BonjourError: (-65537, 'unknown')
2011-01-03 10:54:10 [DEBUG] TEMP DIR: /tmp/tmp_ItbOM

Edit: I have compared the /etc/avahi/avahi-daemon.conf from each machine to try to gleen a missing or incorrect setting and can't really see any problems. Thanks in advance to anyone who might help me resolve this issue. I am fairly ignorant here and just trying to follow directions. I had to manually install pip because it wasn't in the 8.04 repository but everything seemed to work fine.
It's pretty annoying avahi gives this these meaningless errors. This is my avahi-daemon.conf, its the default config from avahi 0.6.25-1ubuntu5.2:

Code:
[server]
#host-name=foo
#domain-name=local
#browse-domains=0pointer.de, zeroconf.org
use-ipv4=yes
use-ipv6=no
#allow-interfaces=eth0
#deny-interfaces=eth1
#check-response-ttl=no
#use-iff-running=no
#enable-dbus=yes
#disallow-other-stacks=no
#allow-point-to-point=no

[wide-area]
enable-wide-area=yes

[publish]
#disable-publishing=no
#disable-user-service-publishing=no
#add-service-cookie=no
#publish-addresses=yes
#publish-hinfo=yes
#publish-workstation=yes
#publish-domain=yes
#publish-dns-servers=192.168.50.1, 192.168.50.2
#publish-resolv-conf-dns-servers=yes
#publish-aaaa-on-ipv4=yes
#publish-a-on-ipv6=no

[reflector]
#enable-reflector=no
#reflect-ipv=no

[rlimits]
#rlimit-as=
rlimit-core=0
rlimit-data=4194304
rlimit-fsize=0
rlimit-nofile=300
rlimit-stack=4194304
rlimit-nproc=3

I've pushed some changes to Github today, making Airplayer support Boxee and Plex too (experimental though, could have bugs).

I've also renamed the repository on Github from XBMC-Airplayer to Airplayer. The new url is https://github.com/PascalW/Airplayer.
PWiddershoven Wrote:It's pretty annoying avahi gives this these meaningless errors. This is my avahi-daemon.conf, its the default config from avahi 0.6.25-1ubuntu5.2:

I've pushed some changes to Github today, making Airplayer support Boxee and Plex too (experimental though, could have bugs).

I've also renamed the repository on Github from XBMC-Airplayer to Airplayer. The new url is https://github.com/PascalW/Airplayer.



I am running avahi-daemon 0.6.27 on ubuntu 10.10 64bit

my avahi config was the same as yours with the exception of
rlimit-nofile=300 -- my value was 768, although this makes no difference, still no luck.
deltazulu Wrote:This has been done at least for streaming any app on a Mac to Apple's AirTunes players such as airport express and atv1 or atv2. I can test later to see if it works on this python xbmc script. I would think it would. It's called Airfoil.

Any info on getting Airfoil running in XBMC? (search the forums and found some posts asking the same question but none with replies)

Ta

L
  • 1
  • 9
  • 10
  • 11(current)
  • 12
  • 13
  • 41

Logout Mark Read Team Forum Stats Members Help
AirPlay target support integrated into XBMC natively?3