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:
media_dir=V,/mnt/video/dessins_animes friendly_name=Dessins animes root_container=B inotify=yes
It seems that inotify does not work with NFS shares, so when I add new animes I have to run:
$ sudo minidlna -R
$ sudo /etc/init.d/minidlna restart $ sudo /etc/init.d/minidlna force-reload
minidlna reindex all files at each restart, so you have to wait a bit before trying to access the videos from the freebox.