Files
Iris/docker/snapserver copy

29 lines
1.5 KiB
Plaintext
Raw Normal View History

2019-10-22 17:00:44 +13:00
# defaults file for snapserver
# start snapserver automatically?
START_SNAPSERVER=true
# Allowed options:
# -h, --help Produce help message
# -v, --version Show version number
# -p, --port arg (=1704) Server port
# --controlPort arg (=1705) Remote control port
# -s, --stream arg (=pipe:///tmp/snapfifo?name=default)
# URI of the PCM input stream.
# Format: TYPE://host/path?name=NAME
# [&codec=CODEC]
# [&sampleformat=SAMPLEFORMAT]
# --sampleformat arg (=48000:16:2) Default sample format
# -c, --codec arg (=flac) Default transport codec
# (flac|ogg|pcm)[:options]
# Type codec:? to get codec specific options
# --streamBuffer arg (=20) Default stream read buffer [ms]
# -b, --buffer arg (=1000) Buffer [ms]
# --sendToMuted Send audio to muted clients
# -d, --daemon [=arg(=0)] Daemonize
# optional process priority [-20..19]
# --user arg the user[:group] to run snapserver as when daemonized
USER_OPTS="--user snapserver:snapserver"
SNAPSERVER_OPTS="-s pipe:///tmp/snapfifo?name=Mopidy&sampleformat=48000:16:2"