diff --git a/upnpglobalvars.h b/upnpglobalvars.h index c626e31..4452241 100644 --- a/upnpglobalvars.h +++ b/upnpglobalvars.h @@ -21,7 +21,7 @@ #include -#define MINIDLNA_VERSION "1.0.15" +#define MINIDLNA_VERSION "1.0.16-pre4" #define CLIENT_CACHE_SLOTS 20 #define USE_FORK 1 diff --git a/upnphttp.c b/upnphttp.c index d7ded99..560cf97 100644 --- a/upnphttp.c +++ b/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) {