diff --git a/README.md b/README.md index e083ab7..0717d76 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/config.sample b/config.sample new file mode 100644 index 0000000..97e0c64 --- /dev/null +++ b/config.sample @@ -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 +