CH3SNAS, Mediatomb, Samsung LED TV: header issue

This was a hard one to figure out, but I managed to get my Conceptronic CH3SNAS up and running with Mediatomb (DLNA-server) and my Samsung UE32B7000 LED television. The problem was that my television didn’t want to recognize my media files and came up with a message like “unknown format”. To setup the NAS as a DLNA-server – be sure to disable the built-in DLNA server via the admin panel – first install funplug, a good tutorial I used can be found here. The latest funplug has Mediatomb already integrated, so no worries about that.

Now comes the important thing, find your Mediatomb config.xml file. In my case it was located at /ffp/var/mediatomb/config.xml. To edit the file, open it with vi:

In the config file search for the variable named protocolInfo and change it from no to yes:

<protocolInfo extend=”yes”/><!– For PS3 support change to “yes” –>

Enable the custom-http-headers section by removing the <!– and –> tags and enter the following lines, which are essential for the Samsung television to recognize your media files:

<add header=” Streaming”/>
<add header=” DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=0170000000000000000

Change the mapping in the extensions section:

<map from=”avi” to=”video/mpeg”/>

Somehow the Samsung LED tv will only play files if they are mapped as .MPEG files, even though they can be divx/mpeg/whatever. Not sure why/how, but it seems to be the solution.

Restart Mediatomb, click here for information about daemons. Be sure to clear your Mediatomb database and reindex all media files, this can be done via the Mediatomb web interface which is by default accessible via the IP of your NAS-device, port 49152. When you’ve finished all the steps, your Samsung LED television should play most of your media files flawlessly from your CH3SNAS via DLNA.