* Add flag to force downscaled thumbnails rather than using embedded ones.
* Add DirecTV client detection.
This commit is contained in:
@ -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'))
|
||||
{
|
||||
|
Reference in New Issue
Block a user