* Send a custom root description to enable the subtitle menu on some Samsung TV's.

This commit is contained in:
Justin Maggard
2011-08-31 18:21:30 +00:00
parent 757eacc236
commit 1e23a1e8e9
6 changed files with 41 additions and 5 deletions

View File

@ -304,10 +304,12 @@ intervening space) by either an integer or the keyword "infinite". */
}
else if(strstrc(p, "SEC_HHP_", '\r'))
{
h->req_client = ESamsungTV;
h->req_client = ESamsungSeriesC;
h->reqflags |= FLAG_SAMSUNG;
h->reqflags |= FLAG_DLNA;
h->reqflags |= FLAG_NO_RESIZE;
if(strstrc(p, "SEC_HHP_TV", '\r'))
h->reqflags |= FLAG_SAMSUNG_TV;
}
else if(strncmp(p, "SamsungWiselinkPro", 18)==0)
{
@ -844,6 +846,10 @@ ProcessHttpQuery_upnphttp(struct upnphttp * h)
sendXMLdesc(h, genRootDesc);
friendly_name[i] = '\0';
}
else if( h->reqflags & FLAG_SAMSUNG_TV )
{
sendXMLdesc(h, genRootDescSamsung);
}
else
{
sendXMLdesc(h, genRootDesc);