2003-12-29 14:46:58 -05:00
|
|
|
# $Id$
|
|
|
|
#
|
|
|
|
# This is the mt-daapd config file.
|
|
|
|
#
|
|
|
|
|
|
|
|
#
|
|
|
|
# web_root (required)
|
|
|
|
#
|
|
|
|
# Location of the admin web pages. This should be correct
|
|
|
|
#
|
|
|
|
|
2004-01-04 15:13:19 -05:00
|
|
|
web_root /usr/share/mt-daapd/admin-root
|
2003-12-29 14:46:58 -05:00
|
|
|
|
|
|
|
#
|
|
|
|
# port (required)
|
|
|
|
#
|
|
|
|
# What port to listen on. It is possible to use a different
|
|
|
|
# port, but this is the default iTunes port
|
|
|
|
#
|
|
|
|
|
|
|
|
port 3689
|
|
|
|
|
|
|
|
#
|
|
|
|
# admin_pw (required)
|
|
|
|
#
|
|
|
|
# This is the password to the administrative pages
|
|
|
|
#
|
|
|
|
|
|
|
|
admin_pw mt-daapd
|
|
|
|
|
2004-03-15 08:06:52 -05:00
|
|
|
#
|
|
|
|
# db_dir (required)
|
|
|
|
#
|
|
|
|
# This is where mt-daapd stores its database of song information.
|
|
|
|
#
|
|
|
|
|
2004-03-18 23:36:12 -05:00
|
|
|
db_dir /var/cache/mt-daapd
|
2004-03-15 08:06:52 -05:00
|
|
|
|
2003-12-29 14:46:58 -05:00
|
|
|
#
|
|
|
|
# mp3_dir (required)
|
|
|
|
#
|
|
|
|
# Location of the mp3 files to share
|
|
|
|
#
|
|
|
|
|
|
|
|
mp3_dir /mnt/mp3
|
|
|
|
|
|
|
|
#
|
|
|
|
# servername (required)
|
|
|
|
#
|
|
|
|
# This is both the name of the server as advertised
|
|
|
|
# via rendezvous, and the name of the database
|
|
|
|
# exported via DAAP
|
|
|
|
#
|
|
|
|
|
|
|
|
servername mt-daapd
|
|
|
|
|
2003-12-29 18:39:18 -05:00
|
|
|
#
|
|
|
|
# runas (required)
|
|
|
|
#
|
|
|
|
# This is the user to drop privs to if running as
|
|
|
|
# root. If mt-daapd is not started as root, this
|
|
|
|
# configuration option is ignored. Notice that this
|
|
|
|
# must be specified whether the server is running
|
|
|
|
# as root or not.
|
|
|
|
#
|
|
|
|
|
|
|
|
runas nobody
|
|
|
|
|
2003-12-29 14:46:58 -05:00
|
|
|
#
|
|
|
|
# playlist (optional)
|
|
|
|
#
|
|
|
|
# This is the location of a playlist file.
|
|
|
|
# This is for Apple-style "Smart Playlists"
|
|
|
|
# See the mt-daapd.playlist file in the
|
|
|
|
# contrib directory for syntax and examples
|
|
|
|
#
|
|
|
|
# Note that static playlists will still
|
|
|
|
# show up, even if this directive is not
|
|
|
|
# specified
|
|
|
|
#
|
|
|
|
|
2004-01-04 15:13:19 -05:00
|
|
|
playlist /etc/mt-daapd.playlist
|
2003-12-29 14:46:58 -05:00
|
|
|
|
|
|
|
#
|
|
|
|
# password (optional)
|
|
|
|
#
|
|
|
|
# This is the password required to listen to MP3 files
|
|
|
|
# i.e. the password that iTunes prompts for
|
|
|
|
#
|
|
|
|
|
2003-12-29 18:39:18 -05:00
|
|
|
#password mp3
|
|
|
|
|
2004-03-18 23:36:12 -05:00
|
|
|
#
|
|
|
|
# extensions (optional)
|
|
|
|
#
|
|
|
|
# These are the file extensions that the daap server will
|
|
|
|
# try to index and serve. By default, it only indexes and
|
|
|
|
# serves .mp3 files. It can also server .m4a and .m4p files,
|
|
|
|
# and just about any other files, really. Unfortunately, while
|
|
|
|
# it can *attempt* to serve other files (.ogg?), iTunes won't
|
|
|
|
# play them. Perhaps this would be useful on Linux with
|
2004-04-06 11:12:46 -04:00
|
|
|
# Rhythmbox, once it understands daap. (hurry up!)
|
2004-03-18 23:36:12 -05:00
|
|
|
#
|
|
|
|
|
2004-04-06 11:12:46 -04:00
|
|
|
extensions .mp3,.m4a,.m4p
|
2003-12-29 18:39:18 -05:00
|
|
|
|
|
|
|
|
2004-04-13 17:01:32 -04:00
|
|
|
#
|
|
|
|
# logfile (optional)
|
|
|
|
#
|
|
|
|
# This is the file to log to. If this is not configured,
|
|
|
|
# then it will log to the syslog.
|
|
|
|
#
|
|
|
|
# Not that the -d <level> switch will control the log verbosity.
|
|
|
|
# By default, it runs at log level 1. Log level 9 will churn
|
|
|
|
# out scads of useless debugging information. Values in between
|
|
|
|
# will vary the amount of logging you get.
|
|
|
|
#
|
|
|
|
|
|
|
|
#logfile /var/log/mt-daapd.log
|
|
|
|
|
2004-04-14 02:17:22 -04:00
|
|
|
#
|
|
|
|
# art_filename (optional)
|
|
|
|
#
|
2004-04-18 16:24:14 -04:00
|
|
|
# There is experimental support thanks to Hiren Joshi
|
2004-04-14 02:17:22 -04:00
|
|
|
# (hirenj@mooh.org) for dynamically adding art to the id3v2
|
|
|
|
# header as it is streamed (!!). If you were using a music system
|
|
|
|
# like zina or andromeda, for example, with cover art called
|
|
|
|
# "_folderOpenImage.jpg", you could use the parameter
|
|
|
|
# art_file _folderOpenImage.jpg and if the file _folderOpenImage.jpg
|
|
|
|
# was located in the same folder as the .mp3 file, it would appear
|
2004-04-18 16:24:14 -04:00
|
|
|
# in iTunes. Cool, eh?
|
|
|
|
#
|
|
|
|
# This is EXPERIMENTAL, so if you run into strange problems with
|
|
|
|
# seeking in the songs, or songs that won't stream and leave an
|
|
|
|
# exclamation point, then comment out this directive and try again.
|
|
|
|
#
|
|
|
|
# Do let me know (rpedde@users.sourceforge.net) if you have
|
|
|
|
# problems with it though. And thanks again to Hiren.
|
2004-04-14 02:17:22 -04:00
|
|
|
#
|
|
|
|
|
|
|
|
#art_filename _folderOpenImage.jpg
|
|
|
|
|