2015-04-05 13:12:45 +00:00
|
|
|
[base]
|
2017-06-24 20:31:58 +00:00
|
|
|
; A Storm database URI. See the 'schema' folder for schema creation scripts
|
2017-11-29 19:09:48 +00:00
|
|
|
; Default: sqlite:///tmp/supysonic/supysonic.db
|
|
|
|
;database_uri = sqlite:////var/supysonic/supysonic.db
|
|
|
|
;database_uri = mysql://supysonic:supysonic@localhost/supysonic
|
|
|
|
;database_uri = postgres://supysonic:supysonic@localhost/supysonic
|
2015-04-05 13:12:45 +00:00
|
|
|
|
2017-11-29 19:09:48 +00:00
|
|
|
; Optional, restrict scanner to these extensions. Default: none
|
|
|
|
;scanner_extensions = mp3 ogg
|
2017-08-07 09:52:16 +00:00
|
|
|
|
2015-04-05 14:17:47 +00:00
|
|
|
[webapp]
|
2017-11-29 19:09:48 +00:00
|
|
|
; Optional cache directory. Default: /tmp/supysonic
|
2015-04-05 13:12:45 +00:00
|
|
|
cache_dir = /var/supysonic/cache
|
|
|
|
|
2017-11-29 19:09:48 +00:00
|
|
|
; Optional rotating log file. Default: none
|
2015-04-05 13:12:45 +00:00
|
|
|
log_file = /var/supysonic/supysonic.log
|
|
|
|
|
2017-11-29 19:09:48 +00:00
|
|
|
; Log level. Possible values: DEBUG, INFO, WARNING, ERROR, CRITICAL. Default: WARNING
|
2015-04-05 14:17:47 +00:00
|
|
|
log_level = WARNING
|
|
|
|
|
2017-11-29 19:09:48 +00:00
|
|
|
; Enable the Subsonic REST API. You'll most likely want to keep this on, here for testing purposes. Default: on
|
|
|
|
;mount_api = on
|
|
|
|
|
|
|
|
; Enable the administrative web interface. Default: on
|
|
|
|
;mount_webui = on
|
|
|
|
|
2015-04-05 14:17:47 +00:00
|
|
|
[daemon]
|
2017-12-05 21:15:04 +00:00
|
|
|
; Delay before triggering scanning operation after a change have been detected
|
|
|
|
; This prevents running too many scans when multiple changes are detected for a
|
|
|
|
; single file over a short time span. Default: 5
|
|
|
|
wait_delay = 5
|
|
|
|
|
2015-04-05 14:17:47 +00:00
|
|
|
; Optional rotating log file for the scanner daemon
|
|
|
|
log_file = /var/supysonic/supysonic-daemon.log
|
|
|
|
log_level = INFO
|
2015-04-05 13:12:45 +00:00
|
|
|
|
|
|
|
[lastfm]
|
|
|
|
; API and secret key to enable scrobbling. http://www.last.fm/api/accounts
|
2017-11-29 19:09:48 +00:00
|
|
|
; Defaults: none
|
|
|
|
;api_key =
|
|
|
|
;secret =
|
2015-04-05 13:12:45 +00:00
|
|
|
|
|
|
|
[transcoding]
|
2017-11-29 19:09:48 +00:00
|
|
|
; Programs used to convert from one format/bitrate to another. Defaults: none
|
2017-06-24 20:31:58 +00:00
|
|
|
transcoder_mp3_mp3 = lame --quiet --mp3input -b %outrate %srcpath -
|
|
|
|
transcoder = ffmpeg -i %srcpath -ab %outratek -v 0 -f %outfmt -
|
|
|
|
decoder_mp3 = mpg123 --quiet -w - %srcpath
|
|
|
|
decoder_ogg = oggdec -o %srcpath
|
|
|
|
decoder_flac = flac -d -c -s %srcpath
|
|
|
|
encoder_mp3 = lame --quiet -b %outrate - -
|
|
|
|
encoder_ogg = oggenc2 -q -M %outrate -
|
2015-04-05 13:12:45 +00:00
|
|
|
|
|
|
|
[mimetypes]
|
2017-11-29 19:09:48 +00:00
|
|
|
; Extension to mimetype mappings in case your system has some trouble guessing
|
|
|
|
; Default: none
|
|
|
|
;mp3 = audio/mpeg
|
|
|
|
;ogg = audio/vorbis
|
2015-04-05 13:12:45 +00:00
|
|
|
|