{"id":118,"date":"2010-05-23T20:39:21","date_gmt":"2010-05-23T19:39:21","guid":{"rendered":"http:\/\/www.quantum-bits.org\/?p=116"},"modified":"2015-08-10T16:47:44","modified_gmt":"2015-08-10T15:47:44","slug":"digital-media-server-dnla-and-samsung","status":"publish","type":"post","link":"https:\/\/www.quantum-bits.org\/?p=118","title":{"rendered":"Digital Media Server, DLNA and Samsung"},"content":{"rendered":"<table width='100%'>\n<tr>\n<td>\nMy new LED TV and Blu-Ray player are <a href='http:\/\/en.wikipedia.org\/wiki\/Digital_Living_Network_Alliance' target='_new'>DLNA<\/a> compatible. Since the Blu-Ray player came with wifi connectivity out of the box, I tried to connect it with my GNU\/Linux Home Server. In the end, it worked well, but the process wasn&#8217;t as easy as I expected&#8230;<\/td>\n<td valign='top'><img src='http:\/\/quantum-bits.org\/wp-content\/uploads\/2010\/05\/multimedia.png' align='top'><\/td>\n<\/tr>\n<\/table>\n<p>&nbsp;<br \/>\nMy main devices are interconnected (more or less) like this:<br \/>\n&nbsp;<\/p>\n<div align='center'><img src='http:\/\/quantum-bits.org\/wp-content\/uploads\/2010\/05\/fredequip.png' \/><\/div>\n<p>&nbsp;<br \/>\nYep, as you can see, I&#8217;m naming most of my devices from <a href='http:\/\/en.wikipedia.org\/wiki\/Dan_Simmons' target='_new'>Dan Simmons<\/a>&#8216; <a href='http:\/\/en.wikipedia.org\/wiki\/Hyperion_%28Simmons_novel%29' target='_new'>Hyperion<\/a> characters.<\/p>\n<p>My GNU\/Linux (Ubuntu) Home Server was already running<\/p>\n<ul>\n<li style='list-style: square inside;  color:#aaaaaa;'><font color='#666666'>a <a href='http:\/\/en.wikipedia.org\/wiki\/Digital_Audio_Access_Protocol' target='_new'>DAAP<\/a> server (mt-daapd aka <a href='http:\/\/www.fireflymediaserver.org\/' target='_new'>Firefly<\/a>), mostly for my Macintoshes<\/font><\/li>\n<li style='list-style: square inside;  color:#aaaaaa;'><font color='#666666'>a UPNP Server (<a href='http:\/\/www.gnu.org\/software\/gmediaserver\/' target='_new'>gmediaserver<\/a>), for my old <a href='http:\/\/www.terratec.net\/en\/products\/noxon.html' target='_new'>Noxon II<\/a> media player (listening to jazz music in a hot bath while sipping an old scotch is what I call a soothing moment).<\/font><\/li>\n<\/ul>\n<p>&nbsp;<br \/>\nSounds like it should have been a piece of cake. But &#8230; not so fast, buddy.<br \/>\n&nbsp;<br \/>\nFirst I had to recover a huge amount of data (around 1Tb) from a disk crash, which took &#8230; quite some time.<\/p>\n<p>Then I realized that, for some reason, the UPNP server wasn&#8217;t even detected from that damned Blu-Ray player \ud83d\ude41<\/p>\n<p>After reading a few comments posted on dedicated forums, I ended up dropping gmediaserver and installing <a href='http:\/\/mediatomb.cc\/' target='_new'>mediatomb<\/a>. It was showing up nicely on my desktop:<\/p>\n<div align='center'><img src='http:\/\/quantum-bits.org\/wp-content\/uploads\/2010\/05\/upnp.png' \/><\/div>\n<p>&nbsp;<br \/>\nand on my <a href='http:\/\/quantum-bits.org\/wp-content\/uploads\/2010\/05\/noxon.png' rel='facebox'>Noxon box<\/a>. Cool ! The DAAP Server was still running :<\/p>\n<div align='center'><img src='http:\/\/quantum-bits.org\/wp-content\/uploads\/2010\/05\/banshee.png' \/><\/div>\n<p>&nbsp;<br \/>\n&#8230; and the files were showing on my TV screen. Great !<\/p>\n<p>But it wouldn&#8217;t recognize any of the formats delivered by the server (musics, videos, pictures, &#8230;) \ud83d\ude41<\/p>\n<p>After of few more readings, I tweaked mediatomb&#8217;s configuration file like this:<\/p>\n<pre lang=\"XML\" line=\"1\">\r\n ...\r\n <protocolInfo extend=\"yes\"\/>\r\n\r\n <custom-http-headers>\r\n  <add header=\"transferMode.dlna.org: Streaming\"\/>\r\n  <add header=\"contentFeatures.dlna.org: DLNA.ORG_OP=01;DLNA.ORG_CI=0;\r\nDLNA.ORG_FLAGS=01500000000000000000000000000000\"\/>\r\n <\/custom-http-headers>\r\n...\r\n<\/pre>\n<p>And it finally worked !<\/p>\n<div align='center'><img src='http:\/\/quantum-bits.org\/wp-content\/uploads\/2010\/05\/samsung-dlna.png' \/><\/div>\n<p>&nbsp;<br \/>\nWell &#8230; up to certain a point: it doesn&#8217;t recognize metadata from mp3&#8217;s (some tags, including the artist, are not displayed on screen, even though I can browse the musics by artist, title, year, &#8230;) and pictures (orientation).<br \/>\n&nbsp;<br \/>\nI anybody knows a way to get around this, please, leave a comment.<\/p>\n<p>And here are a few tweaks for mediatomb&#8217;s Web UI (clearer look, Tango icons):<br \/>\n<center><img  align='absmiddle' src='http:\/\/quantum-bits.org\/v2\/wordpress\/wp-content\/uploads\/2007\/04\/package-x-generic.png' alt='archive' \/>&nbsp;<a style='font-size:8pt'  href='http:\/\/quantum-bits.org\/wp-content\/uploads\/2010\/05\/mediatomb-tango.tar.gz' title='mediatomb-tango.tar.gz'>mediatomb-tango.tar.gz<\/a><\/center><br \/>\nDrop the contents inside the mediatomb&#8217;s web folder or re-configure config.xml to use this theme.<br \/>\n<br \/>\n&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>My new LED TV and Blu-Ray player are DLNA compatible. Since the Blu-Ray player came with wifi connectivity out of the box, I tried to connect it with my GNU\/Linux &#8230;<\/p>\n","protected":false},"author":1,"featured_media":878,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0},"categories":[14,17,5],"tags":[],"_links":{"self":[{"href":"https:\/\/www.quantum-bits.org\/index.php?rest_route=\/wp\/v2\/posts\/118"}],"collection":[{"href":"https:\/\/www.quantum-bits.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.quantum-bits.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.quantum-bits.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.quantum-bits.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=118"}],"version-history":[{"count":0,"href":"https:\/\/www.quantum-bits.org\/index.php?rest_route=\/wp\/v2\/posts\/118\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.quantum-bits.org\/index.php?rest_route=\/wp\/v2\/media\/878"}],"wp:attachment":[{"href":"https:\/\/www.quantum-bits.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=118"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.quantum-bits.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=118"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.quantum-bits.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=118"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}