* Add flag to force downscaled thumbnails rather than using embedded ones.

* Add DirecTV client detection.
This commit is contained in:
Justin Maggard
2012-05-31 18:37:22 +00:00
parent bca5a24a57
commit ba162fc082
4 changed files with 28 additions and 22 deletions

View File

@ -347,6 +347,7 @@ ParseHttpHeaders(struct upnphttp * h)
else if(strstrc(p, "fbxupnpav/", '\r'))
{
h->req_client = EFreeBox;
h->reqflags |= FLAG_RESIZE_THUMBS;
}
else if(strncmp(p, "SMP8634", 7)==0)
{
@ -367,6 +368,12 @@ ParseHttpHeaders(struct upnphttp * h)
{
h->req_client = ENetgearEVA2000;
h->reqflags |= FLAG_MS_PFS;
h->reqflags |= FLAG_RESIZE_THUMBS;
}
else if(strstrc(p, "DIRECTV ", '\r'))
{
h->req_client = EDirecTV;
h->reqflags |= FLAG_RESIZE_THUMBS;
}
else if(strstrc(p, "UPnP/1.0 DLNADOC/1.50 Intel_SDK_for_UPnP_devices/1.2", '\r'))
{