mirror of
https://github.com/spl0k/supysonic.git
synced 2024-12-22 08:56:17 +00:00
Added configuration sample file
This commit is contained in:
parent
276ebc9410
commit
0c86085fe2
@ -54,7 +54,7 @@ Available settings are:
|
||||
|
||||
### Database initialization
|
||||
|
||||
Supysonic does not issue the `CREATE TABLE` commands for the tables it needs. Thus the tables must be created prior to
|
||||
Supysonic does not issue the `CREATE TABLE` commands for the tables it needs. Thus the database and tables must be created prior to
|
||||
running the application. Table creation scripts are provided in the *schema* folder for SQLite, MySQL and PostgreSQL.
|
||||
|
||||
Running the application
|
||||
|
31
config.sample
Normal file
31
config.sample
Normal file
@ -0,0 +1,31 @@
|
||||
[base]
|
||||
; SQLite database store in /var/supysonic. Database and tables must be created prior use.
|
||||
; See ths 'schema' folder for schema creation scripts
|
||||
database_uri = sqlite:////var/supysonic/supysonic.db
|
||||
; Other database options. They all use 'supysonic' as the user, password, and database name
|
||||
; database_uri = mysql://supysonic:supysonic@localhost/supyonic
|
||||
; database_uri = postgres://supysonic:supysonic@localhost/supysonic
|
||||
|
||||
; Optional cache directory
|
||||
cache_dir = /var/supysonic/cache
|
||||
|
||||
; Optional rotating log file
|
||||
log_file = /var/supysonic/supysonic.log
|
||||
|
||||
; Optional, restrict scanner to these extensions
|
||||
; scanner_extensions = mp3 ogg
|
||||
|
||||
[lastfm]
|
||||
; API and secret key to enable scrobbling. http://www.last.fm/api/accounts
|
||||
; api_key =
|
||||
; secret =
|
||||
|
||||
[transcoding]
|
||||
; Programs used to convert from one format/bitrate to another.
|
||||
; See https://github.com/spl0k/supysonic/wiki/Transcoding
|
||||
|
||||
[mimetypes]
|
||||
; extension to mimetype mappings in case your system has some trouble guessing
|
||||
; mp3 = audio/mpeg
|
||||
; ogg = audio/vorbis
|
||||
|
Loading…
Reference in New Issue
Block a user