User Tools

Site Tools


dlna

DLNA

minidlna

Project website: http://sourceforge.net/projects/minidlna/

Needed libraries:

sudo apt-get install libavcodec-dev libavformat-dev libavutil-dev libflac-dev libvorbis-dev libogg-dev libid3tag0-dev libexif-dev

Build

tar xvzf minidlna_x.x.x_src.tar.gz
./genconfig.sh
make

Install

mkdir -p /var/cache/minidlna /usr/local/etc /usr/local/sbin
cp -t /usr/local/sbin minidlna
cp -t /usr/local/etc minidlna.conf
cp linux/minidlna.init.d.script /etc/init.d/minidlna && chmod a+x /etc/init.d/minidlna  # adjust paths in init-script!

Config

port=8200
network_interface=wlan0
media_dir=/media/storage/archive
friendly_name=dlna_ws3k
db_dir=/var/cache/minidlna
presentation_url=http://192.168.0.6:8200
...

Test

./minidlna -d -f /usr/local/etc/minidlna.conf

Run

/etc/init.d/minidlna start

Runlevel-Config

update-rc.d minidlna defaults

:!: The most recent version 1.0.18 (as on 2011-02-26) does not correctly handle symlinks. The (bug #2991593: Symlink creation not detected is already resolved in the CVS minidlna module.

Checkout the sources:

cvs -d:pserver:anonymous@minidlna.cvs.sourceforge.net:/cvsroot/minidlna login 
cvs -z3 -d:pserver:anonymous@minidlna.cvs.sourceforge.net:/cvsroot/minidlna co -P minidlna
dlna.txt · Last modified: 2011-02-26 08:38 CET by dominik