From bbc4dba39f22d064eafc673d69dc4af279bdf1ef Mon Sep 17 00:00:00 2001 From: Julien BLACHE Date: Fri, 12 Jun 2009 11:38:46 +0200 Subject: [PATCH] Add and install config file --- Makefile.am | 5 ++--- forked-daapd.conf | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+), 3 deletions(-) create mode 100644 forked-daapd.conf diff --git a/Makefile.am b/Makefile.am index 2c6e2c06..c766eef6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,5 @@ +sysconf_DATA = forked-daapd.conf + EXTRA_DIST = configure SUBDIRS = src - - - diff --git a/forked-daapd.conf b/forked-daapd.conf new file mode 100644 index 00000000..a3a9d1e1 --- /dev/null +++ b/forked-daapd.conf @@ -0,0 +1,33 @@ + +general { + # Username + uid = "daapd" + logfile = "/var/log/forked-daapd.log" + # Available levels: fatal, log, warning, info, debug, spam + loglevel = log + # Admin password for the non-existent web interface + admin_password = "unused" +} + +# Library configuration +library "My Music" { + # Name of the library as displayed by the clients + # %l: library name ("My Music"), %h: hostname, %v: version + name = "%l on %h" + # TCP port to listen on. Default port is 3689 (daap) + port = 3689 + # Password for the library. Optional. +# password = "" + + # Directories to index + directories = { "/srv/music" } + # Directories containing compilations + # Matches anywhere in the path (not a regexp, though) +# compilations = { "/compilations/" } + + # Formats: mp4a, mp4v, mpeg, alac, flac, mpc, ogg, wma, wmal, wmav, aif, wav + # Formats that should never be transcoded +# no_transcode = { "alac", "mp4a" } + # Formats that should always be transcoded +# force_transcode = { "ogg", "flac" } +}