|
# Use your own config file
|
|
config shairport-sync 'shairport_sync_file'
|
|
option disabled '1'
|
|
option respawn '1'
|
|
option conf_custom '1'
|
|
option conf_file '/etc/shairport-sync.conf'
|
|
|
|
# Use OpenWrt UCI config
|
|
config shairport-sync 'shairport_sync'
|
|
option disabled '1'
|
|
option respawn '1'
|
|
# General
|
|
option name 'Shairport-Sync'
|
|
option password ''
|
|
option interpolation '' # basic/soxr
|
|
option output_backend '' # alsa/pipe/stdout/ao/dummy/pulse/sndio
|
|
option mdns_backend '' # avahi/external-avahi/dns-sd/external-dns-sd/tinysvcmdns
|
|
option port '' # 5000
|
|
option udp_port_base '' # 6001
|
|
option udp_port_range '' # 100
|
|
option statistics '' # no/yes
|
|
option drift '' # 88
|
|
option resync_threshold '' # 2205
|
|
option log_verbosity '' # 0/1/2/3
|
|
option ignore_volume_control '' # no/yes
|
|
option volume_range_db '' # 30 to 150
|
|
# Latencies
|
|
option latencies_default '' # 88200
|
|
option latencies_itunes '' # 99400
|
|
option latencies_airplay '' # 88200
|
|
option latencies_forked_daapd '' # 99400
|
|
# Metadata
|
|
option metadata_enabled '' # no/yes
|
|
option metadata_cover_art '' # no/yes
|
|
option metadata_pipe_name '' # /tmp/shairport-sync-metadata
|
|
# Session Control
|
|
option sesctl_run_before_play_begins '' # /etc/shairport-sync-start.sh
|
|
option sesctl_run_after_play_ends '' # /etc/shairport-sync-stop.sh
|
|
option sesctl_wait_for_completion '' # no/yes
|
|
option sesctl_session_interruption '' # no/yes
|
|
option sesctl_session_timeout '' # 120
|
|
# ALSA
|
|
option alsa_output_device '' # default
|
|
option alsa_mixer_control_name '' # PCM
|
|
option alsa_mixer_device '' # default
|
|
option alsa_latency_offset '' # 0
|
|
option alsa_buffer_length '' # 6615
|
|
# Pipe
|
|
option pipe_name '' # /tmp/shairport-sync-audio
|
|
option pipe_latency_offset '' # 0
|
|
option pipe_buffer_length '' # 44100
|
|
# Stdout
|
|
option stdout_latency_offset '' # 0
|
|
option stdout_buffer_length '' # 44100
|