[HowTo] Install Airplay for XBMC on yaVDR

  • 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

    17. Save, reboot and test!

    VDR1: Asus P5B, 2048MB, 2 x Mystique SaTiX-S2 V2 CI Dual, Colorful G210, 7" Display, 1TB 2,5" SATA HD, Compact Flash to SATA 8GB CF Card --> yaVDR 0.6.1
    VDR2: Asus
    B85M-E, 8192MB, 1 x TT-Budget S2-3200 PCI, MSI GF GTX 1050-2GB, SATA Flash Modul 8GB --> yaVDR 0.6.1
    VDR3: Acer Revo 3600, 2048MB, Compact Flash to SATA 8GB CF Card --> yaVDR 0.6.1

    Einmal editiert, zuletzt von JurKub ()

  • Habs heute mal ausprobiert.


    Funktioniert leider nicht.

    Zitat

    Original von JurKub


    12. Edit and insert your XBMC username and password in the settings file sudo nano settings.py


    welches ist hier zu verwenden, hab's mit meinem root-Kennwort und mit keinem Benutzer bzw. Passwort versucht. Beides klappt nicht.


    Sämtliche anderen Schritte wurden erfolgreich ausgeführt, denke nicht das es daran liegt.

    Hardware: AMD Sempron 140 2,7 GHz, Asus M3N78-VM, 4GB DDR2, ADATA S596 32 GB SSD, WD3200LPVT 320GB, Mystique Sattix-S2, TT S2-1600, Atric-IR Einschalter Rev. 4, Multimedia Gehäuse 1HE, Logitech Harmony 525
    Software: yaVDR 0.5 (softhddevice, S5, Plugins: sleeptimer, live, **)

    Einmal editiert, zuletzt von el_colto ()

  • es ist der Username und das Passwort für den XBMC Webzugriff.


    Du findest es bei den Einstellungen Netzwerk.
    Der Webzugriff muss dort auch gestartet werden !

    VDR1: Asus P5B, 2048MB, 2 x Mystique SaTiX-S2 V2 CI Dual, Colorful G210, 7" Display, 1TB 2,5" SATA HD, Compact Flash to SATA 8GB CF Card --> yaVDR 0.6.1
    VDR2: Asus
    B85M-E, 8192MB, 1 x TT-Budget S2-3200 PCI, MSI GF GTX 1050-2GB, SATA Flash Modul 8GB --> yaVDR 0.6.1
    VDR3: Acer Revo 3600, 2048MB, Compact Flash to SATA 8GB CF Card --> yaVDR 0.6.1

  • Danke, nach aktivieren des Webservers läuft's.


    Jedoch nur, wenn ich airplayer zuvor manuell starte. Das Script scheint nicht zu funktionieren. Liegt es vielleicht daran, dass ich noch yaVDR 0.2 benutze?


    Muss die xbmc.conf hier woanders liegen? Hab hierzu leider nichts gefunden!

    Hardware: AMD Sempron 140 2,7 GHz, Asus M3N78-VM, 4GB DDR2, ADATA S596 32 GB SSD, WD3200LPVT 320GB, Mystique Sattix-S2, TT S2-1600, Atric-IR Einschalter Rev. 4, Multimedia Gehäuse 1HE, Logitech Harmony 525
    Software: yaVDR 0.5 (softhddevice, S5, Plugins: sleeptimer, live, **)

  • Zitat


    Ich muss gestehen, dass ich gelogen hatte. Das hab ich natürlich gefunden, jedoch hab ichs bei mir aufm System nicht gefunden. Jetzt find ich's sry!



    Edit:


    Jedoch auch mit dem richtig erstellten template startet airplayer nicht...

    Hardware: AMD Sempron 140 2,7 GHz, Asus M3N78-VM, 4GB DDR2, ADATA S596 32 GB SSD, WD3200LPVT 320GB, Mystique Sattix-S2, TT S2-1600, Atric-IR Einschalter Rev. 4, Multimedia Gehäuse 1HE, Logitech Harmony 525
    Software: yaVDR 0.5 (softhddevice, S5, Plugins: sleeptimer, live, **)

    Einmal editiert, zuletzt von el_colto ()

  • hast du mal

    Code
    /etc/init.d/airplayer start

    direkt auf der Console eingegeben ?

    VDR1: Asus P5B, 2048MB, 2 x Mystique SaTiX-S2 V2 CI Dual, Colorful G210, 7" Display, 1TB 2,5" SATA HD, Compact Flash to SATA 8GB CF Card --> yaVDR 0.6.1
    VDR2: Asus
    B85M-E, 8192MB, 1 x TT-Budget S2-3200 PCI, MSI GF GTX 1050-2GB, SATA Flash Modul 8GB --> yaVDR 0.6.1
    VDR3: Acer Revo 3600, 2048MB, Compact Flash to SATA 8GB CF Card --> yaVDR 0.6.1

  • Zitat

    Original von JurKub
    hast du mal

    Code
    /etc/init.d/airplayer start

    direkt auf der Console eingegeben ?


    Ja, wie oben beschrieben, dann funktioniert der Airplayer auch, und ich kann ihn auch vom iPhone anwählen.


    habe auch bereits schon folgende xbmc.conf ausprobiert:

    Code
    pre-start script
    /usr/bin/svdrpsend remo off
    /etc/init.d/airplayer start
    end script
    
    
    pre-stop script
    /usr/bin/svdrpsend remo on
    /etc/init.d/airplayer stop
    end script


    leider auch ohne erfolg

    Hardware: AMD Sempron 140 2,7 GHz, Asus M3N78-VM, 4GB DDR2, ADATA S596 32 GB SSD, WD3200LPVT 320GB, Mystique Sattix-S2, TT S2-1600, Atric-IR Einschalter Rev. 4, Multimedia Gehäuse 1HE, Logitech Harmony 525
    Software: yaVDR 0.5 (softhddevice, S5, Plugins: sleeptimer, live, **)

  • Hi!


    Danke für die Anleitung.


    Das funktioniert ja wirklich sehr gut.


    Ich habe die Änderung für xbmc.conf als custom template abgelegt. Zudem habe ich den Ordner airplayer garnicht verschoben bzw. kopiert. Habe das ganze einfach in /usr/local/src entpackt und die Datei /etc/init.d/airplayer entsprechend angepasst.
    So greift es IMHO weniger in die YAVDR-Distri ein.


    Gruß,
    Brougs78

    - -- --- ================================================================ --- -- -
    Antec Fusion, Intel E5200, Asus P5N7A-VM (VDPAU), DD CineS2 v6 + DD DuoFlex CI // yavdr-0.6.1
    - -- --- ================================================================ --- -- -

  • vielen Dank für die Anleitung


    Das ändert mal wieder alles. Mir fehlen die Worte !


    Bin noch auf IOS 4.2 inkl. Jailbreak. Mit dem Airvideoenabler kann man aus jeder Anwendung die das Standard-Apple-Streaming verwendet seine Videos über Airplay schauen.


    auf dem Ipad getestet: Tagesschau, Clipfish, Itunes, Youtube, Filmstarts, IMDB


    leider geht die Skysport App nicht, obwohl sie das Standard Apple-Streaming verwendet.


    Hat jemand ne Ahnung wie das Airplay grundsätzlich funzt. Vermute das einfach nur der Internet-Link an das Airplay-Gerät gesendet wird.


    Habs nach der Anleitung installiert und es hat auf beiden Rechnern sofort funktioniert.


    Sofern das Iphone bzw. Ipad den VDR findet und es trotzdem nicht funzt sollte man nochmal die Netzwerkeinstellungen in XBMC (System-Netzwerk-Server) bezüglich Username / Passwort und Port prüfen.


    /usr/lib/xbmc/system/players/airplayer/settings.py


    MEDIA_BACKEND_HOST = '127.0.0.1'
    MEDIA_BACKEND_PORT = 8082
    MEDIA_BACKEND_USERNAME = 'xbmc'
    MEDIA_BACKEND_PASSWORD = 'xbmc'


    nochmal vielen Dank..


    bin begeistert...
    dd

    Wohnzimmer: yaVDR 0.3; Zotac ION-ITX-F;APlus Cupid 2; Mystique SaTiX S2 Dual; 2GB Ram,500GB 2,5", Medion X10
    Standby: ca. 6 Watt, Betrieb: ca. 35 Watt

    Cinema: yaVDR 0.4,Gigabyte GA-MA78GM-S2H, Athlon 4850e+ 2×2,5 Ghz 45, 2x 1 GB DDR2 800, EVGA Nvidia GT 210, Be Quiet 400W ATX 80 Plus, 500 GB 3,5", Antec Fusion Remote Black,Technisat Skystar HD2, T, Medion X10

  • Hi,


    ich bekomme es gestartet, aber es funktioniert nicht. Beim start von airplayer bekomme ich folgendes:


    # python airplayer.py


    2011-03-13 16:47:25 [INFO] Starting Airplayer
    2011-03-13 16:47:25 [DEBUG] TEMP DIR: /tmp/tmp6vNfg7
    2011-03-13 16:47:25 [DEBUG] Sending wake event
    Unhandled exception in thread started by <function register_service at 0xb6f07f7c>
    Traceback (most recent call last):
    File "/usr/local/src/PascalW-Airplayer-dbef47c/airplayer/bonjour.py", line 19, in register_service
    callBack = register_callback)
    File "/usr/lib/python2.6/site-packages/pybonjour.py", line 1132, in DNSServiceRegister
    None)
    File "/usr/lib/python2.6/site-packages/pybonjour.py", line 286, in _errcheck
    raise cls(result)
    pybonjour.BonjourError: (-65563, 'unknown')



    Hat jemand eine Idee, was hier schief läuft? Danke!

    Einmal editiert, zuletzt von Uwe ()

  • Wie siehts denn mit der CPU-Auslastung im Vergleich zu iStreamdev aus? Mit iStreamdev komme ich recht schnell mit meiner Core2 CPU (2,2GHz) beim Streamen von HD-Sendern oder HD-Aufnahmen auf 100% :schiel


    Gruß
    iNOB

  • Uwe:


    bei mir war es nach

    Code
    sudo apt-get install avahi-daemon

    weg

    VDR1: Asus P5B, 2048MB, 2 x Mystique SaTiX-S2 V2 CI Dual, Colorful G210, 7" Display, 1TB 2,5" SATA HD, Compact Flash to SATA 8GB CF Card --> yaVDR 0.6.1
    VDR2: Asus
    B85M-E, 8192MB, 1 x TT-Budget S2-3200 PCI, MSI GF GTX 1050-2GB, SATA Flash Modul 8GB --> yaVDR 0.6.1
    VDR3: Acer Revo 3600, 2048MB, Compact Flash to SATA 8GB CF Card --> yaVDR 0.6.1

  • Zitat

    Original von JurKub
    Uwe:


    bei mir war es nach

    Code
    sudo apt-get install avahi-daemon

    weg


    Das war der entscheidende Tipp! Nun geht es auch hier! :)


    Danke JurKub!

    Einmal editiert, zuletzt von Uwe ()

  • Zitat

    Original von iNOB
    Wie siehts denn mit der CPU-Auslastung im Vergleich zu iStreamdev aus? Mit iStreamdev komme ich recht schnell mit meiner Core2 CPU (2,2GHz) beim Streamen von HD-Sendern oder HD-Aufnahmen auf 100% :schiel


    Gruß
    iNOB


    das sollte doch keinen Impact haben, es wir ja nix konvertiert..


    gruß
    dd

    Wohnzimmer: yaVDR 0.3; Zotac ION-ITX-F;APlus Cupid 2; Mystique SaTiX S2 Dual; 2GB Ram,500GB 2,5", Medion X10
    Standby: ca. 6 Watt, Betrieb: ca. 35 Watt

    Cinema: yaVDR 0.4,Gigabyte GA-MA78GM-S2H, Athlon 4850e+ 2×2,5 Ghz 45, 2x 1 GB DDR2 800, EVGA Nvidia GT 210, Be Quiet 400W ATX 80 Plus, 500 GB 3,5", Antec Fusion Remote Black,Technisat Skystar HD2, T, Medion X10

  • iNOB:
    ich hab mal ein Foto von XBMC - Systeminfo - Hardware gemacht.
    Gestreamt hab ich dabei Sintel vom iPhone 4, gleichzeitig hat VDR auch noch eine HDTV Sendung aufgenommen.


    cu
    JurKub

    Bilder

    VDR1: Asus P5B, 2048MB, 2 x Mystique SaTiX-S2 V2 CI Dual, Colorful G210, 7" Display, 1TB 2,5" SATA HD, Compact Flash to SATA 8GB CF Card --> yaVDR 0.6.1
    VDR2: Asus
    B85M-E, 8192MB, 1 x TT-Budget S2-3200 PCI, MSI GF GTX 1050-2GB, SATA Flash Modul 8GB --> yaVDR 0.6.1
    VDR3: Acer Revo 3600, 2048MB, Compact Flash to SATA 8GB CF Card --> yaVDR 0.6.1

  • Vielen Dank für die Infos. Dann werde ich das auch mal installieren :)


    Gruß
    iNOB

  • Hi,


    Könnt ihr via airplay Musik wiedergeben? Hier klappt es nicht. Im Dialog bei Musik erscheint kein Airplay-Device, bei Video und Bildern aber schon.

  • Zitat

    Original von Uwe
    Hi,


    Könnt ihr via airplay Musik wiedergeben? Hier klappt es nicht. Im Dialog bei Musik erscheint kein Airplay-Device, bei Video und Bildern aber schon.


    iOS 4.2.1 oder 4.3 ?


    4.2.1 -> geht nicht
    4.3 -> weiß ich nicht

    VDR1: Asus P5B, 2048MB, 2 x Mystique SaTiX-S2 V2 CI Dual, Colorful G210, 7" Display, 1TB 2,5" SATA HD, Compact Flash to SATA 8GB CF Card --> yaVDR 0.6.1
    VDR2: Asus
    B85M-E, 8192MB, 1 x TT-Budget S2-3200 PCI, MSI GF GTX 1050-2GB, SATA Flash Modul 8GB --> yaVDR 0.6.1
    VDR3: Acer Revo 3600, 2048MB, Compact Flash to SATA 8GB CF Card --> yaVDR 0.6.1

  • Zitat

    Original von JurKub


    4.2.1 -> geht nicht
    4.3 -> weiß ich nicht


    mit 4.3 geht es auch nicht.

    Hardware: AMD Sempron 140 2,7 GHz, Asus M3N78-VM, 4GB DDR2, ADATA S596 32 GB SSD, WD3200LPVT 320GB, Mystique Sattix-S2, TT S2-1600, Atric-IR Einschalter Rev. 4, Multimedia Gehäuse 1HE, Logitech Harmony 525
    Software: yaVDR 0.5 (softhddevice, S5, Plugins: sleeptimer, live, **)

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!