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