mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-27 12:34:56 +01:00
updated dlna profile format
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user