diff --git a/server/etc/snapserver.conf b/server/etc/snapserver.conf index 4717f805..6cf608b3 100644 --- a/server/etc/snapserver.conf +++ b/server/etc/snapserver.conf @@ -84,9 +84,25 @@ #port = 1704 # stream URI of the PCM input stream, can be configured multiple times -# Format: TYPE://host/path?name=NAME[&codec=CODEC][&sampleformat=SAMPLEFORMAT][&chunk_ms=CHUNK_MS] +# The following notation is used in this paragraph: +# : the whole expression must be replaced with your specific setting +# [square brackets]: the whole expression is optional and can be left out +# [key=value]: if you leave this option out, "value" will be the default for "key" +# +# Format: TYPE://host/path?name=[&codec=][&sampleformat=][&chunk_ms=] +# parameters have the form "key=value", they are concatenated with an "&" character +# parameter "name" is mandatory for all streams, while codec, sampleformat and chunk_ms are optional +# and will override the default codec, sampleformat or chunk_ms settings # Available types are: # pipe: pipe:///?name= +# librespot: librespot:///?name=[&username=&password=][&devicename=Snapcast][&bitrate=320][&wd_timeout=7800][&volume=100][&onevent=""][&nomalize=false] +# note that you need to have the librespot binary on your machine +# sampleformat will be set to "44100:16:2" +# file: file:///?name= +# process: process:///?name=[&wd_timeout=0][&log_stderr=false] +# airplay: airplay:///?name=[&port=5000] +# note that you need to have the airplay binary on your machine +# sampleformat will be set to "44100:16:2" # tcp server: tcp://:?name=[&mode=server] # tcp client: tcp://:?name=&mode=client stream = pipe:///tmp/snapfifo?name=default