Add a new Samsung User-Agent for client type detection.

This commit is contained in:
Justin Maggard 2010-07-08 00:29:37 +00:00
parent 4321892e15
commit da46b385cb

View File

@ -247,7 +247,8 @@ intervening space) by either an integer or the keyword "infinite". */
h->reqflags |= FLAG_DLNA; h->reqflags |= FLAG_DLNA;
h->reqflags |= FLAG_MIME_AVI_DIVX; h->reqflags |= FLAG_MIME_AVI_DIVX;
} }
else if(strncmp(p, "SamsungWiselinkPro", 18)==0) else if(strncmp(p, "SamsungWiselinkPro", 18)==0 ||
strncmp(p, "SEC_HHP_TV", 10)==0)
{ {
h->req_client = ESamsungTV; h->req_client = ESamsungTV;
h->reqflags |= FLAG_DLNA; h->reqflags |= FLAG_DLNA;