* Default to video/avi MIME type for generic DLNA 1.5 clients, since that seems to be the norm.
This commit is contained in:
13
upnphttp.c
13
upnphttp.c
@ -251,18 +251,13 @@ intervening space) by either an integer or the keyword "infinite". */
|
||||
{
|
||||
h->req_client = ESamsungTV;
|
||||
h->reqflags |= FLAG_DLNA;
|
||||
h->reqflags |= FLAG_MIME_AVI_DIVX;
|
||||
//h->reqflags |= FLAG_MIME_AVI_DIVX;
|
||||
}
|
||||
else if(strstr(p, "bridgeCo-DMP/3"))
|
||||
{
|
||||
h->req_client = EDenonReceiver;
|
||||
h->reqflags |= FLAG_DLNA;
|
||||
}
|
||||
else if(strcasestr(p, "DLNADOC/1.50"))
|
||||
{
|
||||
h->req_client = EStandardDLNA150;
|
||||
h->reqflags |= FLAG_DLNA;
|
||||
}
|
||||
else if(strstr(p, "fbxupnpav/"))
|
||||
{
|
||||
h->req_client = EFreeBox;
|
||||
@ -272,6 +267,12 @@ intervening space) by either an integer or the keyword "infinite". */
|
||||
h->req_client = EPopcornHour;
|
||||
h->reqflags |= FLAG_MIME_FLAC_FLAC;
|
||||
}
|
||||
else if(strcasestr(p, "DLNADOC/1.50"))
|
||||
{
|
||||
h->req_client = EStandardDLNA150;
|
||||
h->reqflags |= FLAG_DLNA;
|
||||
h->reqflags |= FLAG_MIME_AVI_AVI;
|
||||
}
|
||||
}
|
||||
else if(strncasecmp(line, "X-AV-Client-Info", 16)==0)
|
||||
{
|
||||
|
Reference in New Issue
Block a user