Skip to content

Commit

Permalink
Update config options template
Browse files Browse the repository at this point in the history
  • Loading branch information
grunjol authored Oct 25, 2024
1 parent 544fef9 commit d566ddd
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions snapserver/rootfs/etc/snapcast/templates/snapserver.gtpl
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,14 @@ enabled = {{ .http.enabled }}
{{ if .http.doc_root }}
doc_root = {{ .http.doc_root }}
{{ end }}

# Hostname or IP under which clients can reach this host
# used to serve cached cover art
# use <hostname> as placeholder for your actual host name
{{ if .http.host }}
host = {{ .http.host }}
{{ end }}

#
###############################################################################

Expand All @@ -92,7 +100,11 @@ enabled = {{ .tcp.enabled }}
#bind_to_address = 0.0.0.0

# which port the server should listen to
#port = 1705
{{ if .tcp.port }}
enabled = {{ .tcp.port }}
{{ else }}
port = 1705
{{ end }}
#
###############################################################################

Expand Down Expand Up @@ -165,7 +177,13 @@ buffer = {{ .stream.buffer }}
send_to_muted = {{ .stream.send_to_muted }}
{{ end }}

# Streaming client options ####################################################
#
[streaming_client]

# Volume assigned to new snapclients [percent]
# Defaults to 100 if unset
#initial_volume = 100
#
###############################################################################

Expand All @@ -190,4 +208,4 @@ filter = {{ .logging.filter }}
filter = *:info
{{ end }}
#
###############################################################################
###############################################################################

0 comments on commit d566ddd

Please sign in to comment.