From 08a5c71b908f18fa1feb020ed2a1cc227bdc5491 Mon Sep 17 00:00:00 2001 From: Shadowghost Date: Sun, 4 Dec 2022 12:31:05 +0100 Subject: [PATCH] Add xmldoc for MediaOptions --- MediaBrowser.Model/Dlna/MediaOptions.cs | 35 ++++++++++++++++++++++--- 1 file changed, 31 insertions(+), 4 deletions(-) diff --git a/MediaBrowser.Model/Dlna/MediaOptions.cs b/MediaBrowser.Model/Dlna/MediaOptions.cs index 939caf813e..71ee1db05d 100644 --- a/MediaBrowser.Model/Dlna/MediaOptions.cs +++ b/MediaBrowser.Model/Dlna/MediaOptions.cs @@ -1,5 +1,4 @@ #nullable disable -#pragma warning disable CS1591 using System; using MediaBrowser.Model.Dto; @@ -11,6 +10,9 @@ namespace MediaBrowser.Model.Dlna /// public class MediaOptions { + /// + /// Creates a new instance of the class. + /// public MediaOptions() { Context = EncodingContext.Streaming; @@ -19,28 +21,50 @@ namespace MediaBrowser.Model.Dlna EnableDirectStream = true; } + /// + /// Gets or sets a boolean to allow/forbid direct playback. + /// public bool EnableDirectPlay { get; set; } + /// + /// Gets or sets a boolean to allow/forbid direct streaming. + /// public bool EnableDirectStream { get; set; } + /// + /// Gets or sets a boolean to force direct playback. + /// public bool ForceDirectPlay { get; set; } + /// + /// Gets or sets a boolean to force direct streaming. + /// public bool ForceDirectStream { get; set; } /// - /// Gets or sets an override for allowing stream copy. + /// Gets or sets a boolean to allow/forbid audio stream copy. /// public bool AllowAudioStreamCopy { get; set; } /// - /// Gets or sets an override for allowing stream copy. + /// Gets or sets a boolean to allow/forbid video stream copy. /// public bool AllowVideoStreamCopy { get; set; } + /// + /// Gets or sets the item id. + /// public Guid ItemId { get; set; } + /// + /// Gets or sets the media sources. + /// public MediaSourceInfo[] MediaSources { get; set; } + /// + /// Gets or sets the device profile. + /// + public DeviceProfile Profile { get; set; } /// @@ -48,6 +72,9 @@ namespace MediaBrowser.Model.Dlna /// public string MediaSourceId { get; set; } + /// + /// Gets or sets the device id. + /// public string DeviceId { get; set; } /// @@ -57,7 +84,7 @@ namespace MediaBrowser.Model.Dlna public int? MaxAudioChannels { get; set; } /// - /// Gets or sets the application's configured quality setting. + /// Gets or sets the application's configured maximum bitrate. /// public int? MaxBitrate { get; set; }