mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-24 22:17:25 -04:00
Merge pull request #5969 from crobibero/required-revert
Remove Required attributes
(cherry picked from commit fe0fce26e4
)
Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
parent
3566d21ad1
commit
40147c9bb7
3 changed files with 0 additions and 8 deletions
|
@ -9,13 +9,11 @@ namespace MediaBrowser.Model.Dlna
|
||||||
{
|
{
|
||||||
public class ContainerProfile
|
public class ContainerProfile
|
||||||
{
|
{
|
||||||
[Required]
|
|
||||||
[XmlAttribute("type")]
|
[XmlAttribute("type")]
|
||||||
public DlnaProfileType Type { get; set; }
|
public DlnaProfileType Type { get; set; }
|
||||||
|
|
||||||
public ProfileCondition[]? Conditions { get; set; } = Array.Empty<ProfileCondition>();
|
public ProfileCondition[]? Conditions { get; set; } = Array.Empty<ProfileCondition>();
|
||||||
|
|
||||||
[Required]
|
|
||||||
[XmlAttribute("container")]
|
[XmlAttribute("container")]
|
||||||
public string Container { get; set; } = string.Empty;
|
public string Container { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,6 @@ namespace MediaBrowser.Model.Dlna
|
||||||
[XmlAttribute("videoCodec")]
|
[XmlAttribute("videoCodec")]
|
||||||
public string? VideoCodec { get; set; }
|
public string? VideoCodec { get; set; }
|
||||||
|
|
||||||
[Required]
|
|
||||||
[XmlAttribute("type")]
|
[XmlAttribute("type")]
|
||||||
public DlnaProfileType Type { get; set; }
|
public DlnaProfileType Type { get; set; }
|
||||||
|
|
||||||
|
|
|
@ -8,23 +8,18 @@ namespace MediaBrowser.Model.Dlna
|
||||||
{
|
{
|
||||||
public class TranscodingProfile
|
public class TranscodingProfile
|
||||||
{
|
{
|
||||||
[Required]
|
|
||||||
[XmlAttribute("container")]
|
[XmlAttribute("container")]
|
||||||
public string Container { get; set; } = string.Empty;
|
public string Container { get; set; } = string.Empty;
|
||||||
|
|
||||||
[Required]
|
|
||||||
[XmlAttribute("type")]
|
[XmlAttribute("type")]
|
||||||
public DlnaProfileType Type { get; set; }
|
public DlnaProfileType Type { get; set; }
|
||||||
|
|
||||||
[Required]
|
|
||||||
[XmlAttribute("videoCodec")]
|
[XmlAttribute("videoCodec")]
|
||||||
public string VideoCodec { get; set; } = string.Empty;
|
public string VideoCodec { get; set; } = string.Empty;
|
||||||
|
|
||||||
[Required]
|
|
||||||
[XmlAttribute("audioCodec")]
|
[XmlAttribute("audioCodec")]
|
||||||
public string AudioCodec { get; set; } = string.Empty;
|
public string AudioCodec { get; set; } = string.Empty;
|
||||||
|
|
||||||
[Required]
|
|
||||||
[XmlAttribute("protocol")]
|
[XmlAttribute("protocol")]
|
||||||
public string Protocol { get; set; } = string.Empty;
|
public string Protocol { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue