diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt index b07ec9a8..7c214ff4 100644 --- a/client/CMakeLists.txt +++ b/client/CMakeLists.txt @@ -10,6 +10,7 @@ set(CLIENT_SOURCES set(CLIENT_LIBRARIES ${CMAKE_THREAD_LIBS_INIT} common) set(CLIENT_INCLUDE + ${Boost_INCLUDE_DIR} ${CMAKE_SOURCE_DIR}/client ${CMAKE_SOURCE_DIR}/common ${ASIO_INCLUDE_DIRS} diff --git a/server/CMakeLists.txt b/server/CMakeLists.txt index 3e8623b5..14181500 100644 --- a/server/CMakeLists.txt +++ b/server/CMakeLists.txt @@ -24,6 +24,7 @@ set(SERVER_LIBRARIES common) set(SERVER_INCLUDE + ${Boost_INCLUDE_DIR} ${CMAKE_SOURCE_DIR}/server ${CMAKE_SOURCE_DIR}/common) diff --git a/server/snapserver.conf b/server/snapserver.conf index 00c6778b..2258c64c 100644 --- a/server/snapserver.conf +++ b/server/snapserver.conf @@ -1,45 +1,55 @@ -################################## -### ### -### Snapserver config file ### -### ### -################################## +############################################################################### +# ______ # +# / _____) # +# ( (____ ____ _____ ____ ___ _____ ____ _ _ _____ ____ # +# \____ \ | _ \ (____ || _ \ /___)| ___ | / ___)| | | || ___ | / ___) # +# _____) )| | | |/ ___ || |_| ||___ || ____|| | \ V / | ____|| | # +# (______/ |_| |_|\_____|| __/ (___/ |_____)|_| \_/ |_____)|_| # +# |_| # +# # +# Snapserver config file # +# # +############################################################################### # default values are commented -# to change them, just uncomment +# uncomment to change them + # HTTP RPC #################################################################### # [http] # enable HTTP Json RPC (HTTP POST and websockets) -enabled = true +#enabled = true # address to listen on # TODO: not implemented yet -bind_to_address = 127.0.0.1 +#bind_to_address = 127.0.0.1 # which port the server should listen to -port = 1780 +#port = 1780 # serve a website from the doc_root location doc_root = /home/johannes/Develop/snapcast/control # ############################################################################### + # TCP RPC ##################################################################### # [tcp] # enable TCP Json RPC -enabled = true_ +#enabled = true # address to listen on # TODO: not implemented yet -bind_to_address = 127.0.0.1 +#bind_to_address = 127.0.0.1 # which port the server should listen to -port = 1705 +#port = 1705 # ############################################################################### + # Stream settings ############################################################# # [stream] @@ -53,7 +63,6 @@ port = 1705 # 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/snapfifo2?name=default2 # Default sample format #sampleformat = 48000:16:2 @@ -74,6 +83,7 @@ stream = pipe:///tmp/snapfifo2?name=default2 # ############################################################################### + # Logging options ############################################################# # [logging]