2009-06-12 05:38:46 -04:00
|
|
|
|
|
|
|
general {
|
|
|
|
# Username
|
|
|
|
uid = "daapd"
|
|
|
|
logfile = "/var/log/forked-daapd.log"
|
2010-03-21 06:33:05 -04:00
|
|
|
# Database location
|
|
|
|
# db_path = "/var/cache/forked-daapd/songs3.db"
|
2009-06-12 05:38:46 -04:00
|
|
|
# Available levels: fatal, log, warning, info, debug, spam
|
|
|
|
loglevel = log
|
|
|
|
# Admin password for the non-existent web interface
|
|
|
|
admin_password = "unused"
|
2011-03-20 07:10:51 -04:00
|
|
|
# Enable/disable IPv6
|
|
|
|
ipv6 = no
|
2014-08-20 17:09:23 -04:00
|
|
|
# Location of DAAP cache (comment the line to disable caching)
|
|
|
|
daapcache_path = "/var/cache/forked-daapd/daapcache.db"
|
2009-06-12 05:38:46 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
# Library configuration
|
2010-03-19 14:06:47 -04:00
|
|
|
library {
|
2009-06-12 05:38:46 -04:00
|
|
|
# Name of the library as displayed by the clients
|
2010-03-19 14:06:47 -04:00
|
|
|
# %h: hostname, %v: version
|
|
|
|
name = "My Music on %h"
|
2009-06-12 05:38:46 -04:00
|
|
|
# TCP port to listen on. Default port is 3689 (daap)
|
|
|
|
port = 3689
|
|
|
|
# Password for the library. Optional.
|
|
|
|
# password = ""
|
|
|
|
|
|
|
|
# Directories to index
|
|
|
|
directories = { "/srv/music" }
|
2013-10-24 17:14:26 -04:00
|
|
|
|
|
|
|
# Directories containing podcasts
|
|
|
|
# For each directory that is indexed the path is matched against these
|
|
|
|
# names. If there is a match all items in the directory are marked as
|
|
|
|
# podcasts. Eg. if you index /srv/music, and your podcasts are in
|
|
|
|
# /srv/music/Podcasts, you can set this to "/Podcasts".
|
2014-01-28 16:40:07 -05:00
|
|
|
# (changing this setting only takes effect after rescan, see the README)
|
2013-10-25 17:29:34 -04:00
|
|
|
podcasts = { "/Podcasts" }
|
2013-10-24 17:14:26 -04:00
|
|
|
|
2013-12-08 17:03:03 -05:00
|
|
|
# Directories containing audiobooks
|
|
|
|
# For each directory that is indexed the path is matched against these
|
|
|
|
# names. If there is a match all items in the directory are marked as
|
|
|
|
# audiobooks.
|
2014-01-28 16:40:07 -05:00
|
|
|
# (changing this setting only takes effect after rescan, see the README)
|
2013-12-08 17:03:03 -05:00
|
|
|
audiobooks = { "/Audiobooks" }
|
|
|
|
|
2013-10-24 17:14:26 -04:00
|
|
|
# Directories containing compilations (eg soundtracks)
|
|
|
|
# For each directory that is indexed the path is matched against these
|
|
|
|
# names. If there is a match all items in the directory are marked as
|
|
|
|
# compilations.
|
2014-01-28 16:40:07 -05:00
|
|
|
# (changing this setting only takes effect after rescan, see the README)
|
2013-10-25 17:29:34 -04:00
|
|
|
compilations = { "/Compilations" }
|
2013-10-24 17:14:26 -04:00
|
|
|
|
|
|
|
# Compilations usually have many artists, and if you don't want every
|
|
|
|
# artist to be listed when artist browsing in Remote, you can set
|
|
|
|
# a single name which will be used for all music in the compilation dir
|
2014-01-28 16:40:07 -05:00
|
|
|
# (changing this setting only takes effect after rescan, see the README)
|
2013-10-25 17:29:34 -04:00
|
|
|
compilation_artist = "Various artists"
|
2009-06-12 05:38:46 -04:00
|
|
|
|
2013-11-30 06:57:38 -05:00
|
|
|
# There are 5 default playlists: "Library", "Music", "Movies", "TV Shows"
|
|
|
|
# and "Podcasts". Here you can change the names of these playlists.
|
2013-12-08 17:03:03 -05:00
|
|
|
# name_library = "Library"
|
|
|
|
# name_music = "Music"
|
|
|
|
# name_movies = "Movies"
|
|
|
|
# name_tvshows = "TV Shows"
|
|
|
|
# name_podcasts = "Podcasts"
|
|
|
|
# name_audiobooks = "Audiobooks"
|
2013-11-30 06:57:38 -05:00
|
|
|
|
2013-07-13 06:31:01 -04:00
|
|
|
# Artwork file names (without file type extension)
|
|
|
|
# forked-daapd will look for jpg and png files with these base names
|
2013-10-22 15:19:11 -04:00
|
|
|
# artwork_basenames = { "artwork", "cover", "Folder" }
|
2013-07-13 06:31:01 -04:00
|
|
|
|
2013-10-26 14:59:05 -04:00
|
|
|
# File types the scanner should ignore
|
|
|
|
# Non-audio files will never be added to the database, but here you
|
|
|
|
# can prevent the scanner from even probing them. This might improve
|
|
|
|
# scan time. By default .db and .ini are ignored.
|
|
|
|
# filetypes_ignore = { ".db", ".ini" }
|
|
|
|
|
2014-01-28 16:40:07 -05:00
|
|
|
# Disable startup file scanning
|
|
|
|
# When forked-daapd starts it will do an initial file scan of your
|
|
|
|
# library (and then watch it for changes). If you are sure your library
|
|
|
|
# never changes while forked-daapd is not running, you can disable the
|
|
|
|
# initial file scan and save some system ressources. Disabling this scan
|
|
|
|
# may lead to forked-daapd's database coming out of sync with the
|
|
|
|
# library. If that happens read the instructions in the README on how
|
|
|
|
# to trigger a full rescan.
|
|
|
|
# filescan_disable = false
|
|
|
|
|
2009-11-22 10:45:13 -05:00
|
|
|
# Should iTunes metadata override ours?
|
2014-01-28 16:40:07 -05:00
|
|
|
# itunes_overrides = false
|
2009-11-22 10:45:13 -05:00
|
|
|
|
2009-06-12 05:38:46 -04:00
|
|
|
# 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" }
|
|
|
|
}
|
2010-05-02 05:24:07 -04:00
|
|
|
|
|
|
|
# Local audio output
|
|
|
|
audio {
|
2014-02-09 10:07:00 -05:00
|
|
|
# Name - used in the speaker list in Remote
|
2010-05-02 05:24:07 -04:00
|
|
|
nickname = "Computer"
|
|
|
|
# Audio device name for local audio output
|
|
|
|
# card = "default"
|
2011-07-08 05:18:20 -04:00
|
|
|
# Mixer channel to use for volume control - ALSA/Linux only
|
|
|
|
# If not set, PCM will be used if available, otherwise Master.
|
|
|
|
# mixer = ""
|
2010-05-02 05:24:07 -04:00
|
|
|
}
|
2010-04-04 08:48:25 -04:00
|
|
|
|
2014-02-09 10:07:00 -05:00
|
|
|
# AirPlay/Airport Express device settings
|
2014-02-10 04:29:24 -05:00
|
|
|
# (make sure you get the capitalization of the device name right)
|
|
|
|
#airplay "My AirPlay device" {
|
2014-02-09 10:07:00 -05:00
|
|
|
# forked-daapd's volume goes to 11! If that's more than you can handle
|
|
|
|
# you can set a lower value here
|
|
|
|
# max_volume = 11
|
|
|
|
# AirPlay password
|
2010-04-04 08:48:25 -04:00
|
|
|
# password = "s1kr3t"
|
|
|
|
#}
|
2014-03-11 18:20:29 -04:00
|
|
|
|
|
|
|
# Spotify settings (only have effect if Spotify enabled - see README/INSTALL)
|
|
|
|
spotify {
|
|
|
|
# Directory where user settings should be stored (credentials)
|
|
|
|
# settings_dir = "/var/cache/forked-daapd/libspotify"
|
|
|
|
# Cache directory
|
|
|
|
# cache_dir = "/tmp"
|
2014-03-29 17:26:46 -04:00
|
|
|
# Set preferred bitrate for music streaming
|
|
|
|
# 0: No preference (default), 1: 96kbps, 2: 160kbps, 3: 320kbps
|
|
|
|
# bitrate = 0
|
2014-03-11 18:20:29 -04:00
|
|
|
}
|