diff --git a/docker/snapserver b/docker/snapserver deleted file mode 100755 index e4a88c71..00000000 --- a/docker/snapserver +++ /dev/null @@ -1,107 +0,0 @@ -############################################################################### -# ______ # -# / _____) # -# ( (____ ____ _____ ____ ___ _____ ____ _ _ _____ ____ # -# \____ \ | _ \ (____ || _ \ /___)| ___ | / ___)| | | || ___ | / ___) # -# _____) )| | | |/ ___ || |_| ||___ || ____|| | \ 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 -stream = pipe:///tmp/snapfifo?name=Mopidy&sampleformat=48000:16:2 - -# Default sample format -#sampleformat = 48000:16:2 - -# Default transport codec -# (flac|ogg|pcm)[:options] -# Type codec:? to get codec specific options -#codec = flac - -# 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 = -# -############################################################################### \ No newline at end of file diff --git a/docker/snapserver.conf b/docker/snapserver.conf old mode 100644 new mode 100755 index 96133d1f..9ca582f5 --- a/docker/snapserver.conf +++ b/docker/snapserver.conf @@ -1,4 +1,107 @@ -{ - "ConfigVersion": 2, - "Groups": [] -} \ No newline at end of file +############################################################################### +# ______ # +# / _____) # +# ( (____ ____ _____ ____ ___ _____ ____ _ _ _____ ____ # +# \____ \ | _ \ (____ || _ \ /___)| ___ | / ___)| | | || ___ | / ___) # +# _____) )| | | |/ ___ || |_| ||___ || ____|| | \ 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 = /etc/default/snapweb +# +############################################################################### + + +# 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 +stream = pipe:///tmp/snapfifo?name=Mopidy&sampleformat=48000:16:2 + +# Default sample format +#sampleformat = 48000:16:2 + +# Default transport codec +# (flac|ogg|pcm)[:options] +# Type codec:? to get codec specific options +#codec = flac + +# 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 = +# +############################################################################### \ No newline at end of file