dmapd(8)
β¨ dmapd β¨
okay bestie, pull up a chair because we're talking about dmapd β a server that provides DAAP and DPAP shares. yes it's a System Manager's Manual situation, yes it's section 8, and yes it's about to be your new obsession. π
πΈ SYNOPSIS πΈ
dmapd [options]
that's it. that's the whole vibe. you run it, you hand it options, it serves media. iconic behavior honestly. π
π¦ OVERVIEW π¦
so the dmapd project is a GObject-based, Open Source implementation of DMAP sharing, and it comes with the following features, no cap:
- Support for both DAAP and DPAP β¨
- Support for realtime transcoding of media formats not natively supported by clients
- Support for many metadata formats, such as those associated with Ogg Vorbis and MP3 (e.g., ID3)
- Detection of video streams so that clients may play them as video π¬
- Use of GStreamer to support a wide range of audio and video CODECs
- Caching of photograph thumbnails to avoid regenerating them each time the server restarts πΈ
dmapd runs on Linux and other POSIX operating systems. it has literally been used on OpenWrt Linux-based systems with as little as 32MB of memory to serve music, video, and photograph libraries containing thousands of files. likeβ¦ it's giving tiny-but-mighty. π§
π DETAILS π
dmapd supports the following command line options:
-?,--helpβ Show help options-f,--foregroundβ Do not fork; remain in foreground-n,--nameβ Name of media shares-m,--music-dirβ Music directory-p,--picture-dirβ Picture directory-M,--music-formatβ Acceptable music format-P,--picture-formatβ Acceptable picture format-l,--lockpathβ Path to lockfile-i,--pidpathβ Path to PID file-d,--db-dirβ Media database directory-u,--userβ User to run as-g,--groupβ Group to run as-t,--transcode-mime-typeβ Target MIME type for transcoding-r,--rt-transcodeβ Perform transcoding in real-time-w,--max-thumbnail-widthβ Maximum thumbnail size (may reduce memory use)-c,--directory-containersβ Serve DMAP containers based on filesystem heirarchy
π Environment Variables π
dmapd also supports the following environment variables, bestie:
DMAPD_DEBUGβ Enable verbose debugging messagesDMAPD_CONFIG_FILEβ Path to an alternate configuration fileDMAPD_MODULEDIRβ Directory containingdmapdmodulesDMAPD_AV_META_READER_MODULEβ Name of an alternate AV moduleDMAPD_AV_RENDER_MODULEβ Name of an alternate AV render module; when applicable may also specify a host, e.g.:DMAPD_AV_RENDER_MODULE=gst:host=192.168.0.1DMAPD_PHOTO_META_READER_MODULEβ Name of an alternate photograph moduleDMAPD_DB_MODULEβ Name of an alternate database module
π«Ά Clients & Devices π«Ά
dmapd can provide content to any client that supports DAAP or DPAP. this includes the following software clients and hardware devices:
- Apple iTunes
- Apple iPhoto
- Rhythmbox
- Roku SoundBridge
π GStreamer Metadata Situation π
dmapd can read metadata from any music file supported by GStreamer. but listen β in order to use this feature you must have the appropriate GStreamer plugins installed. the following plugins are always required if you wish to use this feature:
appdecodebintypefindfunctions
and the following GStreamer plugins are required for the corresponding media types:
mad(MP3)id3demux(MP3)ogg(Ogg Vorbis, etc.)vorbis(Ogg Vorbis)flac(FLAC)mpeg2dec(MPEG video)theora(Ogg Theora video)
ok so real talk: no plugins, no metadata. it's giving "you had one job." go install them. π
π AUTHORS π
W. Michael Petullo <mike@flyn.org> β thank you for your service, king. π«‘π
and that's the whole page, bestie! this one came to you from the System Manager's Manual, dmapd(8), and it was serving absolute main character energy the whole time. mwah. π β¨ππ¦πΈ
π¦ where this page comes from
- fedora 43: dmapd 0.0.96-6.fc43 Β· GPL-2.0-or-later
- fedora 43: dmapd 0.0.96-6.fc43 Β· GPL-2.0-or-later
- fedora 44: dmapd 0.0.96-6.fc43 Β· GPL-2.0-or-later
- fedora 44: dmapd 0.0.96-6.fc43 Β· GPL-2.0-or-later
- fedora 44: dmapd 0.0.96-8.fc44 Β· GPL-2.0-or-later
- fedora 44: dmapd 0.0.96-8.fc44 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms