All Projects → noelhibbard → node-airplayhub

noelhibbard / node-airplayhub

Licence: other
AirPlay server which accepts streams and then streams the audio back out to multiple AirPlay devices with sync support.

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects
HTML
75241 projects

Projects that are alternatives of or similar to node-airplayhub

spotifypiHome
"Install and go" multiroom music playback solution, with support for spotify, airplay and bluetooth.
Stars: ✭ 32 (-33.33%)
Mutual labels:  airplay, multiroom
bobcaygeon
Multi-room streaming, built on airplay
Stars: ✭ 19 (-60.42%)
Mutual labels:  airplay
LMS-to-Raop
LMS to AirPlay bridge
Stars: ✭ 50 (+4.17%)
Mutual labels:  airplay
play-on-apple-tv
A command line tool to play any audio/video on an Apple TV.
Stars: ✭ 23 (-52.08%)
Mutual labels:  airplay
vlitejs
🦋 vLitejs is a fast and lightweight Javascript library for customizing video and audio player in Javascript with a minimalist theme (HTML5, Youtube, Vimeo, Dailymotion)
Stars: ✭ 162 (+237.5%)
Mutual labels:  airplay
airtunes2mqtt
Multi-Room Audio based on Airplay/Airtunes with MQTT support 🔈
Stars: ✭ 47 (-2.08%)
Mutual labels:  airplay
docker-airconnect
This is a dockerized version of AirConnect (https://github.com/philippe44/AirConnect) which bridges AirPlay with Sonos and the Google Cast protocol.
Stars: ✭ 24 (-50%)
Mutual labels:  airplay
openairplay
Enabling Airplay just like on Apple OSX on Ubuntu and possibly other non-apple OSes
Stars: ✭ 204 (+325%)
Mutual labels:  airplay
mdns-tunneller
Tunnels two (or more) mDNS domains together
Stars: ✭ 74 (+54.17%)
Mutual labels:  airplay
rAudio-1
Raspberry Pi audio player: AirPlay, Audio CD, Bluetooth, DAB radio, DSP, Internet rafio, Multi-room, Spotify Connect, UPnP
Stars: ✭ 151 (+214.58%)
Mutual labels:  airplay
AirPlay
Small framework that lets users track iOS AirPlay availability and extra features.
Stars: ✭ 46 (-4.17%)
Mutual labels:  airplay
HydraPlay
A multiroom audio player setup, based on snapcast and mopidy.
Stars: ✭ 102 (+112.5%)
Mutual labels:  multiroom
WirelessDisplay
support main wireless display protocols of Airplay SDK, Miracast SDK, WiDi SDK, GoogleCast SDK, DLNA SDK, BJCast SDK
Stars: ✭ 72 (+50%)
Mutual labels:  airplay
iOS-Audio-to-ChromeCast
Audio Streaming from iOS devices to Google Chromecast/Home Audio Devices.
Stars: ✭ 38 (-20.83%)
Mutual labels:  airplay
owntone-server
OwnTone is forked-daapd's new name. 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,408 (+2833.33%)
Mutual labels:  airplay
airplayreceiver
Open source implementation of AirPlay 2 Mirroring / Audio protocol.
Stars: ✭ 84 (+75%)
Mutual labels:  airplay
AirPlayAuth
Since tvOS 10.2 AppleTV is enforcing the "Device verification" for AirPlay, which could be manually enabled/disabled before. This library allows to pair with an AppleTV and can be used in any app supporting streaming/casting to an AppleTV.
Stars: ✭ 82 (+70.83%)
Mutual labels:  airplay
KSYAirStreamer iOS
金山云 iOS Airplay 录屏直播SDK
Stars: ✭ 44 (-8.33%)
Mutual labels:  airplay
pulsertp-multiroom
Synchronized multiroom audio with PulseAudio RTP
Stars: ✭ 25 (-47.92%)
Mutual labels:  airplay
shairport-sync
AirPlay audio player. Shairport Sync adds multi-room capability with Audio Synchronisation
Stars: ✭ 5,532 (+11425%)
Mutual labels:  airplay

Description

node-airplayhub is an AirPlay server which accepts streams (using nodetunes) and then streams the audio back out to multiple AirPlay devices with sync support (using node_airtunes).

Installation

1. Pre Reqs

To install this package you will need to install these packages first:

$ apt-get install -y build-essential git libavahi-compat-libdnssd-dev nodejs npm nodejs-legacy

2. Install

$ npm i -g git+https://github.com/noelhibbard/node-airplayhub

3. Config file

The first time you launch node-airplayhub it will generate a config file and automatically populate it with all the AirPlay targets that are advertizing on your network. The default location is ./config.json. If you want to spesify a different location, use the -c or --config option. Here is what the config file looks like:

{
    "servername": "[AirPlay Hub]",
    "webuiport": 8089,
    "debug": false,
    "idletimout": 600,
    "zones": [
        {
            "name": "Room1",
            "host": "127.0.0.1",
            "port": "5000",
            "volume": "50",
            "enabled": false,
            "hidden": false
        },
        {
            "name": "Room2",
            "host": "127.0.0.1",
            "port": "5001",
            "volume": "50",
            "enabled": false,
            "hidden": false
        },
        {
            "name": "Apple TV",
            "host": "192.168.0.21",
            "port": "5000",
            "volume": "50",
            "enabled": false,
            "hidden": true,
            "alias": "TV in Livingroom"
        }
    ]
}
  • servername: The name you will see from your iDevice.
  • webuiport: This is the port number used for the WebUI which is used to select the AirPlay destinations.
  • debug: Highly verbous output to the console.
  • idletimeout: This time is set in seconds. When you disconnect or pause output it starts this timer. when the timer expires it turns off all outputs. This is to prevent you from coming back hours later, say 12AM, and acidetially blasting music on your back porch. Setting this to a 0 will disable the idle timout.
  • zones: This is where you define which AirPlay destinations you want to have available.
  • name: AirPlay destination name.
  • alias: Alias gives a way to override the destination name that is displayed in the WebUI.
  • host: The host name of the AirPlay device.
  • port: Port number of the AirPlay device.
  • volume: This sets the initial volume level of the AirPlay device but it is updated dinamically as you chantge volume in the WebUI.
  • enabled: Whether output is enabled or not. This value is also updated dynamically as you turn outputs on and off.
  • hidden: There may be some devices you never want to use. In that case you can set the zone to hidden.

Place the config file somewhere like this /etc/airplayhub.json

4. Launch

Launch node-airplayhub like this to see the command line options:

$ node-airplayhub --help

Once you start node-airplayhub you can browse to http://[hostname]:[webuiport]/ to select zones and set volume levels.

Service

I also included a systemd service file (node-airplayhub.service) which you can edit it to your liking and then place it in /etc/systemd/system then use this command to enable the service:

$ systemctl enable node-airplayhub

Then this to start the service:

$ service node-airplayhub start
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].