Added
Link Here
|
1 |
[base] |
2 |
; A database URI. See the 'schema' folder for schema creation scripts. Note that |
3 |
; you don't have to run these scripts yourself. |
4 |
; Default: sqlite:////tmp/supysonic/supysonic.db |
5 |
database_uri = sqlite:////var/db/supysonic/supysonic.db |
6 |
;database_uri = mysql://supysonic:supysonic@localhost/supysonic |
7 |
;database_uri = postgres://supysonic:supysonic@localhost/supysonic |
8 |
|
9 |
; Optional, restrict scanner to these extensions. Default: none |
10 |
;scanner_extensions = mp3 ogg |
11 |
|
12 |
; Should the scanner follow symbolic links? Default: no |
13 |
follow_symlinks = no |
14 |
|
15 |
[webapp] |
16 |
; Optional cache directory. Default: /tmp/supysonic |
17 |
cache_dir = /var/db/supysonic/cache |
18 |
|
19 |
; Main cache max size in MB. Default: 512 |
20 |
cache_size = 512 |
21 |
|
22 |
; Transcode cache max size in MB. Default: 1024 (1GB) |
23 |
transcode_cache_size = 1024 |
24 |
|
25 |
; Optional rotating log file. Default: none |
26 |
log_file = /var/log/supysonic/supysonic.log |
27 |
|
28 |
; Log level. Possible values: DEBUG, INFO, WARNING, ERROR, CRITICAL. |
29 |
; Default: WARNING |
30 |
log_level = WARNING |
31 |
|
32 |
; Enable log rotation. Default: yes |
33 |
log_rotate = yes |
34 |
|
35 |
; Enable the Subsonic REST API. You'll most likely want to keep this on, here |
36 |
; for testing purposes. Default: on |
37 |
;mount_api = on |
38 |
|
39 |
; Enable the administrative web interface. Default: on |
40 |
;mount_webui = on |
41 |
|
42 |
; Space separated list of prefixes that should be ignored on index endpoints |
43 |
; Default: El La Le Las Les Los The |
44 |
index_ignored_prefixes = El La Le Las Les Los The |
45 |
|
46 |
; Enable the ChartLyrics API. Default: off |
47 |
online_lyrics = off |
48 |
|
49 |
[daemon] |
50 |
; Socket file the daemon will listen on for incoming management commands |
51 |
; Default: /tmp/supysonic/supysonic.sock |
52 |
socket = /var/run/supysonic/supysonic.sock |
53 |
|
54 |
; Defines if the file watcher should be started. Default: yes |
55 |
run_watcher = yes |
56 |
|
57 |
; Delay in seconds before triggering scanning operation after a change have been |
58 |
; detected. |
59 |
; This prevents running too many scans when multiple changes are detected for a |
60 |
; single file over a short time span. Default: 5 |
61 |
wait_delay = 5 |
62 |
|
63 |
; Command used by the jukebox |
64 |
jukebox_command = mplayer -ss %offset %path |
65 |
|
66 |
; Optional rotating log file for the scanner daemon. Logs to stderr if empty |
67 |
log_file = /var/log/supysonic/supysonic-daemon.log |
68 |
log_level = INFO |
69 |
log_rotate = yes |
70 |
|
71 |
[lastfm] |
72 |
; API and secret key to enable scrobbling. http://www.last.fm/api/accounts |
73 |
; Defaults: none |
74 |
;api_key = |
75 |
;secret = |
76 |
|
77 |
[transcoding] |
78 |
; Programs used to convert from one format/bitrate to another. Defaults: none |
79 |
transcoder_mp3_mp3 = lame --quiet --mp3input -b %outrate %srcpath - |
80 |
transcoder = ffmpeg -i %srcpath -ab %outratek -v 0 -f %outfmt - |
81 |
decoder_mp3 = mpg123 --quiet -w - %srcpath |
82 |
decoder_ogg = oggdec -o %srcpath |
83 |
decoder_flac = flac -d -c -s %srcpath |
84 |
encoder_mp3 = lame --quiet -b %outrate - - |
85 |
encoder_ogg = oggenc2 -Q -M %outrate - |
86 |
|
87 |
; Default format, used when a client requests a bitrate lower than the original |
88 |
; file and no specific format |
89 |
default_transcode_target = mp3 |
90 |
|
91 |
[mimetypes] |
92 |
; Extension to mimetype mappings in case your system has some trouble guessing |
93 |
; Default: none |
94 |
;mp3 = audio/mpeg |
95 |
;ogg = audio/vorbis |
96 |
|