# MiniDLNA On Your NAS

Streaming media is something I do often. I don’t need much, but it does need to be stable and just
work 😄!

# MiniDLNA

In 2010 I wrote a blog about the mediatomb DLNA server and that I would not be working with it anymore, because my NAS (Synology) has the functionality build in.

Here are some updates as I have had some trouble with it all.

It appears that the MediaServer software for the Synology NAS is not as stable as I had hoped. During a movie it would often crash and had to restart and re notify before being found by the TV again. So I disabled that and moved to Serviio which is very feature complete but also many meant for gui users.

I’ve build multiple docker images for serviio and it worked fine for some time, but after the update to v2.x I again had encountered lots of instability issues, crashes and the like.

If you are like me and just want to stream a movie or series over your home network to your TV without having to connect hard disks and the like, most DLNA software is just doing to much. I wanted something simple but effective.

After some searching I found MiniDLNA. It seemed dead but I see some updates now and again happening. It does not pretend to do more than just DLNA. Just what I was looking for 😄.

So lets see of a docker image would work. This is what I came up with:

The concept is really simple and the 0.1 version was only a few lines but also not configurable.
Here is the configuration script I made:

This script will extend a basic config file with parameters retrieved from environment variables

• minidlna.conf

The script will search for all environment variables starting with MINIDLNA_ and act by either creating extra scan-able media_dir entries or other configuration entries. Some entries have been given a default, but can be overridden.

I’ve been testing it f a couple of weeks now and have not had any crashes yet. The interface is very basic, but suits my needs perfectly. Simple but very effective.

The whole docker image is 68Mb and that is also much better than my previous 300Mb for Serviio. It is completely open source.

Hopefully it will keep on performing as it does.
In that case I might be a happy customer for a long time…

Example (very complete) run command:

Cheerz,
Ivo.