After the issue found and solved by swiergot (http://sourceforge.net/tracker/index.php?func=detail&aid=3532724&group_id=129766&atid=715782), here is another one : Samsung Smart TV expect mkv files as Content-Type = x-mkv whereas it should be x-matroska.
Therefor 2 solutions :
- change the mapping in config.xml. Samsung TV will play mkv but other players will no more do !
- apply the attached patch, which will make Mediatomb show mkv files as "x-mkv" or "x-matroska" depending on the renderer
samsung-smart-tv mkv patch
Patch has been made against debian squeeze package (version mediatomb_0.12.0~svn2018-6.1).
Binary packages for amd64 squeeze are available here : http://www59.zippyshare.com/v/90148378/file.html
Compilation howto for debian squeeze :
1) "apt-get source mediatomb"
2) enter the extracted dir and copy the patch to debian/patches
3) add the patch filename at the end of the file debian/patches/series
4) increase version of the package with "dch -i"
5) compile with "dpkg-buildpackage -rfakeroot"
Sorry, but it seems to be a too invasive hack in libupnp, I'd rather like to get things like this in cleanly with a possibility to configure renderer dependencies.
Ideally libupnp should provide the information about the renderer and let MT decide how to react/what to render/what mimetypes to set.