Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/azatoth/minidlna.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Maggard <jmaggard@users.sourceforge.net>2010-11-12 01:32:54 +0300
committerJustin Maggard <jmaggard@users.sourceforge.net>2010-11-12 01:32:54 +0300
commitbabd761cdfed1d67006e8846dbd01e84b375278e (patch)
tree25fe8c9f72df79f5103825d77bb1970cf3dae0c8
parent3fbd2ddcb799611de2a501be085d43f87123be1e (diff)
* Try to trick Sony Blu-ray home theater systems into playing MKVs.
-rw-r--r--upnphttp.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/upnphttp.c b/upnphttp.c
index b038930..bc19452 100644
--- a/upnphttp.c
+++ b/upnphttp.c
@@ -298,14 +298,12 @@ intervening space) by either an integer or the keyword "infinite". */
h->reqflags |= FLAG_MIME_AVI_DIVX;
}
/* X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="Blu-ray Disc Player"; mv="2.0" */
- else if(strstrc(p, "Blu-ray Disc Player", '\r'))
- {
- h->req_client = ESonyBDP;
- h->reqflags |= FLAG_DLNA;
- }
+ /* X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="BLU-RAY HOME THEATRE SYSTEM"; mv="2.0"; */
/* Sony SMP-100 needs the same treatment as their BDP-S370 */
/* X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="Media Player"; mv="2.0" */
- else if(strstrc(p, "Media Player", '\r'))
+ else if(strstrc(p, "Blu-ray Disc Player", '\r') ||
+ strstrc(p, "BLU-RAY HOME THEATRE SYSTEM", '\r') ||
+ strstrc(p, "Media Player", '\r'))
{
h->req_client = ESonyBDP;
h->reqflags |= FLAG_DLNA;