mirror of
https://github.com/spl0k/supysonic.git
synced 2024-11-10 04:02:17 +00:00
add transcoders to the sample config file
This commit is contained in:
parent
c72e6a5035
commit
5a24832026
@ -1,8 +1,6 @@
|
|||||||
[base]
|
[base]
|
||||||
; SQLite database store in /var/supysonic. Database and tables must be created prior use.
|
; A Storm database URI. See the 'schema' folder for schema creation scripts
|
||||||
; See ths 'schema' folder for schema creation scripts
|
; database_uri = sqlite:////var/supysonic/supysonic.db
|
||||||
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/supysonic
|
; database_uri = mysql://supysonic:supysonic@localhost/supysonic
|
||||||
; database_uri = postgres://supysonic:supysonic@localhost/supysonic
|
; database_uri = postgres://supysonic:supysonic@localhost/supysonic
|
||||||
|
|
||||||
@ -31,7 +29,13 @@ log_level = INFO
|
|||||||
|
|
||||||
[transcoding]
|
[transcoding]
|
||||||
; Programs used to convert from one format/bitrate to another.
|
; Programs used to convert from one format/bitrate to another.
|
||||||
; See https://github.com/spl0k/supysonic/wiki/Transcoding
|
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 -
|
||||||
|
|
||||||
[mimetypes]
|
[mimetypes]
|
||||||
; extension to mimetype mappings in case your system has some trouble guessing
|
; extension to mimetype mappings in case your system has some trouble guessing
|
||||||
|
Loading…
Reference in New Issue
Block a user