Menu

#80 samsung ln52a750 requires dlna.org HTTP headers

open
nobody
None
5
2009-04-29
2009-04-29
Matt Domsch
No

As noted here:
http://forums.tversity.com/viewtopic.php?f=2&t=10992&p=68329#p68329

the Samsung LN52A750 (and likely higher models) require two dlna.org HTTP headers. WIthout these, I cannot play MP3 files on this device. With these, I can.

--- src/lib/HTTP/HTTPMessage.cpp (revision 634)
+++ src/lib/HTTP/HTTPMessage.cpp (working copy)
@@ -291,7 +291,9 @@
sResult << "DATE: " << szTime << "\r\n";

/* dlna */
- sResult << "contentFeatures.dlna.org: \r\n";
+// sResult << "contentFeatures.dlna.org: \r\n";
+ sResult << "contentFeatures.dlna.org: DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01700000000000000000000000000000\r\n";
+ sResult << "transferMode.dlna.org: Streaming\r\n";
sResult << "EXT:\r\n";
}

The above is a nasty hack. the right thing to do would be to use the correct DLNA.ORG_FLAGS fields (which are present in the XML, so are known).

Discussion

  • SlagDog

    SlagDog - 2011-02-13

    Works for me on current svn-680 checkout with a recent "1016" firmware on my Samsung "<friendlyName>TV-32C630</friendlyName>"

     
  • sbollapa

    sbollapa - 2011-04-24

    Can you pls let me know how to add this custom headers without recompiling the fuppes since I had all the settings configured properly.

     

Log in to post a comment.