Merge branch 'master' of https://github.com/MediaBrowser/MediaBrowser
This commit is contained in:
commit
64eb8c82a3
|
@ -136,10 +136,14 @@ namespace MediaBrowser.Api.Playback.Progressive
|
||||||
{
|
{
|
||||||
contentFeatures = "DLNA.ORG_PN=AVI";
|
contentFeatures = "DLNA.ORG_PN=AVI";
|
||||||
}
|
}
|
||||||
//else if (string.Equals(extension, ".mp4", StringComparison.OrdinalIgnoreCase))
|
else if (string.Equals(extension, ".mkv", StringComparison.OrdinalIgnoreCase))
|
||||||
//{
|
{
|
||||||
// contentFeatures = "DLNA.ORG_PN=MPEG4_P2_SP_AAC";
|
contentFeatures = "DLNA.ORG_PN=MATROSKA";
|
||||||
//}
|
}
|
||||||
|
else if (string.Equals(extension, ".mp4", StringComparison.OrdinalIgnoreCase))
|
||||||
|
{
|
||||||
|
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";
|
||||||
|
@ -153,11 +157,7 @@ namespace MediaBrowser.Api.Playback.Progressive
|
||||||
// // ??
|
// // ??
|
||||||
// contentFeatures = "DLNA.ORG_PN=WMVHIGH_BASE";
|
// contentFeatures = "DLNA.ORG_PN=WMVHIGH_BASE";
|
||||||
//}
|
//}
|
||||||
//else if (string.Equals(extension, ".mkv", StringComparison.OrdinalIgnoreCase))
|
|
||||||
//{
|
|
||||||
// // ??
|
|
||||||
// contentFeatures = "";
|
|
||||||
//}
|
|
||||||
|
|
||||||
if (!string.IsNullOrEmpty(contentFeatures))
|
if (!string.IsNullOrEmpty(contentFeatures))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user