Browse Source

Merge pull request #2802 from Noltari/shairport-sync-next

shairport-sync-next: update to v2.8.4
lilik-openwrt-22.03
Ted Hess 9 years ago
parent
commit
6eecfd558e
3 changed files with 12 additions and 2 deletions
  1. +1
    -1
      sound/shairport-sync/Makefile
  2. +6
    -1
      sound/shairport-sync/files/shairport-sync.config
  3. +5
    -0
      sound/shairport-sync/files/shairport-sync.init

+ 1
- 1
sound/shairport-sync/Makefile View File

@ -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


+ 6
- 1
sound/shairport-sync/files/shairport-sync.config View File

@ -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


+ 5
- 0
sound/shairport-sync/files/shairport-sync.init View File

@ -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


Loading…
Cancel
Save