* Default to video/avi MIME type for generic DLNA 1.5 clients, since that seems to be the norm.
This commit is contained in:
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
#include <sqlite3.h>
|
#include <sqlite3.h>
|
||||||
|
|
||||||
#define MINIDLNA_VERSION "1.0.15"
|
#define MINIDLNA_VERSION "1.0.16-pre4"
|
||||||
|
|
||||||
#define CLIENT_CACHE_SLOTS 20
|
#define CLIENT_CACHE_SLOTS 20
|
||||||
#define USE_FORK 1
|
#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->req_client = ESamsungTV;
|
||||||
h->reqflags |= FLAG_DLNA;
|
h->reqflags |= FLAG_DLNA;
|
||||||
h->reqflags |= FLAG_MIME_AVI_DIVX;
|
//h->reqflags |= FLAG_MIME_AVI_DIVX;
|
||||||
}
|
}
|
||||||
else if(strstr(p, "bridgeCo-DMP/3"))
|
else if(strstr(p, "bridgeCo-DMP/3"))
|
||||||
{
|
{
|
||||||
h->req_client = EDenonReceiver;
|
h->req_client = EDenonReceiver;
|
||||||
h->reqflags |= FLAG_DLNA;
|
h->reqflags |= FLAG_DLNA;
|
||||||
}
|
}
|
||||||
else if(strcasestr(p, "DLNADOC/1.50"))
|
|
||||||
{
|
|
||||||
h->req_client = EStandardDLNA150;
|
|
||||||
h->reqflags |= FLAG_DLNA;
|
|
||||||
}
|
|
||||||
else if(strstr(p, "fbxupnpav/"))
|
else if(strstr(p, "fbxupnpav/"))
|
||||||
{
|
{
|
||||||
h->req_client = EFreeBox;
|
h->req_client = EFreeBox;
|
||||||
@ -272,6 +267,12 @@ intervening space) by either an integer or the keyword "infinite". */
|
|||||||
h->req_client = EPopcornHour;
|
h->req_client = EPopcornHour;
|
||||||
h->reqflags |= FLAG_MIME_FLAC_FLAC;
|
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)
|
else if(strncasecmp(line, "X-AV-Client-Info", 16)==0)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user