From ac58e72e1402275ee194de45a1d6dcf767598210 Mon Sep 17 00:00:00 2001 From: jorgenkraghjakobsen Date: Sat, 13 Jun 2020 22:59:45 +0200 Subject: [PATCH] Added my snapcast serverconfig.conf in snapcast/ dir --- snapcast/snapserver.conf | 107 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 107 insertions(+) create mode 100644 snapcast/snapserver.conf diff --git a/snapcast/snapserver.conf b/snapcast/snapserver.conf new file mode 100644 index 0000000..d6b1355 --- /dev/null +++ b/snapcast/snapserver.conf @@ -0,0 +1,107 @@ +############################################################################### +# ______ # +# / _____) # +# ( (____ ____ _____ ____ ___ _____ ____ _ _ _____ ____ # +# \____ \ | _ \ (____ || _ \ /___)| ___ | / ___)| | | || ___ | / ___) # +# _____) )| | | |/ ___ || |_| ||___ || ____|| | \ V / | ____|| | # +# (______/ |_| |_|\_____|| __/ (___/ |_____)|_| \_/ |_____)|_| # +# |_| # +# # +# Snapserver config file # +# # +############################################################################### + +# default values are commented +# uncomment and edit to change them + + +# HTTP RPC #################################################################### +# +[http] +# enable HTTP Json RPC (HTTP POST and websockets) +#enabled = true + +# address to listen on, can be specified multiple times +# use "0.0.0.0" to bind to any IPv4 address or :: to bind to any IPv6 address +# or "127.0.0.1" or "::1" to bind to localhost IPv4 or IPv6, respectively +# use the address of a specific network interface to just listen to and accept +# connections from that interface +#bind_to_address = 0.0.0.0 + +# which port the server should listen to +#port = 1780 + +# serve a website from the doc_root location +#doc_root = +# +############################################################################### + + +# TCP RPC ##################################################################### +# +[tcp] +# enable TCP Json RPC +#enabled = true + +# address to listen on, can be specified multiple times +# use "0.0.0.0" to bind to any IPv4 address or :: to bind to any IPv6 address +# or "127.0.0.1" or "::1" to bind to localhost IPv4 or IPv6, respectively +# use the address of a specific network interface to just listen to and accept +# connections from that interface +#bind_to_address = 0.0.0.0 + +# which port the server should listen to +#port = 1705 +# +############################################################################### + + +# Stream settings ############################################################# +# +[stream] +# address to listen on, can be specified multiple times +# use "0.0.0.0" to bind to any IPv4 address or :: to bind to any IPv6 address +# or "127.0.0.1" or "::1" to bind to localhost IPv4 or IPv6, respectively +# use the address of a specific network interface to just listen to and accept +# connections from that interface +#bind_to_address = 0.0.0.0 + +# which port the server should listen to +#port = 1704 + +# stream URI of the PCM input stream, can be configured multiple times +# Format: TYPE://host/path?name=NAME[&codec=CODEC][&sampleformat=SAMPLEFORMAT] +stream = pipe:///tmp/snapfifo?name=default + +# Default sample format +sampleformat = 48000:16:2 + +# Default transport codec +# (flac|ogg|opus|pcm)[:options] +# Type codec:? to get codec specific options +codec = opus + + +# Default stream read buffer [ms] +stream_buffer = 20 + +# Buffer [ms] +buffer = 1000 + +# Send audio to muted clients +#send_to_muted = false +# +############################################################################### + + +# Logging options ############################################################# +# +[logging] + +# enable debug logging +#debug = false + +# log file name for the debug logs (debug must be enabled) +#debug_logfile = +# +###############################################################################