tomohiro / Airplayer
Licence: mit
🎥 Command-line AirPlay video client for Apple TV
Stars: ✭ 239
Programming Languages
ruby
36898 projects - #4 most used programming language
Labels
Projects that are alternatives of or similar to Airplayer
Airflix
🍿 An AirPlay friendly web interface to stream your movies and TV shows from a home server.
Stars: ✭ 420 (+75.73%)
Mutual labels: airplay
Balena Sound
Build a single or multi-room streamer for an existing audio device using a Raspberry Pi! Supports Bluetooth, Airplay and Spotify Connect
Stars: ✭ 1,306 (+446.44%)
Mutual labels: airplay
Airplay Sdk
Airplay Receiver SDK supports Airplay Mirroring and AirPlay Casting to a receiver device.
Stars: ✭ 2,323 (+871.97%)
Mutual labels: airplay
Hifiberry Os
Linux distribution optimized for audio playback
Stars: ✭ 487 (+103.77%)
Mutual labels: airplay
Forked Daapd
Linux/FreeBSD DAAP (iTunes) and MPD media server with support for AirPlay devices (multiroom), Apple Remote (and compatibles), Chromecast, Spotify and internet radio.
Stars: ✭ 1,073 (+348.95%)
Mutual labels: airplay
Addon Aircast
AirCast - Home Assistant Community Add-ons
Stars: ✭ 100 (-58.16%)
Mutual labels: airplay
videojs-airplay
Videojs Plugin that adds an airplay button to the control bar
Stars: ✭ 28 (-88.28%)
Mutual labels: airplay
Aircast Ios
aircast iOS SDK --- airplay screen mirror receiver iOS8-iOS11.3 support
Stars: ✭ 64 (-73.22%)
Mutual labels: airplay
Airplaydemo
Example implementation of AirPlay secondary display for iOS (iPhone/iPad) apps
Stars: ✭ 150 (-37.24%)
Mutual labels: airplay
Versaplayer
Versatile Video Player implementation for iOS, macOS, and tvOS
Stars: ✭ 608 (+154.39%)
Mutual labels: airplay
React Native Ezplayer
EZPlayer component for react-native apps
Stars: ✭ 47 (-80.33%)
Mutual labels: airplay
Java Airplay Lib
This library is intended to easily create AirPlay2 servers acting like Apple TV
Stars: ✭ 101 (-57.74%)
Mutual labels: airplay
Super Simple Raspberry Pi Audio Receiver Install
Super Easy installation to make your Raspberry Pi an Audio Receiver
Stars: ✭ 448 (+87.45%)
Mutual labels: airplay
Itunes Api
🎵 A simple server providing a RESTful service for controlling iTunes
Stars: ✭ 166 (-30.54%)
Mutual labels: airplay
Ezplayer
基于AVPlayer封装的视频播放器,功能丰富,快速集成,可定制性强,支持react-native。
Stars: ✭ 377 (+57.74%)
Mutual labels: airplay
Airconnect
Use AirPlay to stream to UPnP/Sonos & Chromecast devices
Stars: ✭ 2,349 (+882.85%)
Mutual labels: airplay
Airconnect Synology
AirConnect package for Synology NAS and Synology Router
Stars: ✭ 102 (-57.32%)
Mutual labels: airplay
AirPlayer
Command-line AirPlay video client for Apple TV
Requirements
- OS X, Ubuntu, Arch Linux
- Ruby 2.2 or later
- Bundler 1.10.0 or later
- AppleTV 2G or later
- youtube-dl (If you want to watch YouTube)
For Arch Linux
nss-mdns package is required.
$ sudo pacman -S nss-mdns
or
$ yaourt -S nss-mdns
For Ubuntu
$ sudo apt-get install rdnssd libavahi-compat-libdnssd-dev
Installation
RubyGems
$ gem install airplayer
Bundler
$ git clone git://github.com/Tomohiro/airplayer.git
$ cd airplayer
$ bundle install --deployment --binstubs
$ bin/airplayer version
1.1.0
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 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 specific 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
Play video podcast XML
Example: CNN video podcast
$ airplayer play http://rss.cnn.com/services/podcasting/cnnnewsroom/rss.xml
Source: http://rss.cnn.com/~r/services/podcasting/cnnnewsroom/rss/~5/z7DirHubdP0/exp-travel-insider-hilton-head-island.cnn.m4v
Title: exp-travel-insider-hilton-head-island.cnn.m4v
Device: Apple TV (10.0.1.2)
Time: 00:00:44 |============ | 39% Streaming
Play YouTube video
$ airplayer play 'http://www.youtube.com/watch?v=QH2-TGUlwu4'
Repeat play
Repeat one
$ airplayer play '~/Movies/Trailers/007 SKYFALL.mp4' --repeat
Repeat all
$ airplayer play '~/Movies/Trailers' --repeat
Shuffle play
$ airplayer play '~/Movies/Trailers' --shuffle
Select Device
If you have multiple "AirPlay" devices, specifying the device number for the following play is available on any device.
Check the AirPlay device number
$ airplayer devices
0: John's Apple TV (10.0.1.2:7000) # John's Apple TV number is 0
1: Jane's Apple TV (10.0.1.3:7000) # Jane's Apple TV number is 1
Use --device
or -d
options
$ airplayer play --device 1 '~/Movies/GHOST IN THE SHELL.mp4'
Advanced Usage
Register to OS X Service
You can create Automator Service, that opens URL from your browser in airplayer.
Supported MIME types
AirPlay Overview - Configuring Your Server
File extension | MIME type | Ruby mime-types
|
---|---|---|
.ts | video/MP2T | video/mp2t |
.mov | video/quicktime | video/quicktime |
.m4v | video/mpeg4 | video/m4v |
.mp4 | video/mpeg4 | application/mp4, video/mp4 |
LICENSE
© 2012 - 2016 Tomohiro TAIRA.
This project is licensed under the MIT license. See LICENSE for details.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].