* Default to video/avi MIME type for generic DLNA 1.5 clients, since that seems to be the norm.
This commit is contained in:
parent
6d288868ca
commit
bf298f75fb
@ -21,7 +21,7 @@
|
||||
|
||||
#include <sqlite3.h>
|
||||
|
||||
#define MINIDLNA_VERSION "1.0.15"
|
||||
#define MINIDLNA_VERSION "1.0.16-pre4"
|
||||
|
||||
#define CLIENT_CACHE_SLOTS 20
|
||||
#define USE_FORK 1
|
||||
|
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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user