Runs great on my XBMCLive install, however when I run it on my Ubuntu HTPC I get
2011-03-06 17:54:12 [INFO] Starting Airplayer
Traceback (most recent call last):
File "airplayer.py", line 221, in <module>
main()
File "airplayer.py", line 217, in main
raise e
TypeError: %d format: a number is required, not str
This is GREAT!!! It work's Perfectly!!!
First of all, thank you tripkip for making it easier for us
I followed your guide and it kind of works me. I can run AirPlay videos and photos, but I have to manually start avahi-daemon and restart the script.
When I boot up I can see that the python script is running. Checking with ps -aux
/var/log/airplayer/airplayer.log:
2011-03-10 19:22:12 [WARNING] Couldn't connect to XBMC at 127.0.0.1:8080, are you sure it's running?
If I start the avahi-daemon manually and then restart the script the XBMCLive appears as a destination for my iPad.
xbmc@XBMCLive:~$ sudo service avahi-daemon start
[sudo] password for xbmc:
avahi-daemon start/running, process 1420
xbmc@XBMCLive:~$ sudo /etc/init.d/airplayer restart
Stopping airplayer: airplayer
Starting airplayer: airplayer
/var/log/airplayer/airplayer.log:
2011-03-10 19:22:12 [WARNING] Couldn't connect to XBMC at 127.0.0.1:8080, are you sure it's running?
2011-03-10 19:26:24 [INFO] Starting Airplayer
Any ideas why avahi-daemon doesn't start/work at boot? I'm running XBMCLive 10.1.
since this is a n00bproof manual... I'm feeling quite a n00b to ask this question... My linux skills are minimal..
I downloaded the file from the github and copied it via winscp to my asrock 330HT. So far so good.
The install of libavahi-compat-libdnssd1 and python went fine but when i try to install python-pip or python-setuptools I get the following feedback:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package python-pip
and
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package python-setuptools
I installed the latest xbmc live cd (10.1)
Can anyone tell me what I'm doing wrong?
(sorry for such a n00b question
)
Works great for video. Any way to stream music from the ipod like u can with airplay on ATV2?
qbase Wrote:Any ideas why avahi-daemon doesn't start/work at boot? I'm running XBMCLive 10.1.
Have you enabled the web interface?
Quote:Can anyone tell me what I'm doing wrong?
You didn't follow the instructions.
Code:
sudo apt-get install libavahi-compat-libdnssd1 python python-pip
sudo apt-get install python-setuptools
I did follow the instructions and it gave the same error:
xbmc@XBMCLive:~$ sudo apt-get install libavahi-compat-libdnssd1 python python-pip
Reading package lists... Done
Building dependency tree
Reading state information... Done
libavahi-compat-libdnssd1 is already the newest version.
python is already the newest version.
E: Couldn't find package python-pip
xbmc@XBMCLive:~$ sudo apt-get install python-setuptools
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package python-setuptools
Run apt-get update, then try again.
hammertime Wrote:I did follow the instructions and it gave the same error:
xbmc@XBMCLive:~$ sudo apt-get install libavahi-compat-libdnssd1 python python-pip
...
E: Couldn't find package python-pip
I am in the same situation...
Acer Revo 3610 - XBMC Live 10 - skin Aeon
Edit: It's work, I actually tried with SSH and the install it's ok
but I see only youtube videos and not my photo or my video...
and how to stop the service from the ssh window (I use putty)?
In the settings.py the "MEDIA_BACKEND_HOST" is automatically set to 127.0.0.1. Hence I get an error referring to this, but what should really be entered here?
/Niklas
darkscout Wrote:Have you enabled the web interface?
Yes I have. Everything works after I manually start avahi-daemon.
Should the daemon start up at boot or is it the airplayer script which starts the daemon?
Works great!!!
just one remark if you install (on jailbrocken device) the
airvideoenabler then airplay even strts out of Safari!!! WoW!!!