From e529b5dd6bb699275ba090deede4bcd9a7eee604 Mon Sep 17 00:00:00 2001 From: Justin Maggard Date: Thu, 11 Nov 2010 22:32:54 +0000 Subject: [PATCH] * Try to trick Sony Blu-ray home theater systems into playing MKVs. --- upnphttp.c | 10 ++++------ 1 file 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;