MiniDLNA

This article is a stub. You can help by expanding it.
Resources

MiniDLNA (also known as ReadyMedia) is Article description::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
<nowiki />
    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.

Permissions

The service runs as user minidlna. Thus directories and files like the database in db_dir need correct ownership. Owner must be minidlna.

Discovery Problems

  • do not use spaces for friendly_name

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.
This article is issued from Gentoo. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.