Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Merge pull request #7 from neildd/master

covert all tab and space to 4 space, skip same target address apple tv d...
latest commit 040c3173e4
Simon Andersson authored November 25, 2013
Octocat-spinner-32 .gitignore Added .DS_Store to .gitignore November 09, 2011
Octocat-spinner-32 README.md Update README.md January 08, 2012
Octocat-spinner-32 airplayer.py covert all tab and space to 4 space, skip same target address apple t… November 25, 2013
README.md

AirPlayer

This program lets you send YouTube videos and other files from you Mac to your Airplay Device.

Install & Usage

AirPlayer uses some third-party modules.

So you need to install them first if you want this to work.

Usage

If you don't know how to install a module do this:

  1. Open you terminal and cd into the folder you want to install.

  2. python setup.py install (You might need to run it as sudo)

  3. We're done!

To Play

cd into your AirPlayer folder and run this command.

# To play a video from YouTube
# It will automatically pick the highest possible quality and send it to you AirPlay Device.
python airplayer.py http://www.youtube.com/watch?v=8To-6VIJZRE

or

# To play a local mp3 file (must be on your own server at the moment)
python airplayer.py http://192.168.0.10/10%20Not%20Exactly.mp3

or

# To play a video from blip.tv
python airplayer.py http://blip.tv/wptuts/getting-loopy-ajax-powered-loops-with-jquery-and-wordpress-5805465

or

# To play a hosted video
python airplayer.py http://movies.apple.com/media/us/iphone/2011/ads/apple-iphone4s-siri-snow-today-us-20111030_r848-9cie.mov

Licence

Do what ever you want. Public Domain or something. If you like it, drop me a line and tell so. It makes me all warm en fuzzy inside.

Something went wrong with that request. Please try again.