1
0
mirror of https://github.com/spl0k/supysonic.git synced 2024-11-09 19:52:16 +00:00

Added configuration sample file

This commit is contained in:
spl0k 2015-04-05 15:12:45 +02:00
parent 276ebc9410
commit 0c86085fe2
2 changed files with 32 additions and 1 deletions

View File

@ -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
View 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