2014-08-24 15:15:18 -04:00
|
|
|
# A quick guide to configuring forked-daapd:
|
|
|
|
#
|
|
|
|
# For regular use, the most important setting to configure is "directories",
|
|
|
|
# which should be the location of your media. Whatever user you have set as
|
|
|
|
# "uid" must have read access to this location. If the location is a network
|
|
|
|
# mount, please see the README.
|
|
|
|
#
|
|
|
|
# In all likelihood, that's all you need to do!
|
2009-06-12 05:38:46 -04:00
|
|
|
|
|
|
|
general {
|
|
|
|
# Username
|
2014-11-17 16:53:52 -05:00
|
|
|
# Make sure the user has read access to the library directories you set
|
2019-04-12 17:03:09 -04:00
|
|
|
# below, and full access to the databases, log and local audio
|
2016-12-27 18:47:00 -05:00
|
|
|
uid = "@DAAPD_USER@"
|
2014-11-17 16:53:52 -05:00
|
|
|
|
2010-03-21 06:33:05 -04:00
|
|
|
# Database location
|
2016-12-27 18:47:00 -05:00
|
|
|
# db_path = "@localstatedir@/cache/@PACKAGE@/songs3.db"
|
2014-11-17 16:53:52 -05:00
|
|
|
|
2020-07-31 04:16:31 -04:00
|
|
|
# Database backup location
|
|
|
|
# Uncomment and specify a full path to enable abilty to use REST endpoint
|
|
|
|
# to initiate backup of songs3.db
|
|
|
|
# db_backup_path = "@localstatedir@/cache/@PACKAGE@/songs3.bak"
|
|
|
|
|
2014-11-17 16:53:52 -05:00
|
|
|
# Log file and level
|
2009-06-12 05:38:46 -04:00
|
|
|
# Available levels: fatal, log, warning, info, debug, spam
|
2016-12-27 18:47:00 -05:00
|
|
|
logfile = "@localstatedir@/log/@PACKAGE@.log"
|
2009-06-12 05:38:46 -04:00
|
|
|
loglevel = log
|
2014-11-17 16:53:52 -05:00
|
|
|
|
2017-08-12 13:37:07 -04:00
|
|
|
# Admin password for the web interface
|
2017-11-11 15:17:42 -05:00
|
|
|
# Note that access to the web interface from computers in
|
|
|
|
# "trusted_network" (see below) does not require password
|
2017-08-12 13:37:07 -04:00
|
|
|
# admin_password = ""
|
2017-10-28 18:05:20 -04:00
|
|
|
|
2019-11-17 14:24:25 -05:00
|
|
|
# Websocket port for the web interface.
|
2017-09-15 01:04:18 -04:00
|
|
|
# websocket_port = 3688
|
2014-11-17 16:53:52 -05:00
|
|
|
|
2017-11-11 15:17:42 -05:00
|
|
|
# Sets who is allowed to connect without authorisation. This applies to
|
|
|
|
# client types like Remotes, DAAP clients (iTunes) and to the web
|
|
|
|
# interface. Options are "any", "localhost" or the prefix to one or
|
|
|
|
# more ipv4/6 networks. The default is { "localhost", "192.168", "fd" }
|
|
|
|
# trusted_networks = { "localhost", "192.168", "fd" }
|
2017-10-28 18:05:20 -04:00
|
|
|
|
2011-03-20 07:10:51 -04:00
|
|
|
# Enable/disable IPv6
|
2015-12-03 16:08:55 -05:00
|
|
|
ipv6 = yes
|
2014-11-17 16:53:52 -05:00
|
|
|
|
2014-11-10 16:53:08 -05:00
|
|
|
# Location of cache database
|
2016-12-27 18:47:00 -05:00
|
|
|
# cache_path = "@localstatedir@/cache/@PACKAGE@/cache.db"
|
2014-11-17 16:53:52 -05:00
|
|
|
|
2014-08-23 19:23:23 -04:00
|
|
|
# DAAP requests that take longer than this threshold (in msec) get their
|
|
|
|
# replies cached for next time. Set to 0 to disable caching.
|
2014-11-10 16:53:08 -05:00
|
|
|
# cache_daap_threshold = 1000
|
2016-09-10 17:26:06 -04:00
|
|
|
|
|
|
|
# When starting playback, autoselect speaker (if none of the previously
|
|
|
|
# selected speakers/outputs are available)
|
2020-05-04 11:41:57 -04:00
|
|
|
# speaker_autoselect = no
|
2017-06-26 17:32:24 -04:00
|
|
|
|
|
|
|
# Most modern systems have a high-resolution clock, but if you are on an
|
|
|
|
# unusual platform and experience audio drop-outs, you can try changing
|
|
|
|
# this option
|
|
|
|
# high_resolution_clock = yes
|
2009-06-12 05:38:46 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
# Library configuration
|
2010-03-19 14:06:47 -04:00
|
|
|
library {
|
2019-11-26 13:52:33 -05:00
|
|
|
# Name of the library as displayed by the clients (%h: hostname). If you
|
|
|
|
# change the name after pairing with Remote you may have to re-pair.
|
2010-03-19 14:06:47 -04:00
|
|
|
name = "My Music on %h"
|
2014-11-17 16:53:52 -05:00
|
|
|
|
2009-06-12 05:38:46 -04:00
|
|
|
# TCP port to listen on. Default port is 3689 (daap)
|
|
|
|
port = 3689
|
2014-11-17 16:53:52 -05:00
|
|
|
|
2009-06-12 05:38:46 -04:00
|
|
|
# Password for the library. Optional.
|
|
|
|
# password = ""
|
|
|
|
|
|
|
|
# Directories to index
|
|
|
|
directories = { "/srv/music" }
|
2013-10-24 17:14:26 -04:00
|
|
|
|
2019-11-17 14:24:25 -05:00
|
|
|
# Follow symlinks. Default: true.
|
2017-11-08 19:16:44 -05:00
|
|
|
# follow_symlinks = true
|
|
|
|
|
2013-10-24 17:14:26 -04:00
|
|
|
# Directories containing podcasts
|
|
|
|
# For each directory that is indexed the path is matched against these
|
2019-11-17 14:24:25 -05:00
|
|
|
# names. If there is a match all items in the directory are marked as
|
2013-10-24 17:14:26 -04:00
|
|
|
# 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
|
2019-11-17 14:24:25 -05:00
|
|
|
# names. If there is a match all items in the directory are marked as
|
2013-12-08 17:03:03 -05:00
|
|
|
# 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
|
2019-11-17 14:24:25 -05:00
|
|
|
# names. If there is a match all items in the directory are marked as
|
2013-10-24 17:14:26 -04:00
|
|
|
# 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
|
|
|
|
2018-12-31 08:13:57 -05:00
|
|
|
# Compilations usually have many artists, and sometimes no album artist.
|
|
|
|
# If you don't want every artist to be listed in artist views, you can
|
|
|
|
# set a single name which will be used for all compilation tracks
|
|
|
|
# without an album artist, and for all tracks in the compilation
|
|
|
|
# directories.
|
2014-01-28 16:40:07 -05:00
|
|
|
# (changing this setting only takes effect after rescan, see the README)
|
2018-12-31 08:13:57 -05:00
|
|
|
compilation_artist = "Various Artists"
|
2009-06-12 05:38:46 -04:00
|
|
|
|
2015-12-12 17:28:48 -05:00
|
|
|
# If your album and artist lists are cluttered, you can choose to hide
|
|
|
|
# albums and artists with only one track. The tracks will still be
|
|
|
|
# visible in other lists, e.g. songs and playlists. This setting
|
|
|
|
# currently only works in some remotes.
|
|
|
|
# hide_singles = false
|
|
|
|
|
2015-03-30 15:10:59 -04:00
|
|
|
# Internet streams in your playlists will by default be shown in the
|
|
|
|
# "Radio" library, like iTunes does. However, some clients (like
|
|
|
|
# TunesRemote+) won't show the "Radio" library. If you would also like
|
|
|
|
# to have them shown like normal playlists, you can enable this option.
|
|
|
|
# radio_playlists = false
|
|
|
|
|
|
|
|
# These are the default playlists. If you want them to have other names,
|
|
|
|
# you can set it here.
|
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"
|
2015-03-30 15:10:59 -04:00
|
|
|
# name_radio = "Radio"
|
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
|
|
|
|
2015-01-02 18:31:48 -05:00
|
|
|
# Enable searching for artwork corresponding to each individual media
|
|
|
|
# file instead of only looking for album artwork. This is disabled by
|
|
|
|
# default to reduce cache size.
|
|
|
|
# artwork_individual = false
|
2014-12-30 10:38:03 -05: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
|
2017-01-14 17:35:19 -05:00
|
|
|
# scan time. By default .db, .ini, .db-journal, .pdf and .metadata are
|
|
|
|
# ignored.
|
|
|
|
# filetypes_ignore = { ".db", ".ini", ".db-journal", ".pdf", ".metadata" }
|
2013-10-26 14:59:05 -04:00
|
|
|
|
2015-01-14 15:50:25 -05:00
|
|
|
# File paths the scanner should ignore
|
|
|
|
# If you want to exclude files on a more advanced basis you can enter
|
|
|
|
# one or more POSIX regular expressions, and any file with a matching
|
|
|
|
# path will be ignored.
|
|
|
|
# filepath_ignore = { "myregex" }
|
|
|
|
|
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
|
2015-01-14 15:50:25 -05:00
|
|
|
# to trigger a rescan.
|
2014-01-28 16:40:07 -05:00
|
|
|
# filescan_disable = false
|
|
|
|
|
2020-02-01 18:52:00 -05:00
|
|
|
# Should metadata from m3u playlists, e.g. artist and title in EXTINF,
|
|
|
|
# override the metadata we get from radio streams?
|
|
|
|
# m3u_overrides = 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
|
|
|
|
2016-06-04 17:30:01 -04:00
|
|
|
# Should we import the content of iTunes smart playlists?
|
|
|
|
# itunes_smartpl = false
|
|
|
|
|
2015-10-09 17:58:27 -04:00
|
|
|
# Decoding options for DAAP clients
|
|
|
|
# Since iTunes has native support for mpeg, mp4a, mp4v, alac and wav,
|
|
|
|
# such files will be sent as they are. Any other formats will be decoded
|
|
|
|
# to raw wav. If forked-daapd detects a non-iTunes DAAP client, it is
|
|
|
|
# assumed to only support mpeg and wav, other formats will be decoded.
|
|
|
|
# Here you can change when to decode. Note that these settings have no
|
|
|
|
# effect on AirPlay.
|
2009-06-12 05:38:46 -04:00
|
|
|
# Formats: mp4a, mp4v, mpeg, alac, flac, mpc, ogg, wma, wmal, wmav, aif, wav
|
2015-10-09 17:58:27 -04:00
|
|
|
# Formats that should never be decoded
|
|
|
|
# no_decode = { "format", "format" }
|
|
|
|
# Formats that should always be decoded
|
|
|
|
# force_decode = { "format", "format" }
|
2017-01-14 17:35:19 -05:00
|
|
|
|
|
|
|
# Watch named pipes in the library for data and autostart playback when
|
|
|
|
# there is data to be read. To exclude specific pipes from watching,
|
|
|
|
# consider using the above _ignore options.
|
|
|
|
# pipe_autostart = true
|
2018-08-19 03:45:35 -04:00
|
|
|
|
|
|
|
# Enable automatic rating updates
|
|
|
|
# If enabled, rating is automatically updated after a song has either been
|
|
|
|
# played or skipped (only skipping to the next song is taken into account).
|
2019-11-17 14:24:25 -05:00
|
|
|
# The calculation is taken from the beets plugin "mpdstats" (see
|
2018-08-19 03:45:35 -04:00
|
|
|
# https://beets.readthedocs.io/en/latest/plugins/mpdstats.html).
|
2019-11-17 14:24:25 -05:00
|
|
|
# It consist of calculating a stable rating based only on the play- and
|
2018-08-19 03:45:35 -04:00
|
|
|
# skipcount and a rolling rating based on the current rating and the action
|
|
|
|
# (played or skipped). Both results are combined with a mix-factor of 0.75:
|
|
|
|
# new rating = 0.75 * stable rating + 0.25 * rolling rating)
|
|
|
|
# rating_updates = false
|
2019-04-10 15:04:00 -04:00
|
|
|
|
|
|
|
# Allows creating, deleting and modifying m3u playlists in the library directories.
|
2019-05-30 02:20:00 -04:00
|
|
|
# Only supported by the player web interface and some mpd clients
|
2019-04-10 15:04:00 -04:00
|
|
|
# Defaults to being disabled.
|
|
|
|
# allow_modifying_stored_playlists = false
|
|
|
|
|
|
|
|
# A directory in one of the library directories that will be used as the default
|
|
|
|
# playlist directory. forked-dapd creates new playlists in this directory if only
|
2019-05-30 02:20:00 -04:00
|
|
|
# a playlist name is provided (requires "allow_modify_stored_playlists" set to true).
|
2019-04-10 15:04:00 -04:00
|
|
|
# default_playlist_directory = ""
|
2009-06-12 05:38:46 -04:00
|
|
|
}
|
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"
|
2019-11-17 14:24:25 -05:00
|
|
|
|
2017-03-15 18:21:25 -04:00
|
|
|
# Type of the output (alsa, pulseaudio, dummy or disabled)
|
2015-03-31 11:31:14 -04:00
|
|
|
# type = "alsa"
|
2014-11-17 16:53:52 -05:00
|
|
|
|
2017-11-06 11:37:11 -05:00
|
|
|
# For pulseaudio output, an optional server hostname or IP can be
|
|
|
|
# specified (e.g. "localhost"). If not set, connection is made via local
|
|
|
|
# socket.
|
|
|
|
# server = ""
|
2017-11-05 00:59:56 -04:00
|
|
|
|
2016-09-25 16:10:22 -04:00
|
|
|
# Audio PCM device name for local audio output - ALSA only
|
2010-05-02 05:24:07 -04:00
|
|
|
# card = "default"
|
2014-11-17 16:53:52 -05:00
|
|
|
|
2016-08-25 16:44:28 -04:00
|
|
|
# Mixer channel to use for volume control - ALSA only
|
2011-07-08 05:18:20 -04:00
|
|
|
# If not set, PCM will be used if available, otherwise Master.
|
|
|
|
# mixer = ""
|
2016-04-13 14:12:37 -04:00
|
|
|
|
2016-09-25 16:10:22 -04:00
|
|
|
# Mixer device to use for volume control - ALSA only
|
|
|
|
# If not set, the value for "card" will be used.
|
|
|
|
# mixer_device = ""
|
|
|
|
|
2019-04-09 15:45:16 -04:00
|
|
|
# Enable or disable audio resampling to keep local audio in sync with
|
|
|
|
# e.g. Airplay. This feature relies on accurate ALSA measurements of
|
|
|
|
# delay, and some devices don't provide that. If that is the case you
|
|
|
|
# are better off disabling the feature.
|
|
|
|
# sync_disable = false
|
|
|
|
|
|
|
|
# Here you can adjust when local audio is started relative to other
|
|
|
|
# speakers, e.g. Airplay. Negative values correspond to moving local
|
|
|
|
# audio ahead, positive correspond to delaying it. The unit is
|
|
|
|
# milliseconds. The offset must be between -1000 and 1000 (+/- 1 sec).
|
2019-02-23 17:24:36 -05:00
|
|
|
# offset_ms = 0
|
2019-04-09 15:45:16 -04:00
|
|
|
|
|
|
|
# To calculate what and if resampling is required, local audio delay is
|
|
|
|
# measured each second. After a period the collected measurements are
|
|
|
|
# used to estimate drift and latency, which determines if corrections
|
|
|
|
# are required. This setting sets the length of that period in seconds.
|
|
|
|
# adjust_period_seconds = 100
|
2010-05-02 05:24:07 -04:00
|
|
|
}
|
2010-04-04 08:48:25 -04:00
|
|
|
|
2019-12-22 14:08:43 -05:00
|
|
|
# ALSA device settings
|
2020-01-03 04:06:58 -05:00
|
|
|
# If you have multiple ALSA devices you can configure them individually via
|
|
|
|
# sections like the below. Make sure to set the "card name" correctly. See the
|
|
|
|
# README about ALSA for details. Note that these settings will override the ALSA
|
|
|
|
# settings in the "audio" section above.
|
|
|
|
#alsa "card name" {
|
|
|
|
# Name - used in the speaker list in Remote
|
|
|
|
# If not set, the card name will be used
|
|
|
|
# nickname = "Computer"
|
2019-12-22 14:08:43 -05:00
|
|
|
|
|
|
|
# Mixer channel to use for volume control
|
2020-01-03 04:06:58 -05:00
|
|
|
# If not set, PCM will be used if available, otherwise Master
|
2019-12-22 14:08:43 -05:00
|
|
|
# mixer = ""
|
|
|
|
|
|
|
|
# Mixer device to use for volume control
|
2020-01-03 04:06:58 -05:00
|
|
|
# If not set, the card name will be used
|
2019-12-22 14:08:43 -05:00
|
|
|
# mixer_device = ""
|
|
|
|
#}
|
|
|
|
|
2016-10-25 15:23:09 -04:00
|
|
|
# Pipe output
|
|
|
|
# Allows forked-daapd to output audio data to a named pipe
|
|
|
|
#fifo {
|
|
|
|
# nickname = "fifo"
|
|
|
|
# path = "/path/to/fifo"
|
|
|
|
#}
|
|
|
|
|
2020-07-06 05:31:04 -04:00
|
|
|
# AirPlay settings common to all devices
|
2020-04-11 17:30:27 -04:00
|
|
|
#airplay_shared {
|
2020-04-11 17:44:41 -04:00
|
|
|
# UDP ports used when airplay devices make connections back to forked-daapd
|
2020-04-11 17:30:27 -04:00
|
|
|
# (choosing specific ports may be helpful when running forked-daapd behind a firewall)
|
|
|
|
# control_port = 0
|
|
|
|
# timing_port = 0
|
|
|
|
#}
|
|
|
|
|
2020-07-06 05:31:04 -04:00
|
|
|
# AirPlay per 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
|
2014-11-17 16:53:52 -05:00
|
|
|
|
2017-03-12 17:11:56 -04:00
|
|
|
# Enable this option to exclude a particular AirPlay device from the
|
|
|
|
# speaker list
|
|
|
|
# exclude = false
|
|
|
|
|
2018-11-16 12:46:47 -05:00
|
|
|
# Enable this option to keep a particular AirPlay device in the speaker
|
|
|
|
# list and thus ignore mdns notifications about it no longer being
|
|
|
|
# present. The speaker will remain until restart of forked-daapd.
|
|
|
|
# permanent = false
|
|
|
|
|
2020-07-22 18:39:29 -04:00
|
|
|
# Some devices spuriously disconnect during playback, and based on the
|
|
|
|
# device type forked-daapd may attempt to reconnect. Setting this option
|
|
|
|
# overrides this so reconnecting is either always enabled or disabled.
|
|
|
|
# reconnect = false
|
|
|
|
|
2014-02-09 10:07:00 -05:00
|
|
|
# AirPlay password
|
2010-04-04 08:48:25 -04:00
|
|
|
# password = "s1kr3t"
|
|
|
|
#}
|
2014-03-11 18:20:29 -04:00
|
|
|
|
2019-01-09 14:26:31 -05:00
|
|
|
# Chromecast settings
|
|
|
|
# (make sure you get the capitalization of the device name right)
|
|
|
|
#chromecast "My Chromecast device" {
|
|
|
|
# Enable this option to exclude a particular device from the speaker
|
|
|
|
# list
|
|
|
|
# exclude = false
|
|
|
|
#}
|
|
|
|
|
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)
|
2016-12-27 18:47:00 -05:00
|
|
|
# settings_dir = "@localstatedir@/cache/@PACKAGE@/libspotify"
|
2014-11-17 16:53:52 -05:00
|
|
|
|
2014-03-11 18:20:29 -04:00
|
|
|
# Cache directory
|
|
|
|
# cache_dir = "/tmp"
|
2014-11-17 16:53:52 -05:00
|
|
|
|
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
|
2015-03-08 04:04:26 -04:00
|
|
|
|
2015-03-29 18:59:55 -04:00
|
|
|
# Your Spotify playlists will by default be put in a "Spotify" playlist
|
|
|
|
# folder. If you would rather have them together with your other
|
|
|
|
# playlists you can set this option to true.
|
|
|
|
# base_playlist_disable = false
|
|
|
|
|
2016-11-09 16:46:03 -05:00
|
|
|
# Spotify playlists usually have many artist, and if you don't want
|
|
|
|
# every artist to be listed when artist browsing in Remote, you can set
|
|
|
|
# the artist_override flag to true. This will use the compilation_artist
|
|
|
|
# as album artist for Spotify items.
|
2015-03-08 04:04:26 -04:00
|
|
|
# artist_override = false
|
|
|
|
|
2016-11-09 16:46:03 -05:00
|
|
|
# Similar to the different artists in Spotify playlists, the playlist
|
|
|
|
# items belong to different albums, and if you do not want every album
|
|
|
|
# to be listed when browsing in Remote, you can set the album_override
|
|
|
|
# flag to true. This will use the playlist name as album name for
|
|
|
|
# Spotify items. Notice that if an item is in more than one playlist,
|
|
|
|
# it will only appear in one album when browsing (in which album is
|
|
|
|
# random).
|
2015-03-08 04:24:23 -04:00
|
|
|
# album_override = false
|
2014-03-11 18:20:29 -04:00
|
|
|
}
|
2014-11-10 16:53:08 -05:00
|
|
|
|
2015-07-19 13:47:56 -04:00
|
|
|
# MPD configuration (only have effect if MPD enabled - see README/INSTALL)
|
|
|
|
mpd {
|
2019-11-17 14:24:25 -05:00
|
|
|
# TCP port to listen on for MPD client requests.
|
2015-07-19 13:47:56 -04:00
|
|
|
# Default port is 6600, set to 0 to disable MPD support.
|
|
|
|
# port = 6600
|
|
|
|
|
2016-11-09 16:46:03 -05:00
|
|
|
# HTTP port to listen for artwork requests (only supported by some MPD
|
|
|
|
# clients and will need additional configuration in the MPD client to
|
|
|
|
# work). Set to 0 to disable serving artwork over http.
|
2015-07-19 13:47:56 -04:00
|
|
|
# http_port = 0
|
2016-02-28 04:34:18 -05:00
|
|
|
|
2016-11-09 16:46:03 -05:00
|
|
|
# By default forked-daapd will - like iTunes - clear the playqueue if
|
|
|
|
# playback stops. Setting clear_queue_on_stop_disable to true will keep
|
|
|
|
# the playlist like MPD does. Note that some dacp clients do not show
|
|
|
|
# the playqueue if playback is stopped.
|
2016-02-28 04:34:18 -05:00
|
|
|
# clear_queue_on_stop_disable = false
|
2015-07-19 13:47:56 -04:00
|
|
|
}
|
|
|
|
|
2014-11-10 16:53:08 -05:00
|
|
|
# SQLite configuration (allows to modify the operation of the SQLite databases)
|
2016-11-09 16:46:03 -05:00
|
|
|
# Make sure to read the SQLite documentation for the corresponding PRAGMA
|
|
|
|
# statements as changing them from the defaults may increase the possibility of
|
|
|
|
# database corruptions! By default the SQLite default values are used.
|
2014-11-10 16:53:08 -05:00
|
|
|
sqlite {
|
|
|
|
# Cache size in number of db pages for the library database
|
|
|
|
# (SQLite default page size is 1024 bytes and cache size is 2000 pages)
|
|
|
|
# pragma_cache_size_library = 2000
|
2019-11-17 14:24:25 -05:00
|
|
|
|
2014-11-10 16:53:08 -05:00
|
|
|
# Cache size in number of db pages for the daap cache database
|
|
|
|
# (SQLite default page size is 1024 bytes and cache size is 2000 pages)
|
|
|
|
# pragma_cache_size_cache = 2000
|
2019-11-17 14:24:25 -05:00
|
|
|
|
2014-11-10 16:53:08 -05:00
|
|
|
# Sets the journal mode for the database
|
2019-11-17 14:24:25 -05:00
|
|
|
# DELETE (default), TRUNCATE, PERSIST, MEMORY, WAL, OFF
|
2014-11-10 16:53:08 -05:00
|
|
|
# pragma_journal_mode = DELETE
|
2019-11-17 14:24:25 -05:00
|
|
|
|
2014-11-10 16:53:08 -05:00
|
|
|
# Change the setting of the "synchronous" flag
|
|
|
|
# 0: OFF, 1: NORMAL, 2: FULL (default)
|
|
|
|
# pragma_synchronous = 2
|
2019-11-17 14:24:25 -05:00
|
|
|
|
2015-09-13 03:10:42 -04:00
|
|
|
# Number of bytes set aside for memory-mapped I/O for the library database
|
|
|
|
# (requires sqlite 3.7.17 or later)
|
|
|
|
# 0: disables mmap (default), any other value > 0: number of bytes for mmap
|
|
|
|
# pragma_mmap_size_library = 0
|
|
|
|
|
|
|
|
# Number of bytes set aside for memory-mapped I/O for the cache database
|
|
|
|
# (requires sqlite 3.7.17 or later)
|
|
|
|
# 0: disables mmap (default), any other value > 0: number of bytes for mmap
|
|
|
|
# pragma_mmap_size_cache = 0
|
2015-01-14 14:32:36 -05:00
|
|
|
|
|
|
|
# Should the database be vacuumed on startup? (increases startup time,
|
|
|
|
# but may reduce database size). Default is yes.
|
|
|
|
# vacuum = yes
|
2014-11-10 16:53:08 -05:00
|
|
|
}
|
2019-08-23 11:22:11 -04:00
|
|
|
|
|
|
|
# Streaming audio settings for remote connections (ie stream.mp3)
|
|
|
|
streaming {
|
|
|
|
# Sample rate, typically 44100 or 48000
|
|
|
|
# sample_rate = 44100
|
2019-11-17 14:24:25 -05:00
|
|
|
|
2019-08-23 11:22:11 -04:00
|
|
|
# Set the MP3 streaming bit rate (in kbps), valid options: 64 / 96 / 128 / 192 / 320
|
|
|
|
# bit_rate = 192
|
|
|
|
}
|