Media Server for the local network or how to share your media to your devices
Installation:
apt-get -y install minidlna
Configure:
echo "USER="root"" >> /etc/default/minidlna
in the file /etc/minidlna.conf replce
user=minidlna to user=root
Then need to update the path to directory with your media:
media_dir=/home/someuser/somemedia
and past the following lines in end of the config files:
friendly_name=SomeStorage # Optional
db_dir=/var/cache/minidlna # Needs to be un-commented
log_dir=/var/log # Needs to be un-commented
inotify=yes # 'no' for less resources, restart required for new media
Now time to start the service:
service minidlna restart