I just purchased a Samsung LN46B650 TV and decide to play with the DLNA capiblities of the TV. The TV come with a CD containing a Windows DLNA server but because I am a geek, I dont have a Windows machine in my house. I though that since DLNA is a standard that it would be easy to use any DLNA server to host content for my TV. Well I was partly right. After reading several forum post I have successfully got everything working on my Fedora 12 netbook. I will most likely be doing this on a Ubuntu machine at some point at which time I will update this post.
Assuming that you have a working Fedora 12 system that is connected to the same network as your TV make sure that you have port 50500 open or just disable your firewall (your choice). You can manage this by going to System > Administration > Firewall
Open a terminal and do a yum install mediatomb.
Login as root and using your favorite text editor, open the /etc/mediatomb.conf file and modify the following parameter:
Enter the correct network interface for mediatomb to communicate to. In my case I am using the wireless connection of wlan0
## Network interface on which the server will run, you need to edit this! MT_INTERFACE="wlan0"
There are other options that you can configure in this file but the network interface is the only on the I had to modify.
As root open a terminal and run mediatomb. This will start the software and configure the sqlite database and setup the default config.xml file that we are going to need to modify. Once the software is running go ahead and hit ctrl-c to exit from the software because we need to modify that config.xml file
With out this step your TV will be able to browse the content but not be able to do anything with it.
Also as root, edit the file /root/.mediatomb/config.xml
Look for the section:
<!– <custom-http-headers> <add header=”X-User-Agent: redsonic” /> </custom-http-headers> <manufacturerURL>redsonic.com</manufacturerURL> <modelNumber>105</modelNumber> –>
and change to to this
<custom-http-headers> <add header=”X-User-Agent: redsonic”/> <add header=”transferMode.dlna.org: Streaming”/> <add header=”contentFeatures.dlna.org: DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01700000000000000000000000000000?/> </custom-http-headers> <manufacturerURL>redsonic.com</manufacturerURL> <modelNumber>105</modelNumber>
Now save the file.
In the terminal windows as root type mediatomb to start the application.
Now you should be able to connect to the Mediatomb webpage and start adding content to share via DLNA. Typically this is on port 49152 or 49153. You will be able to get this infomation from the lastline of output given when you run mediatomb from the command line.
To play videos you may have to re-tag the MIME information to video/mpeg. You can do this in the web interface. Once you have added a video to the database click on the notepad/edit button and change the mimetype to video/mpeg. There is also an option in the config.xml file where you may be able to do this globally for all media. I have not tried this yet and will update this post once I have.
Instead of having to start mediatomb manually each time you reboot there is also a daemon that you can start via /etc/init.d/mediatomb. If you plan on using this in daemon mode you will need to configure it by doing this:
Start the daemon so that it will install the default config files and sqlite database
root# /etc/init.d/mediatomb start
Then go to /etc/mediatomb/config.xml and make the changes that you made above. Once you have made these changes restart the mediatomb daemon
root# /etc/init.d/mediatomb restart
Now you can go to the web interface and start adding content.
Please let me know if you have any other experiences connecting to your Samsung TV with mediatomb or any other DLNA server. Also please leave a comment if you have found this guide useful or if you see any correction that I need to make.
Also to give credit where it is due here is where I got some of the information above Cnet Forum Post