MiniDLNA

From Gentoo Wiki
Jump to: navigation, search
This article is a stub. You can help by expanding it.
Resources

MiniDLNA (also known as ReadyMedia) is a media server aiming to be DLNA/UPnP-AV compliant.

Installation

USE flags

USE flags for net-misc/minidlna DLNA/UPnP-AV compliant media server

netgear Enable netgear branding
readynas Enable readynas branding
zeroconf Support for DNS Service Discovery (DNS-SD)

Emerge

Install net-misc/minidlna:

root #emerge --ask net-misc/minidlna

Configuration

Configuration is controlled by /etc/minidlna.conf these settings should be changed.

FILE /etc/minidlna.conf
#friendly_name=My DLNA Server
media_dir=/opt

Automatic file discovery

MiniDLNA supports inotify monitoring to automatically discover new files. To enable inotify support the kernel needs to have inotify support enabled.

KERNEL Enabling inotify support
    File systems --->
      [*] Inotify support for userspace

And inotify=yes set in the MiniDLNA configuration file.

FILE /etc/minidlna.conf
inotify=yes

Manual database rebuild

root #rc-service minidlna stop && minidlnad -R

Port forwarding

MiniDLNA uses UDP port 1900 & TCP port 8200.

Service

OpenRC

Start MiniDLNA:

root #rc-service minidlna start

Start MiniDLNA at boot:

root #rc-update add minidlna default

systemd

Start MiniDLNA:

root #systemctl start minidlna

Start MiniDLNA at boot:

root #systemctl enable minidlna

See also

  • Gerbera — an open source UPnP media server that streams digital media through a home network to UPnP compatible devices.