mxcl/homebrew — pull request #17562 by econnell (2013-02-03 19:21:38+00:00)
Title: minidlna DLNA/UPnP server (HEAD)

minidlna is a DLNA daemon written for Netgear ReadyNAS devices. It can stream to pretty much any DLNA renderer (PS3, Android, Xbox, etc). The currently released version 1.0.35 does not compile on OSX, but HEAD has most of the fixes needed to get it working. When/if they release a new version with the latest changes, I'll send another pull request that pulls down the source tarball instead of using CVS.

I don't know where to put something like documentation or a sample config. The following is my minimal configuration which I put in ~/.minidlna/minidlna.conf:

port=8200
network_interface=en1
user=econnell
media_dir=A,/Users/econnell/Music
media_dir=P,/Users/econnell/Pictures
media_dir=V,/Users/econnell/Movies
friendly_name=Media Server
db_dir=/Users/econnell/.minidlna/cache
log_dir=/Users/econnell/.minidlna/log
inotify=yes

Then create directories for it (these are specified in my config above):

mkdir ~/.minidlna ~/.minidlna/cache ~/.minidlna/log

Then start it:

/usr/local/sbin/minidlnad -f ~/.minidlna/minidlna.conf