shairport-sync: support mqtt based remote control
[feed/packages.git] / sound / shairport-sync / files / shairport-sync.config
index fa1a8dddc4e1e5916a1ffa11f2cf02f2125eada3..42a4acf1d7d4938afcff25a06490b07dfffcf551 100644 (file)
@@ -37,6 +37,10 @@ config shairport-sync 'shairport_sync'
        # 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
@@ -56,6 +60,17 @@ config shairport-sync 'shairport_sync'
        # 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