1
0
mirror of https://github.com/spl0k/supysonic.git synced 2024-12-22 17:06:17 +00:00

Small config doc/sample update

Closes #177
Closes #178
This commit is contained in:
Alban Féron 2020-01-18 17:20:58 +01:00
parent 85edae53db
commit 55e5e73ae1
No known key found for this signature in database
GPG Key ID: 8CE0313646D16165
2 changed files with 12 additions and 7 deletions

View File

@ -24,10 +24,12 @@ transcode_cache_size = 1024
; Optional rotating log file. Default: none ; Optional rotating log file. Default: none
log_file = /var/supysonic/supysonic.log log_file = /var/supysonic/supysonic.log
; Log level. Possible values: DEBUG, INFO, WARNING, ERROR, CRITICAL. Default: WARNING ; Log level. Possible values: DEBUG, INFO, WARNING, ERROR, CRITICAL.
; Default: WARNING
log_level = WARNING log_level = WARNING
; Enable the Subsonic REST API. You'll most likely want to keep this on, here for testing purposes. Default: on ; Enable the Subsonic REST API. You'll most likely want to keep this on, here
; for testing purposes. Default: on
;mount_api = on ;mount_api = on
; Enable the administrative web interface. Default: on ; Enable the administrative web interface. Default: on
@ -41,7 +43,8 @@ socket = /var/run/supysonic.sock
; Defines if the file watcher should be started. Default: yes ; Defines if the file watcher should be started. Default: yes
run_watcher = yes run_watcher = yes
; Delay before triggering scanning operation after a change have been detected ; Delay in seconds before triggering scanning operation after a change have been
; detected.
; This prevents running too many scans when multiple changes are detected for a ; This prevents running too many scans when multiple changes are detected for a
; single file over a short time span. Default: 5 ; single file over a short time span. Default: 5
wait_delay = 5 wait_delay = 5

View File

@ -142,9 +142,10 @@ Default: /tmp/supysonic/supysonic.sock
`run_watcher`: whether or not to start the watcher that will listen for library `run_watcher`: whether or not to start the watcher that will listen for library
changes. Default: yes changes. Default: yes
`wait_delay`: delay before triggering the scanning operation after a change `wait_delay`: delay (in seconds) before triggering the scanning operation after
have been detected. This prevents running too many scans when multiple changes a change have been detected. This prevents running too many scans when multiple
are detected for a single file over a short time span. Default: 5 seconds. changes are detected for a single file over a short time span.
Default: 5 seconds.
`jukebox_command` : command used by the jukebox mode to play a single file. `jukebox_command` : command used by the jukebox mode to play a single file.
See the [jukebox documentation](jukebox.md) for more details. See the [jukebox documentation](jukebox.md) for more details.
@ -165,7 +166,8 @@ socket = /var/run/supysonic.sock
; Defines if the file watcher should be started. Default: yes ; Defines if the file watcher should be started. Default: yes
run_watcher = yes run_watcher = yes
; Delay before triggering scanning operation after a change have been detected ; Delay in seconds before triggering scanning operation after a change have been
; detected.
; This prevents running too many scans when multiple changes are detected for a ; This prevents running too many scans when multiple changes are detected for a
; single file over a short time span. Default: 5 ; single file over a short time span. Default: 5
wait_delay = 5 wait_delay = 5