updated dlna profile format

This commit is contained in:
Luke Pulverenti
2014-04-01 00:16:25 -04:00
parent 49b121e87f
commit 4afe2c3f73
37 changed files with 217 additions and 387 deletions

View File

@@ -30,13 +30,8 @@ namespace MediaBrowser.Controller.Dlna
[XmlAttribute("transcodeSeekInfo")]
public TranscodeSeekInfo TranscodeSeekInfo { get; set; }
public TranscodingSetting[] Settings { get; set; }
public TranscodingProfile()
{
Settings = new TranscodingSetting[] { };
}
[XmlAttribute("videoProfile")]
public string VideoProfile { get; set; }
public List<string> GetAudioCodecs()
{
@@ -44,20 +39,6 @@ namespace MediaBrowser.Controller.Dlna
}
}
public class TranscodingSetting
{
[XmlAttribute("name")]
public TranscodingSettingType Name { get; set; }
[XmlAttribute("value")]
public string Value { get; set; }
}
public enum TranscodingSettingType
{
VideoProfile = 0
}
public enum TranscodeSeekInfo
{
Auto = 0,