* Default to video/avi MIME type for generic DLNA 1.5 clients, since that seems to be the norm.

This commit is contained in:
Justin Maggard
2009-09-14 19:42:51 +00:00
parent 6d288868ca
commit bf298f75fb
2 changed files with 8 additions and 7 deletions

View File

@ -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)
{