Added DLNA headers for .ts and .mpeg

Fixes transcoding for Samsung TV's
This commit is contained in:
7illusions 2014-02-19 09:33:03 +01:00
parent 950623b95d
commit fc2faafc10

View File

@ -146,10 +146,14 @@ namespace MediaBrowser.Api.Playback.Progressive
{ {
contentFeatures = "DLNA.ORG_PN=AVC_MP4_MP_HD_720p_AAC"; contentFeatures = "DLNA.ORG_PN=AVC_MP4_MP_HD_720p_AAC";
} }
//else if (string.Equals(extension, ".mpeg", StringComparison.OrdinalIgnoreCase)) else if (string.Equals(extension, ".mpeg", StringComparison.OrdinalIgnoreCase))
//{ {
// contentFeatures = "DLNA.ORG_PN=MPEG_PS_PAL"; contentFeatures = "DLNA.ORG_PN=MPEG_PS_PAL";
//} }
else if (string.Equals(extension, ".ts", StringComparison.OrdinalIgnoreCase))
{
contentFeatures = "DLNA.ORG_PN=MPEG_PS_PAL";
}
//else if (string.Equals(extension, ".wmv", StringComparison.OrdinalIgnoreCase)) //else if (string.Equals(extension, ".wmv", StringComparison.OrdinalIgnoreCase))
//{ //{
// contentFeatures = "DLNA.ORG_PN=WMVHIGH_BASE"; // contentFeatures = "DLNA.ORG_PN=WMVHIGH_BASE";