mirror of
https://github.com/openwrt/packages.git
synced 2025-02-12 03:28:07 +00:00
shairport-sync expects statistics/log_verbosity/log_output_to settings to be in the diagnostics section of shairport-sync's native config. Prior to this commit, these settings were either missing (log_output_to) or generated in the incorrect (general) native config section bloc. Signed-off-by: David Andreoletti <david@andreoletti.net>
81 lines
3.1 KiB
Plaintext
81 lines
3.1 KiB
Plaintext
# Use your own config file
|
|
config shairport-sync 'shairport_sync_file'
|
|
option enabled '0'
|
|
option respawn '1'
|
|
option conf_custom '1'
|
|
option conf_file '/etc/shairport-sync.conf'
|
|
|
|
# Use OpenWrt UCI config
|
|
config shairport-sync 'shairport_sync'
|
|
option enabled '0'
|
|
option respawn '1'
|
|
# General
|
|
option name 'Shairport-Sync-%v-%h'
|
|
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 - DEPRECATED: This option will be removed in a future release. Use 'diagnostics_statistics' instead
|
|
option drift '' # 88
|
|
option resync_threshold '' # 2205
|
|
option log_verbosity '' # 0/1/2/3 - DEPRECATED: This option will be removed in a future release. Use 'diagnostics_log_verbosity' instead
|
|
option ignore_volume_control '' # no/yes
|
|
option volume_range_db '' # 30 to 150
|
|
option regtype '' # _raop._tcp
|
|
option playback_mode '' # stereo/mono
|
|
# Metadata
|
|
option metadata_enabled '' # no/yes
|
|
option metadata_cover_art '' # no/yes
|
|
option metadata_pipe_name '' # /tmp/shairport-sync-metadata
|
|
option metadata_pipe_timeout '' # 5000
|
|
option metadata_socket_address '' # 226.0.0.1
|
|
option metadata_socket_port '' # 5555
|
|
option metadata_socket_msglength # 65000
|
|
# 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_run_before_entering_active_state '' # /path/to/script.sh
|
|
option sesctl_run_after_exiting_active_state '' # /path/to/script.sh
|
|
option sesctl_run_if_an_unfixable_error_is_detected '' # /path/to/script.sh
|
|
option sesctl_run_when_volume_is_set '' # /path/to/script.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
|
|
option alsa_disable_synchronization '' # no/yes
|
|
option alsa_period_size '' # number
|
|
option alsa_buffer_size '' # number
|
|
# 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
|
|
# MQTT: https://github.com/mikebrady/shairport-sync/blob/master/MQTT.md
|
|
option mqtt_enabled 'no'
|
|
option mqtt_hostname '127.0.0.1'
|
|
option mqtt_port '1883'
|
|
option mqtt_username '' # empty = no authentication
|
|
option mqtt_password '' # empty = no authentication
|
|
option mqtt_topic 'shairport'
|
|
option mqtt_publish_raw 'no'
|
|
option mqtt_publish_parsed 'no'
|
|
option mqtt_publish_cover 'no'
|
|
option mqtt_enable_remote 'no'
|
|
# AO
|
|
option ao_latency_offset '' # 0
|
|
option ao_buffer_length '' # 44100
|
|
# Diagnostics
|
|
option diagnostics_statistics '' # no/yes
|
|
option diagnostics_log_output_to '' # syslog/stderr/stdout
|
|
option diagnostics_log_verbosity '' # 0/1/2/3
|