shairport-sync(1) General Commands Manual shairport-sync(1) (NAME) shairport-sync - AirPlay AirPlay 2 (SYNOPSIS) shairport-sync [-djvw] [-a service-name | --name=service-name] [-B command | --onstart=command] [-c configurationfile | --configfile=configurationfile] [-d | --daemon] [-E command | --onstop=command] [-g | --get-cover-art] [-j | --justDaemoniseNoPIDFile] [--logOutputLevel] [--log-to-syslog] [-L latency | --latency=latency] [-m backend | --mdns=backend] [-M | --metadata-enable] [-o backend | --output=backend] [-p port | --port=port] [--password=secret] [-r threshold | --resync=threshold] [--statistics] [-S mode | --stuffing=mode] [-t timeout | --timeout=timeout] [--tolerance=frames] [-v | --verbose] [-w | --wait- cmd] [-- audio_backend_options] shairport-sync -X | --displayConfig shairport-sync -h shairport-sync -k shairport-sync -V (DESCRIPTION) Shairport Sync AirPlay . AirPlay ( <>) AirPlay 2 . AirPlay 2 AirPlay 2 iTunes Windows . AirPlay 2 nqptp . https://github.com/mikebrady/shairport-sync . Shairport Sync shairport-sync . (CONFIGURATION FILE SETTINGS) Shairport Sync - - . shairport-sync.conf /etc BSD /usr/local/etc . (root) . (: Shairport Sync . $ shairport-sync -V . sysconfdir .) general alsa ALSA . : general = { name = "Mike's Boombox"; }; alsa = { output_device = "hw:0"; mixer_control_name = "PCM"; }; () () . name hostname . ALSA . (alsa) () . . shairport-sync.conf.sample - /etc BSD /usr/local/etc - . https://github.com/mikebrady/shairport- sync/blob/master/scripts/shairport-sync.conf . . (OPTIONS) shairport-sync : (program options) (audio backend options). -- . << (EXAMPLES)>> . (PROGRAM OPTIONS) shairport-sync . -a service name | --name=service name service name iTunes. : %h hostname %H hostname ( ASCII) %v shairport-sync "3.0.1" %V shairport-sync "3.0.1-OpenSSL-Avahi-ALSA-soxr-metadata- sysconfdir:/etc". "%H" hostname . -B program | --on-start=program program . /usr/bin/logger. (#!/bin/sh) . shairport-sync -w . -c filename | --configfile=filename filename. shairport-sync.conf - /etc /usr/local/etc BSD. << >> . -d | --daemon shairport-sync (daemon). (PID) /var/run/shairport-sync/shairport-sync.pid -k -D -R . -j . shairport- sync libdaemon . -E program | --on-stop=program program . /usr/bin/logger. (#!/bin/sh) . shairport-sync -w . -g | --get-coverart -M | --metadata-enable shairport-sync (cover art) . -h | --help . -j | justDaemoniseNoPIDFile shairport-sync . -d (PID) - ( "j" "just") . shairport- sync libdaemon . -k | --kill (Kill) shairport-sync . ( PID - -d . shairport-sync libdaemon .) --logOutputLevel ( ) . . . --log-to-syslog STDERR . syslog . Shairport Sync . --displayConfig . -L | --latency=latency (default latency) iTunes . ( ). shairport-sync . -M | --metadata-enable . shairport-sync (pipe) UDP . -g | --get-cover-art . https://github.com/mikebrady/shairport-sync-metadata-reader . --metadata-pipename=pathname . shairport-sync . /tmp/shairport-sync-metadata . shairport- sync . -m mdnsbackend | --mdns=mdnsbackend mDNS . mDNS . -o outputbackend | --output=outputbackend . . -p port | --port=port port . AirPlay AirPlay 2 . --password=secret secret . ( AirPlay AirPlay 2 .) -r threshold | --resync=threshold threshold . . . 0 . shairport-sync . --statistics (STDERR) syslog -log-to-syslog . -S mode | --stuffing=mode (<>) mode . <> . basic . soxr . libsoxr ( SoX Resampler) shairport-sync . auto Shairport Sync soxr . -t timeout | --timeout=timeout timeout . shairport-sync (session) (busy) . timeout . 0 shairport-sync . . --tolerance=frames frames . . (overcorrection) . ( ) . --statistics . . shairport-sync . -V | --version . -v | --verbose STDERR syslog -log-to-syslog . ( -vv -vvv). -vvv . -w | --wait-cmd -B -E . -X | --displayConfig Shairport Sync . Shairport Sync ( shairport-sync ) Shairport Sync . shairport-sync . (AUDIO BACKEND OPTIONS) . -- . . (-h --help) . (EXAMPLES) : shairport-sync -a "Joe's Stereo" -o alsa -- -d hw:1,0 -m hw:1 -c PCM "Joe's Stereo" ( -a "Joe's Stereo" ). -o alsa alsa ALSA . -- alsa ( -d hw:1,0 ) "PCM" ( -c "PCM" ). : alsa -o alsa . -d hw:1 . ( -c "PCM" ) -m hw:1 . : shairport-sync -a "Joe's Stereo" -- -d hw:1 -c PCM (CREDITS) Mike Brady (https://github.com/mikebrady) Shairport Sync Shairport James Wah (https://github.com/abrasive) . (COMMENTS) xml2man(1) Oliver Kurth . shairport-sync(1)