MiniDLNA
From Gentoo Wiki
Jump to:navigation
Jump to:search
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
branding
Enable Gentoo specific branding
netgear
Enable netgear branding
readynas
Enable readynas branding
selinux
!!internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage will occur
zeroconf
Support for DNS Service Discovery (DNS-SD)
Data provided by the Gentoo Package Database
·
Last update: 2026年05月24日 23:34
More information about USE flags
Emerge
Install net-misc/minidlna :
root #emerge --ask net-misc/minidlnaConfiguration
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.confinotify=yes
Manual database rebuild
root #rc-service minidlna stop && minidlnad -RPort 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 or the log file in log_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 startStart MiniDLNA at boot:
root #rc-update add minidlna defaultsystemd
Start MiniDLNA:
root #systemctl start minidlnaStart MiniDLNA at boot:
root #systemctl enable minidlnaSee also
Retrieved from "https://wiki.gentoo.org/index.php?title=MiniDLNA&oldid=1433539"