aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author7illusions <z@7illusions.com>2014-02-19 09:33:03 +0100
committer7illusions <z@7illusions.com>2014-02-19 09:33:03 +0100
commitfc2faafc103e0048401d7359b7c2f8705907eaa7 (patch)
tree1ba62e01e9c9b26ccecf6bb55f5fe784b083ec49
parent950623b95d75b292a3b7a6dea50e8fb1c3ea6581 (diff)
Added DLNA headers for .ts and .mpeg
Fixes transcoding for Samsung TV's
-rw-r--r--MediaBrowser.Api/Playback/Progressive/BaseProgressiveStreamingService.cs12
1 files changed, 8 insertions, 4 deletions
diff --git a/MediaBrowser.Api/Playback/Progressive/BaseProgressiveStreamingService.cs b/MediaBrowser.Api/Playback/Progressive/BaseProgressiveStreamingService.cs
index b8decb506..960424373 100644
--- a/MediaBrowser.Api/Playback/Progressive/BaseProgressiveStreamingService.cs
+++ b/MediaBrowser.Api/Playback/Progressive/BaseProgressiveStreamingService.cs
@@ -146,10 +146,14 @@ namespace MediaBrowser.Api.Playback.Progressive
{
contentFeatures = "DLNA.ORG_PN=AVC_MP4_MP_HD_720p_AAC";
}
- //else if (string.Equals(extension, ".mpeg", StringComparison.OrdinalIgnoreCase))
- //{
- // contentFeatures = "DLNA.ORG_PN=MPEG_PS_PAL";
- //}
+ else if (string.Equals(extension, ".mpeg", StringComparison.OrdinalIgnoreCase))
+ {
+ 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))
//{
// contentFeatures = "DLNA.ORG_PN=WMVHIGH_BASE";