Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
MiniDLNA is server software with the aim of being fully compliant with
DLNA/UPnP clients. The MiniDNLA daemon serves media files (music, pictures,
and video) to clients on a network. Example clients include applications such as
totem and xbmc, and devices such as portable media players, smartphones, and
televisions.
MiniDLNA is a simple, lightweight alternative to MediaTomb, but has fewer features. It
does not have a web interface for administration and must be configured by editing a text
file.
Installation
sudo apt-get install minidlna
NetworkManager)media_dir=A,/home/user/Music
# Use A, P, and V to
# Optionaldb_dir=/var/cache/minidlna
Needs to be un-commentedlog_dir=/var/log
un-commentedinotify=yes
restart required for new media
Restart the daemon for changes to take effect:
sudo service minidlna restart
# Needs to be
# 'no' for less resources,
minidlnad -f /home/$USER/.minidlna/minidlna.conf -R
To have minidlna load at startup, create the file
~/.config/autostart/minidlna.desktop:
[Desktop
Entry]Encoding=UTF-8Type=ApplicationName=MiniDLNAComment=Server to
stream media over networkExec=minidlna -f
/home/$USER/.minidlna/minidlna.conf -P
/home/$USER/.minidlna/minidlna.pidStartupNotify=falseTerminal=falseHidden=
false
Troubleshooting
MiniDLNA problems that have been solved.
Firewall Rules
If using a firewall the the ssdp (1900/udp) and trivnet1 (8200/tcp) ports will need to be
opened. For example this can be done with arno's iptables firewall by editing
firewall.conf to:
OPEN_TCP="8200" OPEN_UDP="1900"