minidlna on Raspberry Pi

21 Sep 2013



There are some animes on my NAS for my kids. They mainly watch them on TV thanks to the freebox that acts as a DLNA client talking to the Media Server intalled on the NAS. But my NAS is a but overloaded, so I decided to replace its Media Server with a light DLNA server on a raspberry pi.


$ sudo apt-get install minidlna


$ sudo emacs /etc/minidlna.conf

Set those lines:

  friendly_name=Dessins animes

Reload database

It seems that inotify does not work with NFS shares, so when I add new animes I have to run:

$ sudo minidlna -R

Restart daemon

$ sudo /etc/init.d/minidlna restart
$ sudo /etc/init.d/minidlna force-reload

Note that minidlna reindex all files at each restart, so you have to wait a bit before trying to access the videos from the freebox.

External References