Airplay from iphone or ipad to linux target

This will show you how to airplay from iPhone or iPad to linux. This way you can stream from your iPhone to a linux media server, or a raspberry pi :D If you don’t know what airplay is already, then this post most likely isn’t for you, but here is a definition from apple

Play content from your iPhone, iPad, iPod touch or Mac on your HDTV.
AirPlay lets you wirelessly stream whatโ€™s on your iOS device and Mac to your HDTV and speakers.1 Or mirror exactly whatโ€™s on your display to the big screen. Guests can even share their content with peer-to-peer AirPlay.2 Holiday photos, blockbusters, presentations, the latest games – AirPlay and Apple TV put it all on your TV.

Sending to a linux destination

To be able to Airplay from iphone or ipad to a linux target we need to setup a totem plugin on the linux machine. To do this, first, make sure you have totem player installed in your linux machine if you don’t have it already.

apt-get install totem
or
yum install totem

The next step is to clone the totem airplay plugin from github to the totem plugin folder in your own machine:

cd ~/local/share/totem/plugins/airplay

git clone https://github.com/phuang/totem-plugin-airplay
create the folders first if you don’t have them.

Next, open totem player.

Enable the airplay plugin from the edit > plugins configuration screen. You can now Airplay from iphone or ipad to linux!

Sending from a linux source

There are various options available, the best source being here:

https://github.com/jamesdlow/open-airplay

Sources: https://github.com/phuang/totem-plugin-airplay

Jonathan Mitchell, CTO | CITP | MSc


3 responses to “Airplay from iphone or ipad to linux target”

  1. Geermc4 Avatar
    Geermc4

    doesn’t show as a plug in to enable , what did i miss.

  2. Gman Smith Avatar
    Gman Smith

    i enabled it but i get errors on the totem console. im running linux in a chroot, so it will be hard to get the error codes, but its somthing about avahi?

  3. Mark Jagodzinski Avatar
    Mark Jagodzinski

    It isn’t showing in the Configure Plugins menu

Leave a Reply