Get AirPlay working on your yaVDR !
based on http://htpcbuild.wordpress.com…ng-on-your-xbmc-live-htpc
March 8, 2011 by JurKub
1. Go to https://github.com/PascalW/Airplayer and download the zip
2. Unzip it and transfer it over to /tmp of yaVDR
3. SSH into yaVDR
4. sudo apt-get install libavahi-compat-libdnssd1 python python-pip
5. sudo apt-get install python-setuptools
6. Dive into the folder you transfered in step 2 with ‘cd /tmp/PascalW-Airplayer-7a7873e’
7. sudo pip install -r requirements.txt
8. sudo mv ./airplayer /usr/lib/xbmc/system/players
9. sudo chown -R vdr:vdr /usr/lib/xbmc/system/players/airplayer
10. sudo apt-get install avahi-daemon
11. cd /usr/lib/xbmc/system/players/airplayer
12. Edit and insert your XBMC username and password in the settings file sudo nano settings.py
13. Dive into the folder you transfered in step 2 with ‘cd /tmp/PascalW-Airplayer-7a7873e’
14. sudo cp scripts/ubuntu/airplayer /etc/init.d/airplayer
15. cd /etc/init.d and next sudo chmod +x airplayer
16. sudo nano airplayer Edit user to vdr, group to vdr and path to where the airplayer.py script is located “/usr/lib/xbmc/system/players/airplayer/airplayer.py”
16a. cd /etc/init
16b. sudo nano xbmc.conf and chanage it like this
pre-start script
/usr/bin/svdrpsend remo off || /bin/true
if [ ! -z $STANDALONE ] ; then
touch /tmp/.standalone || /bin/true
fi
/etc/init.d/airplayer start
end script
post-stop script
/bin/rm -f /tmp/.standalone || /bin/true
/usr/bin/svdrpsend remo on || /bin/true
/sbin/initctl emit --no-wait vdr-frontend-restart
/etc/init.d/airplayer stop
end script
Alles anzeigen
17. Save, reboot and test!