https://help.ubuntu.com/community/MiniDLNA
Update DB:
sudo service minidlna force-reload
minidlnad -r
Rebuild DB:
sudo minidlnad -f /etc/minidlna.conf -R
sudo service minidlna restart
Problem, dass DB nach Neustart leer ist:
(Disk wird zu spät gemountet)
If so, it may be that when minidlna starts, the mount of that device hasn't been done. This would mean that it looks like the files are no longer available, and would be removed from the database.
Then, when the device is mounted, minidlna looks at the mounted folder, and sees that its modification time is before the last database change, so does not bother rebuilding the database.
Disable Service:sudo update-rc.d minidlna disable
(The servicename will be the filename in /etc/init.d)
sleep 30
sudo service minidlna start
so minidlna leaves after 30 seconds from the start and raspbian mounts the peripherals first !
Starten des DLNA Server mit folgenden Befehlen:
sudo service minidlna restart
sudo service minidlna force-reload
Port 8200
Berechtigung für minidlna:
sudo nano /etc/default/minidlna
and add the USER="root" and the GROUP="root" to that file.
Get everything uptodate:
sudo apt-get update
sudo apt-get upgrade