Last Updated: February 25, 2016
·
6.365K
· Tomohiro

Command-line AirPlay video client for AppleTV

I'm created the AirPlayer

Release

https://rubygems.org/gems/airplayer

Source

https://github.com/Tomohiro/airplayer

Install (RubyGems)

$ gem install airplayer

Usage

Play online video

$ airplayer play http://heinlein.local/Movies/AKIRA.m4v

 Source: http://heinlein.local/misc/Movies/AKIRA.m4v
  Title: AKIRA.m4v
 Device: Apple TV (10.0.1.2)
   Time: 00:04:25 |=                             | 3% Streaming

Play local video

$ airplayer play '~/Movies/Trailers/007 SKYFALL.mp4'

 Source: http://10.0.1.6:7070
  Title: SKYFALL.mp4
 Device: Apple TV (10.0.1.2)
   Time: 00:00:20 |==                           | 11% Streaming

Play all video in directory

$ airplayer play ~/Movies/Trailers

Source: http://10.0.1.6:7070
 Title: 007 Casino Royale.mp4
Device: Apple TV (10.0.1.2)
  Time: 00:02:33 |=========================| 100% Complete

Source: http://10.0.1.6:7070
 Title: 007 Quantum Of Solace.mp4
Device: Apple TV (10.0.1.2)
  Time: 00:02:01 |=========================| 100% Complete

Source: http://10.0.1.6:7070
 Title: 007 SKYFALL.mp4
Device: Apple TV (10.0.1.2)
  Time: 00:02:36 |=========================| 100% Complete

Repeat play option is --repeat

$ airplayer play '~/Movies/Trailers/007 SKYFALL.mp4' --repeat

3 Responses
Add your response

how do you choose the airplay device to send the stream to? I have several in my home

over 1 year ago ·

@roussell Multiple Airplay device feature is not yet implemented.
I created the Issue. https://github.com/Tomohiro/airplayer/issues/12

over 1 year ago ·

@roussell Multiple AirPlay device supported now (airplayer version 0.0.7). Try it.

over 1 year ago ·