Files
jellyfin-jellyfin-1/MediaBrowser.Controller/Dlna/DirectPlayProfile.cs

32 lines
736 B
C#
Raw Normal View History

2014-03-22 15:37:15 -04:00
using System.Collections.Generic;
2014-03-15 00:14:07 -04:00
2014-03-13 15:08:02 -04:00
namespace MediaBrowser.Controller.Dlna
{
public class DirectPlayProfile
{
2014-03-22 15:37:15 -04:00
public string[] Containers { get; set; }
public string[] AudioCodecs { get; set; }
public string[] VideoCodecs { get; set; }
2014-03-15 00:14:07 -04:00
2014-03-13 15:08:02 -04:00
public DlnaProfileType Type { get; set; }
2014-03-15 00:14:07 -04:00
public List<ProfileCondition> Conditions { get; set; }
2014-03-13 15:08:02 -04:00
public DirectPlayProfile()
{
2014-03-15 00:14:07 -04:00
Conditions = new List<ProfileCondition>();
2014-03-22 15:37:15 -04:00
AudioCodecs = new string[] { };
VideoCodecs = new string[] { };
Containers = new string[] { };
2014-03-13 15:08:02 -04:00
}
}
public enum DlnaProfileType
{
Audio = 0,
Video = 1,
Photo = 2
2014-03-13 15:08:02 -04:00
}
}