Index: libs/libmythupnp/upnpcds.h =================================================================== --- libs/libmythupnp/upnpcds.h (revision 27420) +++ libs/libmythupnp/upnpcds.h (working copy) @@ -62,6 +62,7 @@ CDS_ClientXBMC = 2, // XBMC CDS_ClientMP101 = 3, // Netgear MP101 CDS_ClientXBox = 4, // XBox 360 + CDS_ClientSonyDB = 5, // Sony Blu-ray players } UPnpCDSClient; typedef struct Index: libs/libmythupnp/upnpcds.cpp =================================================================== --- libs/libmythupnp/upnpcds.cpp (revision 27420) +++ libs/libmythupnp/upnpcds.cpp (working copy) @@ -197,6 +197,8 @@ { CDS_ClientXBMC, "Platinum" }, // XBox 360 { CDS_ClientXBox, "Xbox" }, + // Sony Blu-ray players + { CDS_ClientSonyDB, "DLNADOC" }, }; static uint clientExceptionCount = sizeof(clientExceptions) / sizeof(clientExceptions[0]); Index: programs/mythbackend/upnpcdstv.cpp =================================================================== --- programs/mythbackend/upnpcdstv.cpp (revision 27420) +++ programs/mythbackend/upnpcdstv.cpp (working copy) @@ -389,6 +389,14 @@ sMimeType = "video/x-ms-dvr"; } + // If we are dealing with a Sony Blu-ray player then we fake the + // MIME type to force the video to appear + if ( pRequest->m_eClient == CDS_ClientSonyDB ) + { + sMimeType = "video/avi"; + } + + // DLNA string below is temp fix for ps3 seeking. QString sProtocol = QString( "http-get:*:%1:DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01500000000000000000000000000000" ).arg( sMimeType ); QString sURI = QString( "%1GetRecording%2").arg( sURIBase ) Index: programs/mythbackend/upnpcdsvideo.cpp =================================================================== --- programs/mythbackend/upnpcdsvideo.cpp (revision 27420) +++ programs/mythbackend/upnpcdsvideo.cpp (working copy) @@ -487,6 +487,14 @@ // ---------------------------------------------------------------------- QString sMimeType = HTTPRequest::GetMimeType( fInfo.suffix() ); + + // If we are dealing with a Sony Blu-ray player then we fake the + // MIME type to force the video to appear + if ( pRequest->m_eClient == CDS_ClientSonyDB ) + { + sMimeType = "video/avi"; + } + QString sProtocol = QString( "http-get:*:%1:DLNA.ORG_OP=01;DLNA.ORG_CI=0;" "DLNA.ORG_FLAGS=0150000000000000000000000000" "0000" ).arg( sMimeType );