mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-26 23:25:56 -05:00
108 lines
1.9 KiB
Plaintext
108 lines
1.9 KiB
Plaintext
# $Id$
|
|
#
|
|
# This is the mt-daapd config file.
|
|
#
|
|
|
|
#
|
|
# web_root (required)
|
|
#
|
|
# Location of the admin web pages. This should be correct
|
|
#
|
|
|
|
web_root /usr/share/mt-daapd/admin-root
|
|
|
|
#
|
|
# 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
|
|
|
|
#
|
|
# db_dir (required)
|
|
#
|
|
# This is where mt-daapd stores its database of song information.
|
|
#
|
|
|
|
db_dir /var/cache/mt-daapd
|
|
|
|
#
|
|
# 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
|
|
|
|
#
|
|
# 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
|
|
|
|
#
|
|
# 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
|
|
#
|
|
|
|
playlist /etc/mt-daapd.playlist
|
|
|
|
#
|
|
# password (optional)
|
|
#
|
|
# This is the password required to listen to MP3 files
|
|
# i.e. the password that iTunes prompts for
|
|
#
|
|
|
|
#password mp3
|
|
|
|
#
|
|
# 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
|
|
# Rhythmbox (are you guys done with that yet?)
|
|
#
|
|
|
|
#extensions .mp3,.m4a
|
|
|
|
|