a clone from http://sourceforge.net/p/minidlna/git/ci/master/tree/