diff --git a/sound/shairport-sync/Makefile b/sound/shairport-sync/Makefile index a35f64386..8c253f970 100644 --- a/sound/shairport-sync/Makefile +++ b/sound/shairport-sync/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=shairport-sync -PKG_VERSION:=2.8.2 +PKG_VERSION:=2.8.4 PKG_RELEASE:=1 PKG_SOURCE_PROTO:=git diff --git a/sound/shairport-sync/files/shairport-sync.config b/sound/shairport-sync/files/shairport-sync.config index f2256a4e2..96917af6c 100644 --- a/sound/shairport-sync/files/shairport-sync.config +++ b/sound/shairport-sync/files/shairport-sync.config @@ -10,7 +10,7 @@ config shairport-sync 'shairport_sync' option disabled '1' option respawn '1' # General - option name 'Shairport-Sync' + option name 'Shairport-Sync-%v-%h' option password '' option interpolation '' # basic/soxr option output_backend '' # alsa/pipe/stdout/ao/dummy/pulse/sndio @@ -25,10 +25,15 @@ config shairport-sync 'shairport_sync' 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 diff --git a/sound/shairport-sync/files/shairport-sync.init b/sound/shairport-sync/files/shairport-sync.init index 68c5a6d30..afda520e8 100644 --- a/sound/shairport-sync/files/shairport-sync.init +++ b/sound/shairport-sync/files/shairport-sync.init @@ -60,6 +60,7 @@ start_instance() { append_str "$cfg" "$conf_file" ignore_volume_control "ignore_volume_control" append_num "$cfg" "$conf_file" volume_range_db "volume_range_db" append_str "$cfg" "$conf_file" regtype "regtype" + append_str "$cfg" "$conf_file" playback_mode "playback_mode" echo -e "};\n" >> $conf_file # Metadata @@ -68,6 +69,10 @@ start_instance() { append_str "$cfg" "$conf_file" metadata_enabled "enabled" append_str "$cfg" "$conf_file" metadata_cover_art "include_cover_art" append_str "$cfg" "$conf_file" metadata_pipe_name "pipe_name" + append_num "$cfg" "$conf_file" metadata_pipe_timeout "pipe_timeout" + append_str "$cfg" "$conf_file" metadata_socket_address "socket_address" + append_num "$cfg" "$conf_file" metadata_socket_port "socket_port" + append_num "$cfg" "$conf_file" metadata_socket_msglength "socket_msglength" echo -e "};\n" >> $conf_file # Session control