update panasonic profile

This commit is contained in:
Luke Pulverenti
2014-03-23 02:07:43 -04:00
parent f3e992b82b
commit e0c60dc29a
5 changed files with 158 additions and 116 deletions

View File

@@ -57,6 +57,7 @@ namespace MediaBrowser.Controller.Dlna
Width,
Height,
Has64BitOffsets,
VideoBitDepth,
VideoBitrate,
VideoFramerate,
VideoLevel,

View File

@@ -5,7 +5,7 @@ namespace MediaBrowser.Controller.Dlna
{
public class DirectPlayProfile
{
public string[] Containers { get; set; }
public string Container { get; set; }
public string AudioCodec { get; set; }
public string VideoCodec { get; set; }
@@ -16,8 +16,11 @@ namespace MediaBrowser.Controller.Dlna
public DirectPlayProfile()
{
Conditions = new List<ProfileCondition>();
}
Containers = new string[] { };
public List<string> GetContainers()
{
return (Container ?? string.Empty).Split(',').Where(i => !string.IsNullOrWhiteSpace(i)).ToList();
}
public List<string> GetAudioCodecs()