DAAPD(8)

NAME
daapd - Digital Audio Access Protocol music server

SYNOPSIS
daapd [-dhqvz] [-c config-file] [-C cache-file] [-n name] [-p port] [-s interval] [-t vbr-limit] file/directory ...

DESCRIPTION
daapd is a music server program for the Digital Audio Access Protocol (DAAP). The server scans file/directory ... recursively for audio files in various formats and listens on TCP port 3689. An arbitrary number of directories and files (to the length of the command line) can be supplied on the command line.

Files are recognizes by content (header, magic numbers etc.) and by file extension. File formats recognized are:

MPEG 1 Audio Layer 3 (MP3)
Audio Interchange File Format (AIFF)
Microsoft Wave (WAV)
SoundDesigner II (SD2)
MPEG 4 Audio, AAC encoding (M4A, M4P)
WinAmp Playlists (M3U, M3U Extended, PLS); see http://www.scvi.net/pls.htm

Files in playlists are automatically added. Playlist files may also contain URLs in the format http://<path>.

The presence of the server is advertised via the Multicast DNS service discovery protocol (mDNS-SD, part of zeroconf). daapd relies on the howl mDNS library for this task. For howl to be operational, the howl mDNSResponder has to be running.

OPTIONS

-c config-file
    Read configuration options from config-file. If this option is not given, the default location of the configuration file is /usr/pkg/etc/daapd.conf.

-C cache-file
    Save and recover database of audio files to/from cache-file.

-d  Start in daemon mode, detaching from the terminal. Implies -q.

-h  Print (on the standard output) a description of the command line options.

-n name
    Advertise name as server name.

-p port
    Listen on port port.

-q  Quiet; suppress normal output.

-s interval
    Rescan filesystem every interval seconds

-t vbr-limit
    Scan MP3 files for duration:

    = -1
        not at all
    = 0 entirely
    > 0 first n frames

-v  Dump verbose debugging info to the standard output.

-z  Don't compress transmissions.

BUGS
The password is stored as plain text in the configuration files. This is an obvious security issue.