The Free Software Media System - Server Backend & API
Fix warnings MediaBrowser.Model
Bond_009f47ad85011a1
diff --git a/MediaBrowser.Model/Activity/ActivityLogEntry.cs b/MediaBrowser.Model/Activity/ActivityLogEntry.csindex 186fd89ee0..48118b5a3f 100644--- a/MediaBrowser.Model/Activity/ActivityLogEntry.cs+++ b/MediaBrowser.Model/Activity/ActivityLogEntry.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using Microsoft.Extensions.Logging;diff --git a/MediaBrowser.Model/Activity/IActivityManager.cs b/MediaBrowser.Model/Activity/IActivityManager.csindex 897d93d790..f3d3455173 100644--- a/MediaBrowser.Model/Activity/IActivityManager.cs+++ b/MediaBrowser.Model/Activity/IActivityManager.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using MediaBrowser.Model.Events;using MediaBrowser.Model.Querying;diff --git a/MediaBrowser.Model/Activity/IActivityRepository.cs b/MediaBrowser.Model/Activity/IActivityRepository.csindex f0e3b902c4..2e45f56c96 100644--- a/MediaBrowser.Model/Activity/IActivityRepository.cs+++ b/MediaBrowser.Model/Activity/IActivityRepository.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using MediaBrowser.Model.Querying;diff --git a/MediaBrowser.Model/ApiClient/ServerDiscoveryInfo.cs b/MediaBrowser.Model/ApiClient/ServerDiscoveryInfo.csindex d1f3577f73..6dfe8ea9bb 100644--- a/MediaBrowser.Model/ApiClient/ServerDiscoveryInfo.cs+++ b/MediaBrowser.Model/ApiClient/ServerDiscoveryInfo.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.ApiClient{public class ServerDiscoveryInfo@@ -7,16 +10,19 @@ namespace MediaBrowser.Model.ApiClient/// </summary>/// <value>The address.</value>public string Address { get; set; }+/// <summary>/// Gets or sets the server identifier./// </summary>/// <value>The server identifier.</value>public string Id { get; set; }+/// <summary>/// Gets or sets the name./// </summary>/// <value>The name.</value>public string Name { get; set; }+/// <summary>/// Gets or sets the endpoint address./// </summary>diff --git a/MediaBrowser.Model/Branding/BrandingOptions.cs b/MediaBrowser.Model/Branding/BrandingOptions.csindex f83558df59..f2e360cca9 100644--- a/MediaBrowser.Model/Branding/BrandingOptions.cs+++ b/MediaBrowser.Model/Branding/BrandingOptions.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Branding{public class BrandingOptions@@ -7,6 +10,7 @@ namespace MediaBrowser.Model.Branding/// </summary>/// <value>The login disclaimer.</value>public string LoginDisclaimer { get; set; }+/// <summary>/// Gets or sets the custom CSS./// </summary>diff --git a/MediaBrowser.Model/Channels/ChannelFeatures.cs b/MediaBrowser.Model/Channels/ChannelFeatures.csindex ee1d11bc05..8d4b18eaf2 100644--- a/MediaBrowser.Model/Channels/ChannelFeatures.cs+++ b/MediaBrowser.Model/Channels/ChannelFeatures.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;namespace MediaBrowser.Model.Channelsdiff --git a/MediaBrowser.Model/Channels/ChannelFolderType.cs b/MediaBrowser.Model/Channels/ChannelFolderType.csindex 6039eb9294..3411e727bb 100644--- a/MediaBrowser.Model/Channels/ChannelFolderType.cs+++ b/MediaBrowser.Model/Channels/ChannelFolderType.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Channels{public enum ChannelFolderTypediff --git a/MediaBrowser.Model/Channels/ChannelInfo.cs b/MediaBrowser.Model/Channels/ChannelInfo.csindex 9b2d31bf35..2f1614b066 100644--- a/MediaBrowser.Model/Channels/ChannelInfo.cs+++ b/MediaBrowser.Model/Channels/ChannelInfo.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Channels{public class ChannelInfodiff --git a/MediaBrowser.Model/Channels/ChannelItemSortField.cs b/MediaBrowser.Model/Channels/ChannelItemSortField.csindex af75e3edd0..89d105e440 100644--- a/MediaBrowser.Model/Channels/ChannelItemSortField.cs+++ b/MediaBrowser.Model/Channels/ChannelItemSortField.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Channels{public enum ChannelItemSortFielddiff --git a/MediaBrowser.Model/Channels/ChannelMediaContentType.cs b/MediaBrowser.Model/Channels/ChannelMediaContentType.csindex fc7c217069..b520734493 100644--- a/MediaBrowser.Model/Channels/ChannelMediaContentType.cs+++ b/MediaBrowser.Model/Channels/ChannelMediaContentType.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Channels{public enum ChannelMediaContentTypediff --git a/MediaBrowser.Model/Channels/ChannelMediaType.cs b/MediaBrowser.Model/Channels/ChannelMediaType.csindex a3fa5cdf9b..16a28c8748 100644--- a/MediaBrowser.Model/Channels/ChannelMediaType.cs+++ b/MediaBrowser.Model/Channels/ChannelMediaType.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Channels{public enum ChannelMediaTypediff --git a/MediaBrowser.Model/Channels/ChannelQuery.cs b/MediaBrowser.Model/Channels/ChannelQuery.csindex 32b368922d..542daa0d3e 100644--- a/MediaBrowser.Model/Channels/ChannelQuery.cs+++ b/MediaBrowser.Model/Channels/ChannelQuery.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using MediaBrowser.Model.Entities;using MediaBrowser.Model.Querying;diff --git a/MediaBrowser.Model/Collections/CollectionCreationResult.cs b/MediaBrowser.Model/Collections/CollectionCreationResult.csindex 2691f7970d..119bfe7e49 100644--- a/MediaBrowser.Model/Collections/CollectionCreationResult.cs+++ b/MediaBrowser.Model/Collections/CollectionCreationResult.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;namespace MediaBrowser.Model.Collectionsdiff --git a/MediaBrowser.Model/Configuration/AccessSchedule.cs b/MediaBrowser.Model/Configuration/AccessSchedule.csindex d34e273836..6003d74e11 100644--- a/MediaBrowser.Model/Configuration/AccessSchedule.cs+++ b/MediaBrowser.Model/Configuration/AccessSchedule.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Configuration{public class AccessSchedule@@ -7,11 +10,13 @@ namespace MediaBrowser.Model.Configuration/// </summary>/// <value>The day of week.</value>public DynamicDayOfWeek DayOfWeek { get; set; }+/// <summary>/// Gets or sets the start hour./// </summary>/// <value>The start hour.</value>public double StartHour { get; set; }+/// <summary>/// Gets or sets the end hour./// </summary>diff --git a/MediaBrowser.Model/Configuration/DynamicDayOfWeek.cs b/MediaBrowser.Model/Configuration/DynamicDayOfWeek.csindex 73dda5a77a..38361cea78 100644--- a/MediaBrowser.Model/Configuration/DynamicDayOfWeek.cs+++ b/MediaBrowser.Model/Configuration/DynamicDayOfWeek.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Configuration{public enum DynamicDayOfWeekdiff --git a/MediaBrowser.Model/Configuration/EncodingOptions.cs b/MediaBrowser.Model/Configuration/EncodingOptions.csindex 9ae10d9809..ff431e44cc 100644--- a/MediaBrowser.Model/Configuration/EncodingOptions.cs+++ b/MediaBrowser.Model/Configuration/EncodingOptions.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Configuration{public class EncodingOptions@@ -8,12 +11,14 @@ namespace MediaBrowser.Model.Configurationpublic bool EnableThrottling { get; set; }public int ThrottleDelaySeconds { get; set; }public string HardwareAccelerationType { get; set; }+/// <summary>- /// FFmpeg path as set by the user via the UI+ /// FFmpeg path as set by the user via the UI./// </summary>public string EncoderAppPath { get; set; }+/// <summary>- /// The current FFmpeg path being used by the system and displayed on the transcode page+ /// The current FFmpeg path being used by the system and displayed on the transcode page./// </summary>public string EncoderAppPathDisplay { get; set; }public string VaapiDevice { get; set; }diff --git a/MediaBrowser.Model/Configuration/ImageOption.cs b/MediaBrowser.Model/Configuration/ImageOption.csindex 3b985bb1bc..44e4e369c2 100644--- a/MediaBrowser.Model/Configuration/ImageOption.cs+++ b/MediaBrowser.Model/Configuration/ImageOption.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using MediaBrowser.Model.Entities;namespace MediaBrowser.Model.Configuration@@ -9,6 +12,7 @@ namespace MediaBrowser.Model.Configuration/// </summary>/// <value>The type.</value>public ImageType Type { get; set; }+/// <summary>/// Gets or sets the limit./// </summary>diff --git a/MediaBrowser.Model/Configuration/ImageSavingConvention.cs b/MediaBrowser.Model/Configuration/ImageSavingConvention.csindex 7206fa5fc4..9aa72212e9 100644--- a/MediaBrowser.Model/Configuration/ImageSavingConvention.cs+++ b/MediaBrowser.Model/Configuration/ImageSavingConvention.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Configuration{public enum ImageSavingConventiondiff --git a/MediaBrowser.Model/Configuration/LibraryOptions.cs b/MediaBrowser.Model/Configuration/LibraryOptions.csindex ba33bee87c..3c99f9bb5c 100644--- a/MediaBrowser.Model/Configuration/LibraryOptions.cs+++ b/MediaBrowser.Model/Configuration/LibraryOptions.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using System.Collections.Generic;using MediaBrowser.Model.Entities;diff --git a/MediaBrowser.Model/Configuration/MetadataConfiguration.cs b/MediaBrowser.Model/Configuration/MetadataConfiguration.csindex 87e02d0549..b24cae8c4a 100644--- a/MediaBrowser.Model/Configuration/MetadataConfiguration.cs+++ b/MediaBrowser.Model/Configuration/MetadataConfiguration.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Configuration{public class MetadataConfigurationdiff --git a/MediaBrowser.Model/Configuration/MetadataOptions.cs b/MediaBrowser.Model/Configuration/MetadataOptions.csindex c095b8cdd1..d52bb4a440 100644--- a/MediaBrowser.Model/Configuration/MetadataOptions.cs+++ b/MediaBrowser.Model/Configuration/MetadataOptions.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;namespace MediaBrowser.Model.Configurationdiff --git a/MediaBrowser.Model/Configuration/MetadataPlugin.cs b/MediaBrowser.Model/Configuration/MetadataPlugin.csindex d6f863e553..fa88d4508f 100644--- a/MediaBrowser.Model/Configuration/MetadataPlugin.cs+++ b/MediaBrowser.Model/Configuration/MetadataPlugin.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Configuration{public class MetadataPlugindiff --git a/MediaBrowser.Model/Configuration/MetadataPluginSummary.cs b/MediaBrowser.Model/Configuration/MetadataPluginSummary.csindex 0bd20f8379..b99d67f7f2 100644--- a/MediaBrowser.Model/Configuration/MetadataPluginSummary.cs+++ b/MediaBrowser.Model/Configuration/MetadataPluginSummary.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using MediaBrowser.Model.Entities;diff --git a/MediaBrowser.Model/Configuration/MetadataPluginType.cs b/MediaBrowser.Model/Configuration/MetadataPluginType.csindex 985107ac90..46a74c94f0 100644--- a/MediaBrowser.Model/Configuration/MetadataPluginType.cs+++ b/MediaBrowser.Model/Configuration/MetadataPluginType.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Configuration{/// <summary>diff --git a/MediaBrowser.Model/Configuration/ServerConfiguration.cs b/MediaBrowser.Model/Configuration/ServerConfiguration.csindex 598ff3a808..f42aa2b447 100644--- a/MediaBrowser.Model/Configuration/ServerConfiguration.cs+++ b/MediaBrowser.Model/Configuration/ServerConfiguration.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using MediaBrowser.Model.Dto;diff --git a/MediaBrowser.Model/Configuration/SubtitlePlaybackMode.cs b/MediaBrowser.Model/Configuration/SubtitlePlaybackMode.csindex fc429934fa..c117a918fc 100644--- a/MediaBrowser.Model/Configuration/SubtitlePlaybackMode.cs+++ b/MediaBrowser.Model/Configuration/SubtitlePlaybackMode.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Configuration{public enum SubtitlePlaybackModediff --git a/MediaBrowser.Model/Configuration/UnratedItem.cs b/MediaBrowser.Model/Configuration/UnratedItem.csindex 107b4e520b..b972ddf4a6 100644--- a/MediaBrowser.Model/Configuration/UnratedItem.cs+++ b/MediaBrowser.Model/Configuration/UnratedItem.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Configuration{public enum UnratedItemdiff --git a/MediaBrowser.Model/Configuration/UserConfiguration.cs b/MediaBrowser.Model/Configuration/UserConfiguration.csindex 689459eba0..375c50de36 100644--- a/MediaBrowser.Model/Configuration/UserConfiguration.cs+++ b/MediaBrowser.Model/Configuration/UserConfiguration.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;namespace MediaBrowser.Model.Configurationdiff --git a/MediaBrowser.Model/Configuration/XbmcMetadataOptions.cs b/MediaBrowser.Model/Configuration/XbmcMetadataOptions.csindex 19e6be166f..7c7866c23c 100644--- a/MediaBrowser.Model/Configuration/XbmcMetadataOptions.cs+++ b/MediaBrowser.Model/Configuration/XbmcMetadataOptions.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Configuration{public class XbmcMetadataOptionsdiff --git a/MediaBrowser.Model/Cryptography/ICryptoProvider.cs b/MediaBrowser.Model/Cryptography/ICryptoProvider.csindex 2d75c9b3ec..e16e747c55 100644--- a/MediaBrowser.Model/Cryptography/ICryptoProvider.cs+++ b/MediaBrowser.Model/Cryptography/ICryptoProvider.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System.Collections.Generic;namespace MediaBrowser.Model.Cryptographydiff --git a/MediaBrowser.Model/Devices/ContentUploadHistory.cs b/MediaBrowser.Model/Devices/ContentUploadHistory.csindex 5dd9bf2d04..7b58eadf75 100644--- a/MediaBrowser.Model/Devices/ContentUploadHistory.cs+++ b/MediaBrowser.Model/Devices/ContentUploadHistory.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Devices{public class ContentUploadHistorydiff --git a/MediaBrowser.Model/Devices/DeviceInfo.cs b/MediaBrowser.Model/Devices/DeviceInfo.csindex 214c49e5e4..55149a02da 100644--- a/MediaBrowser.Model/Devices/DeviceInfo.cs+++ b/MediaBrowser.Model/Devices/DeviceInfo.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using MediaBrowser.Model.Session;@@ -5,6 +8,11 @@ namespace MediaBrowser.Model.Devices{public class DeviceInfo{+ public DeviceInfo()+ {+ Capabilities = new ClientCapabilities();+ }+public string Name { get; set; }/// <summary>@@ -12,42 +20,43 @@ namespace MediaBrowser.Model.Devices/// </summary>/// <value>The identifier.</value>public string Id { get; set; }+/// <summary>/// Gets or sets the last name of the user./// </summary>/// <value>The last name of the user.</value>public string LastUserName { get; set; }+/// <summary>/// Gets or sets the name of the application./// </summary>/// <value>The name of the application.</value>public string AppName { get; set; }+/// <summary>/// Gets or sets the application version./// </summary>/// <value>The application version.</value>public string AppVersion { get; set; }+/// <summary>/// Gets or sets the last user identifier./// </summary>/// <value>The last user identifier.</value>public Guid LastUserId { get; set; }+/// <summary>/// Gets or sets the date last modified./// </summary>/// <value>The date last modified.</value>public DateTime DateLastActivity { get; set; }+/// <summary>/// Gets or sets the capabilities./// </summary>/// <value>The capabilities.</value>public ClientCapabilities Capabilities { get; set; }- public DeviceInfo()- {- Capabilities = new ClientCapabilities();- }-public string IconUrl { get; set; }}}diff --git a/MediaBrowser.Model/Devices/DeviceQuery.cs b/MediaBrowser.Model/Devices/DeviceQuery.csindex 48d7ec142c..56b9c201ae 100644--- a/MediaBrowser.Model/Devices/DeviceQuery.cs+++ b/MediaBrowser.Model/Devices/DeviceQuery.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;namespace MediaBrowser.Model.Devices@@ -9,6 +12,7 @@ namespace MediaBrowser.Model.Devices/// </summary>/// <value><c>null</c> if [supports synchronize] contains no value, <c>true</c> if [supports synchronize]; otherwise, <c>false</c>.</value>public bool? SupportsSync { get; set; }+/// <summary>/// Gets or sets the user identifier./// </summary>diff --git a/MediaBrowser.Model/Devices/DevicesOptions.cs b/MediaBrowser.Model/Devices/DevicesOptions.csindex 5bbd33b73b..95bccd5597 100644--- a/MediaBrowser.Model/Devices/DevicesOptions.cs+++ b/MediaBrowser.Model/Devices/DevicesOptions.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;namespace MediaBrowser.Model.Devicesdiff --git a/MediaBrowser.Model/Devices/LocalFileInfo.cs b/MediaBrowser.Model/Devices/LocalFileInfo.csindex cc5c9250b5..7a8e31f418 100644--- a/MediaBrowser.Model/Devices/LocalFileInfo.cs+++ b/MediaBrowser.Model/Devices/LocalFileInfo.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Devices{public class LocalFileInfodiff --git a/MediaBrowser.Model/Diagnostics/IProcess.cs b/MediaBrowser.Model/Diagnostics/IProcess.csindex cade631c99..d86679876a 100644--- a/MediaBrowser.Model/Diagnostics/IProcess.cs+++ b/MediaBrowser.Model/Diagnostics/IProcess.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using System.IO;using System.Threading.Tasks;diff --git a/MediaBrowser.Model/Diagnostics/IProcessFactory.cs b/MediaBrowser.Model/Diagnostics/IProcessFactory.csindex a11be8f4e7..8702060246 100644--- a/MediaBrowser.Model/Diagnostics/IProcessFactory.cs+++ b/MediaBrowser.Model/Diagnostics/IProcessFactory.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Diagnostics{public interface IProcessFactorydiff --git a/MediaBrowser.Model/Dlna/AudioOptions.cs b/MediaBrowser.Model/Dlna/AudioOptions.csindex 6dfe8093e5..903cb03375 100644--- a/MediaBrowser.Model/Dlna/AudioOptions.cs+++ b/MediaBrowser.Model/Dlna/AudioOptions.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using MediaBrowser.Model.Dto;diff --git a/MediaBrowser.Model/Dlna/CodecProfile.cs b/MediaBrowser.Model/Dlna/CodecProfile.csindex 9ea248908b..2fda1a6003 100644--- a/MediaBrowser.Model/Dlna/CodecProfile.cs+++ b/MediaBrowser.Model/Dlna/CodecProfile.cs@@ -1,3 +1,7 @@+#pragma warning disable CS1591+#pragma warning disable SA1600++using System;using System.Xml.Serialization;using MediaBrowser.Model.Extensions;@@ -20,8 +24,8 @@ namespace MediaBrowser.Model.Dlnapublic CodecProfile(){- Conditions = new ProfileCondition[] { };- ApplyConditions = new ProfileCondition[] { };+ Conditions = Array.Empty<ProfileCondition>();+ ApplyConditions = Array.Empty<ProfileCondition>();}public string[] GetCodecs()diff --git a/MediaBrowser.Model/Dlna/CodecType.cs b/MediaBrowser.Model/Dlna/CodecType.csindex d777be4c22..9ed01d842f 100644--- a/MediaBrowser.Model/Dlna/CodecType.cs+++ b/MediaBrowser.Model/Dlna/CodecType.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Dlna{public enum CodecTypediff --git a/MediaBrowser.Model/Dlna/ConditionProcessor.cs b/MediaBrowser.Model/Dlna/ConditionProcessor.csindex caaceda1bc..d07b4022ab 100644--- a/MediaBrowser.Model/Dlna/ConditionProcessor.cs+++ b/MediaBrowser.Model/Dlna/ConditionProcessor.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using System.Globalization;using MediaBrowser.Model.Extensions;diff --git a/MediaBrowser.Model/Dlna/ContainerProfile.cs b/MediaBrowser.Model/Dlna/ContainerProfile.csindex 073324c264..e53ebf6ea4 100644--- a/MediaBrowser.Model/Dlna/ContainerProfile.cs+++ b/MediaBrowser.Model/Dlna/ContainerProfile.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using System.Xml.Serialization;using MediaBrowser.Model.Extensions;diff --git a/MediaBrowser.Model/Dlna/ContentFeatureBuilder.cs b/MediaBrowser.Model/Dlna/ContentFeatureBuilder.csindex 2333fa7a02..dd92381935 100644--- a/MediaBrowser.Model/Dlna/ContentFeatureBuilder.cs+++ b/MediaBrowser.Model/Dlna/ContentFeatureBuilder.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using System.Collections.Generic;using System.Globalization;diff --git a/MediaBrowser.Model/Dlna/DeviceIdentification.cs b/MediaBrowser.Model/Dlna/DeviceIdentification.csindex 84573521aa..730c71511b 100644--- a/MediaBrowser.Model/Dlna/DeviceIdentification.cs+++ b/MediaBrowser.Model/Dlna/DeviceIdentification.cs@@ -1,3 +1,8 @@+#pragma warning disable CS1591+#pragma warning disable SA1600++using System;+namespace MediaBrowser.Model.Dlna{public class DeviceIdentification@@ -7,46 +12,55 @@ namespace MediaBrowser.Model.Dlna/// </summary>/// <value>The name of the friendly.</value>public string FriendlyName { get; set; }+/// <summary>/// Gets or sets the model number./// </summary>/// <value>The model number.</value>public string ModelNumber { get; set; }+/// <summary>/// Gets or sets the serial number./// </summary>/// <value>The serial number.</value>public string SerialNumber { get; set; }+/// <summary>/// Gets or sets the name of the model./// </summary>/// <value>The name of the model.</value>public string ModelName { get; set; }+/// <summary>/// Gets or sets the model description./// </summary>/// <value>The model description.</value>public string ModelDescription { get; set; }+/// <summary>/// Gets or sets the device description./// </summary>/// <value>The device description.</value>public string DeviceDescription { get; set; }+/// <summary>/// Gets or sets the model URL./// </summary>/// <value>The model URL.</value>public string ModelUrl { get; set; }+/// <summary>/// Gets or sets the manufacturer./// </summary>/// <value>The manufacturer.</value>public string Manufacturer { get; set; }+/// <summary>/// Gets or sets the manufacturer URL./// </summary>/// <value>The manufacturer URL.</value>public string ManufacturerUrl { get; set; }+/// <summary>/// Gets or sets the headers./// </summary>@@ -55,7 +69,7 @@ namespace MediaBrowser.Model.Dlnapublic DeviceIdentification(){- Headers = new HttpHeaderInfo[] { };+ Headers = Array.Empty<HttpHeaderInfo>();}}}diff --git a/MediaBrowser.Model/Dlna/DeviceProfile.cs b/MediaBrowser.Model/Dlna/DeviceProfile.csindex f152ee8808..32de5b0948 100644--- a/MediaBrowser.Model/Dlna/DeviceProfile.cs+++ b/MediaBrowser.Model/Dlna/DeviceProfile.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using System.Xml.Serialization;using MediaBrowser.Model.Extensions;diff --git a/MediaBrowser.Model/Dlna/DeviceProfileInfo.cs b/MediaBrowser.Model/Dlna/DeviceProfileInfo.csindex c78f0d9b2b..021d711601 100644--- a/MediaBrowser.Model/Dlna/DeviceProfileInfo.cs+++ b/MediaBrowser.Model/Dlna/DeviceProfileInfo.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Dlna{public class DeviceProfileInfodiff --git a/MediaBrowser.Model/Dlna/DeviceProfileType.cs b/MediaBrowser.Model/Dlna/DeviceProfileType.csindex 2449fa434a..2d6221a9bf 100644--- a/MediaBrowser.Model/Dlna/DeviceProfileType.cs+++ b/MediaBrowser.Model/Dlna/DeviceProfileType.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Dlna{public enum DeviceProfileTypediff --git a/MediaBrowser.Model/Dlna/DirectPlayProfile.cs b/MediaBrowser.Model/Dlna/DirectPlayProfile.csindex 5a54847d74..fc74c9afca 100644--- a/MediaBrowser.Model/Dlna/DirectPlayProfile.cs+++ b/MediaBrowser.Model/Dlna/DirectPlayProfile.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System.Xml.Serialization;namespace MediaBrowser.Model.Dlnadiff --git a/MediaBrowser.Model/Dlna/DlnaFlags.cs b/MediaBrowser.Model/Dlna/DlnaFlags.csindex d076e73ece..ada7826308 100644--- a/MediaBrowser.Model/Dlna/DlnaFlags.cs+++ b/MediaBrowser.Model/Dlna/DlnaFlags.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;namespace MediaBrowser.Model.Dlnadiff --git a/MediaBrowser.Model/Dlna/DlnaMaps.cs b/MediaBrowser.Model/Dlna/DlnaMaps.csindex 880d057240..17d54e373f 100644--- a/MediaBrowser.Model/Dlna/DlnaMaps.cs+++ b/MediaBrowser.Model/Dlna/DlnaMaps.cs@@ -1,6 +1,9 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Dlna{- public class DlnaMaps+ public static class DlnaMaps{private static readonly string DefaultStreaming =FlagsToString(DlnaFlags.StreamingTransferMode |diff --git a/MediaBrowser.Model/Dlna/DlnaProfileType.cs b/MediaBrowser.Model/Dlna/DlnaProfileType.csindex 6a23bbb040..0431e4044c 100644--- a/MediaBrowser.Model/Dlna/DlnaProfileType.cs+++ b/MediaBrowser.Model/Dlna/DlnaProfileType.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Dlna{public enum DlnaProfileTypediff --git a/MediaBrowser.Model/Dlna/EncodingContext.cs b/MediaBrowser.Model/Dlna/EncodingContext.csindex 7352bdd19d..7f16b4ef7d 100644--- a/MediaBrowser.Model/Dlna/EncodingContext.cs+++ b/MediaBrowser.Model/Dlna/EncodingContext.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Dlna{public enum EncodingContextdiff --git a/MediaBrowser.Model/Dlna/HeaderMatchType.cs b/MediaBrowser.Model/Dlna/HeaderMatchType.csindex b0a1438f6d..3ff42159cd 100644--- a/MediaBrowser.Model/Dlna/HeaderMatchType.cs+++ b/MediaBrowser.Model/Dlna/HeaderMatchType.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Dlna{public enum HeaderMatchTypediff --git a/MediaBrowser.Model/Dlna/HttpHeaderInfo.cs b/MediaBrowser.Model/Dlna/HttpHeaderInfo.csindex d157275048..09aa9ef2d9 100644--- a/MediaBrowser.Model/Dlna/HttpHeaderInfo.cs+++ b/MediaBrowser.Model/Dlna/HttpHeaderInfo.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System.Xml.Serialization;namespace MediaBrowser.Model.Dlnadiff --git a/MediaBrowser.Model/Dlna/IDeviceDiscovery.cs b/MediaBrowser.Model/Dlna/IDeviceDiscovery.csindex 3de3fe761d..bf2fccbf12 100644--- a/MediaBrowser.Model/Dlna/IDeviceDiscovery.cs+++ b/MediaBrowser.Model/Dlna/IDeviceDiscovery.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using MediaBrowser.Model.Events;diff --git a/MediaBrowser.Model/Dlna/ITranscoderSupport.cs b/MediaBrowser.Model/Dlna/ITranscoderSupport.csindex c0ff54c3fc..a5da21b944 100644--- a/MediaBrowser.Model/Dlna/ITranscoderSupport.cs+++ b/MediaBrowser.Model/Dlna/ITranscoderSupport.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Dlna{public interface ITranscoderSupportdiff --git a/MediaBrowser.Model/Dlna/MediaFormatProfile.cs b/MediaBrowser.Model/Dlna/MediaFormatProfile.csindex 7c56fc5f45..aa8c53a813 100644--- a/MediaBrowser.Model/Dlna/MediaFormatProfile.cs+++ b/MediaBrowser.Model/Dlna/MediaFormatProfile.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Dlna{public enum MediaFormatProfilediff --git a/MediaBrowser.Model/Dlna/MediaFormatProfileResolver.cs b/MediaBrowser.Model/Dlna/MediaFormatProfileResolver.csindex 333cab60da..5e28c2e8a7 100644--- a/MediaBrowser.Model/Dlna/MediaFormatProfileResolver.cs+++ b/MediaBrowser.Model/Dlna/MediaFormatProfileResolver.cs@@ -1,7 +1,9 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using System.Collections.Generic;using System.Linq;-using MediaBrowser.Model.Extensions;using MediaBrowser.Model.MediaInfo;namespace MediaBrowser.Model.Dlnadiff --git a/MediaBrowser.Model/Dlna/PlaybackErrorCode.cs b/MediaBrowser.Model/Dlna/PlaybackErrorCode.csindex 5080bc2863..a006b1671d 100644--- a/MediaBrowser.Model/Dlna/PlaybackErrorCode.cs+++ b/MediaBrowser.Model/Dlna/PlaybackErrorCode.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Dlna{public enum PlaybackErrorCodediff --git a/MediaBrowser.Model/Dlna/ProfileCondition.cs b/MediaBrowser.Model/Dlna/ProfileCondition.csindex b83566f6e2..f167b9e5e2 100644--- a/MediaBrowser.Model/Dlna/ProfileCondition.cs+++ b/MediaBrowser.Model/Dlna/ProfileCondition.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System.Xml.Serialization;namespace MediaBrowser.Model.Dlnadiff --git a/MediaBrowser.Model/Dlna/ProfileConditionType.cs b/MediaBrowser.Model/Dlna/ProfileConditionType.csindex 2628412622..12434a7985 100644--- a/MediaBrowser.Model/Dlna/ProfileConditionType.cs+++ b/MediaBrowser.Model/Dlna/ProfileConditionType.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Dlna{public enum ProfileConditionTypediff --git a/MediaBrowser.Model/Dlna/ProfileConditionValue.cs b/MediaBrowser.Model/Dlna/ProfileConditionValue.csindex bae46bdcfc..ea30619a33 100644--- a/MediaBrowser.Model/Dlna/ProfileConditionValue.cs+++ b/MediaBrowser.Model/Dlna/ProfileConditionValue.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Dlna{public enum ProfileConditionValuediff --git a/MediaBrowser.Model/Dlna/ResolutionConfiguration.cs b/MediaBrowser.Model/Dlna/ResolutionConfiguration.csindex 6b1f854407..f2eb1f9f5c 100644--- a/MediaBrowser.Model/Dlna/ResolutionConfiguration.cs+++ b/MediaBrowser.Model/Dlna/ResolutionConfiguration.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Dlna{public class ResolutionConfigurationdiff --git a/MediaBrowser.Model/Dlna/ResolutionNormalizer.cs b/MediaBrowser.Model/Dlna/ResolutionNormalizer.csindex 8a00f4ae4f..26ca912efb 100644--- a/MediaBrowser.Model/Dlna/ResolutionNormalizer.cs+++ b/MediaBrowser.Model/Dlna/ResolutionNormalizer.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using MediaBrowser.Model.Extensions;diff --git a/MediaBrowser.Model/Dlna/ResolutionOptions.cs b/MediaBrowser.Model/Dlna/ResolutionOptions.csindex 30c078b55b..2b6f9f5682 100644--- a/MediaBrowser.Model/Dlna/ResolutionOptions.cs+++ b/MediaBrowser.Model/Dlna/ResolutionOptions.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Dlna{public class ResolutionOptionsdiff --git a/MediaBrowser.Model/Dlna/ResponseProfile.cs b/MediaBrowser.Model/Dlna/ResponseProfile.csindex 8c6b0806fd..f0d672a9de 100644--- a/MediaBrowser.Model/Dlna/ResponseProfile.cs+++ b/MediaBrowser.Model/Dlna/ResponseProfile.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System.Xml.Serialization;namespace MediaBrowser.Model.Dlnadiff --git a/MediaBrowser.Model/Dlna/SearchCriteria.cs b/MediaBrowser.Model/Dlna/SearchCriteria.csindex 8919938814..c8ef34c1c2 100644--- a/MediaBrowser.Model/Dlna/SearchCriteria.cs+++ b/MediaBrowser.Model/Dlna/SearchCriteria.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using System.Text.RegularExpressions;using MediaBrowser.Model.Extensions;diff --git a/MediaBrowser.Model/Dlna/SearchType.cs b/MediaBrowser.Model/Dlna/SearchType.csindex 05c59f5de6..446a677ff4 100644--- a/MediaBrowser.Model/Dlna/SearchType.cs+++ b/MediaBrowser.Model/Dlna/SearchType.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Dlna{public enum SearchTypediff --git a/MediaBrowser.Model/Dlna/SortCriteria.cs b/MediaBrowser.Model/Dlna/SortCriteria.csindex b5c1ac408e..901cde8f33 100644--- a/MediaBrowser.Model/Dlna/SortCriteria.cs+++ b/MediaBrowser.Model/Dlna/SortCriteria.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using MediaBrowser.Model.Entities;namespace MediaBrowser.Model.Dlnadiff --git a/MediaBrowser.Model/Dlna/StreamBuilder.cs b/MediaBrowser.Model/Dlna/StreamBuilder.csindex e039ac5d6f..a1838acf35 100644--- a/MediaBrowser.Model/Dlna/StreamBuilder.cs+++ b/MediaBrowser.Model/Dlna/StreamBuilder.cs@@ -1,10 +1,12 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using System.Collections.Generic;using System.Globalization;using System.Linq;using MediaBrowser.Model.Dto;using MediaBrowser.Model.Entities;-using MediaBrowser.Model.Extensions;using MediaBrowser.Model.MediaInfo;using MediaBrowser.Model.Session;using Microsoft.Extensions.Logging;diff --git a/MediaBrowser.Model/Dlna/StreamInfo.cs b/MediaBrowser.Model/Dlna/StreamInfo.csindex 7962b51ce2..2699247d86 100644--- a/MediaBrowser.Model/Dlna/StreamInfo.cs+++ b/MediaBrowser.Model/Dlna/StreamInfo.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using System.Collections.Generic;using System.Globalization;@@ -5,7 +8,6 @@ using System.Linq;using MediaBrowser.Model.Drawing;using MediaBrowser.Model.Dto;using MediaBrowser.Model.Entities;-using MediaBrowser.Model.Extensions;using MediaBrowser.Model.MediaInfo;using MediaBrowser.Model.Session;diff --git a/MediaBrowser.Model/Dlna/SubtitleDeliveryMethod.cs b/MediaBrowser.Model/Dlna/SubtitleDeliveryMethod.csindex 925c1f9fcb..cae9ca0195 100644--- a/MediaBrowser.Model/Dlna/SubtitleDeliveryMethod.cs+++ b/MediaBrowser.Model/Dlna/SubtitleDeliveryMethod.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Dlna{public enum SubtitleDeliveryMethod@@ -6,14 +9,17 @@ namespace MediaBrowser.Model.Dlna/// The encode/// </summary>Encode = 0,+/// <summary>/// The embed/// </summary>Embed = 1,+/// <summary>/// The external/// </summary>External = 2,+/// <summary>/// The HLS/// </summary>diff --git a/MediaBrowser.Model/Dlna/SubtitleProfile.cs b/MediaBrowser.Model/Dlna/SubtitleProfile.csindex f950b6cb82..cd2bcc0c76 100644--- a/MediaBrowser.Model/Dlna/SubtitleProfile.cs+++ b/MediaBrowser.Model/Dlna/SubtitleProfile.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System.Xml.Serialization;using MediaBrowser.Model.Extensions;diff --git a/MediaBrowser.Model/Dlna/SubtitleStreamInfo.cs b/MediaBrowser.Model/Dlna/SubtitleStreamInfo.csindex e81c26e69b..5c332ac264 100644--- a/MediaBrowser.Model/Dlna/SubtitleStreamInfo.cs+++ b/MediaBrowser.Model/Dlna/SubtitleStreamInfo.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Dlna{public class SubtitleStreamInfodiff --git a/MediaBrowser.Model/Dlna/TranscodeSeekInfo.cs b/MediaBrowser.Model/Dlna/TranscodeSeekInfo.csindex eac5d4b362..f0b294882e 100644--- a/MediaBrowser.Model/Dlna/TranscodeSeekInfo.cs+++ b/MediaBrowser.Model/Dlna/TranscodeSeekInfo.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Dlna{public enum TranscodeSeekInfodiff --git a/MediaBrowser.Model/Dlna/TranscodingProfile.cs b/MediaBrowser.Model/Dlna/TranscodingProfile.csindex dc2f0c90d2..de5633ae02 100644--- a/MediaBrowser.Model/Dlna/TranscodingProfile.cs+++ b/MediaBrowser.Model/Dlna/TranscodingProfile.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System.Xml.Serialization;namespace MediaBrowser.Model.Dlnadiff --git a/MediaBrowser.Model/Dlna/UpnpDeviceInfo.cs b/MediaBrowser.Model/Dlna/UpnpDeviceInfo.csindex c443a8ad18..91cb2b68fc 100644--- a/MediaBrowser.Model/Dlna/UpnpDeviceInfo.cs+++ b/MediaBrowser.Model/Dlna/UpnpDeviceInfo.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using System.Collections.Generic;using System.Net;diff --git a/MediaBrowser.Model/Dlna/VideoOptions.cs b/MediaBrowser.Model/Dlna/VideoOptions.csindex 9c4a38292a..6c7dafba7a 100644--- a/MediaBrowser.Model/Dlna/VideoOptions.cs+++ b/MediaBrowser.Model/Dlna/VideoOptions.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Dlna{/// <summary>diff --git a/MediaBrowser.Model/Dlna/XmlAttribute.cs b/MediaBrowser.Model/Dlna/XmlAttribute.csindex aa64177a8a..8f89969697 100644--- a/MediaBrowser.Model/Dlna/XmlAttribute.cs+++ b/MediaBrowser.Model/Dlna/XmlAttribute.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System.Xml.Serialization;namespace MediaBrowser.Model.Dlnadiff --git a/MediaBrowser.Model/Drawing/DrawingUtils.cs b/MediaBrowser.Model/Drawing/DrawingUtils.csindex 9fe85512f4..0be30b0baf 100644--- a/MediaBrowser.Model/Drawing/DrawingUtils.cs+++ b/MediaBrowser.Model/Drawing/DrawingUtils.cs@@ -3,19 +3,19 @@ using System;namespace MediaBrowser.Model.Drawing{/// <summary>- /// Class DrawingUtils+ /// Class DrawingUtils./// </summary>public static class DrawingUtils{/// <summary>- /// Resizes a set of dimensions+ /// Resizes a set of dimensions./// </summary>- /// <param name="size">The original size object</param>- /// <param name="width">A new fixed width, if desired</param>- /// <param name="height">A new fixed height, if desired</param>- /// <param name="maxWidth">A max fixed width, if desired</param>- /// <param name="maxHeight">A max fixed height, if desired</param>- /// <returns>A new size object</returns>+ /// <param name="size">The original size object.</param>+ /// <param name="width">A new fixed width, if desired.</param>+ /// <param name="height">A new fixed height, if desired.</param>+ /// <param name="maxWidth">A max fixed width, if desired.</param>+ /// <param name="maxHeight">A max fixed height, if desired.</param>+ /// <returns>A new size object.</returns>public static ImageDimensions Resize(ImageDimensions size,int width,int height,diff --git a/MediaBrowser.Model/Drawing/ImageDimensions.cs b/MediaBrowser.Model/Drawing/ImageDimensions.csindex e7805ac494..b546dbb254 100644--- a/MediaBrowser.Model/Drawing/ImageDimensions.cs+++ b/MediaBrowser.Model/Drawing/ImageDimensions.cs@@ -1,7 +1,10 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Drawing{/// <summary>- /// Struct ImageDimensions+ /// Struct ImageDimensions./// </summary>public struct ImageDimensions{diff --git a/MediaBrowser.Model/Drawing/ImageFormat.cs b/MediaBrowser.Model/Drawing/ImageFormat.csindex 3639c1594f..511c16a4e2 100644--- a/MediaBrowser.Model/Drawing/ImageFormat.cs+++ b/MediaBrowser.Model/Drawing/ImageFormat.cs@@ -1,28 +1,32 @@namespace MediaBrowser.Model.Drawing{/// <summary>- /// Enum ImageOutputFormat+ /// Enum ImageOutputFormat./// </summary>public enum ImageFormat{/// <summary>- /// The BMP+ /// The BMP./// </summary>Bmp,+/// <summary>- /// The GIF+ /// The GIF./// </summary>Gif,+/// <summary>- /// The JPG+ /// The JPG./// </summary>Jpg,+/// <summary>- /// The PNG+ /// The PNG./// </summary>Png,+/// <summary>- /// The webp+ /// The webp./// </summary>Webp}diff --git a/MediaBrowser.Model/Drawing/ImageOrientation.cs b/MediaBrowser.Model/Drawing/ImageOrientation.csindex 0fce8c3dc4..f9727a235b 100644--- a/MediaBrowser.Model/Drawing/ImageOrientation.cs+++ b/MediaBrowser.Model/Drawing/ImageOrientation.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Drawing{public enum ImageOrientationdiff --git a/MediaBrowser.Model/Dto/BaseItemDto.cs b/MediaBrowser.Model/Dto/BaseItemDto.csindex 4da5508b45..fc3e78a811 100644--- a/MediaBrowser.Model/Dto/BaseItemDto.cs+++ b/MediaBrowser.Model/Dto/BaseItemDto.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using System.Collections.Generic;using MediaBrowser.Model.Drawing;diff --git a/MediaBrowser.Model/Dto/BaseItemPerson.cs b/MediaBrowser.Model/Dto/BaseItemPerson.csindex 270a4683a7..5b7eefd70b 100644--- a/MediaBrowser.Model/Dto/BaseItemPerson.cs+++ b/MediaBrowser.Model/Dto/BaseItemPerson.cs@@ -3,7 +3,7 @@ using System.Text.Json.Serialization;namespace MediaBrowser.Model.Dto{/// <summary>- /// This is used by the api to get information about a Person within a BaseItem+ /// This is used by the api to get information about a Person within a BaseItem./// </summary>public class BaseItemPerson{diff --git a/MediaBrowser.Model/Dto/IHasServerId.cs b/MediaBrowser.Model/Dto/IHasServerId.csindex 2cce5df62e..6d0a6b25e7 100644--- a/MediaBrowser.Model/Dto/IHasServerId.cs+++ b/MediaBrowser.Model/Dto/IHasServerId.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Dto{public interface IHasServerIddiff --git a/MediaBrowser.Model/Dto/IItemDto.cs b/MediaBrowser.Model/Dto/IItemDto.csindex 0130adb6f1..cb8808fb6b 100644--- a/MediaBrowser.Model/Dto/IItemDto.cs+++ b/MediaBrowser.Model/Dto/IItemDto.cs@@ -1,7 +1,7 @@namespace MediaBrowser.Model.Dto{/// <summary>- /// Interface IItemDto+ /// Interface IItemDto./// </summary>public interface IItemDto{diff --git a/MediaBrowser.Model/Dto/ImageByNameInfo.cs b/MediaBrowser.Model/Dto/ImageByNameInfo.csindex 2bda8bf204..7dc075279f 100644--- a/MediaBrowser.Model/Dto/ImageByNameInfo.cs+++ b/MediaBrowser.Model/Dto/ImageByNameInfo.cs@@ -1,3 +1,5 @@+#pragma warning disable CS1591+#pragma warning disable SA1600namespace MediaBrowser.Model.Dto{@@ -8,21 +10,25 @@ namespace MediaBrowser.Model.Dto/// </summary>/// <value>The name.</value>public string Name { get; set; }+/// <summary>/// Gets or sets the theme./// </summary>/// <value>The theme.</value>public string Theme { get; set; }+/// <summary>/// Gets or sets the context./// </summary>/// <value>The context.</value>public string Context { get; set; }+/// <summary>/// Gets or sets the length of the file./// </summary>/// <value>The length of the file.</value>public long FileLength { get; set; }+/// <summary>/// Gets or sets the format./// </summary>diff --git a/MediaBrowser.Model/Dto/ImageInfo.cs b/MediaBrowser.Model/Dto/ImageInfo.csindex 792eaff031..57942ac23b 100644--- a/MediaBrowser.Model/Dto/ImageInfo.cs+++ b/MediaBrowser.Model/Dto/ImageInfo.cs@@ -3,7 +3,7 @@ using MediaBrowser.Model.Entities;namespace MediaBrowser.Model.Dto{/// <summary>- /// Class ImageInfo+ /// Class ImageInfo./// </summary>public class ImageInfo{diff --git a/MediaBrowser.Model/Dto/ImageOptions.cs b/MediaBrowser.Model/Dto/ImageOptions.csindex 1fd4a5383a..4e672a007e 100644--- a/MediaBrowser.Model/Dto/ImageOptions.cs+++ b/MediaBrowser.Model/Dto/ImageOptions.cs@@ -4,7 +4,7 @@ using MediaBrowser.Model.Entities;namespace MediaBrowser.Model.Dto{/// <summary>- /// Class ImageOptions+ /// Class ImageOptions./// </summary>public class ImageOptions{diff --git a/MediaBrowser.Model/Dto/ItemCounts.cs b/MediaBrowser.Model/Dto/ItemCounts.csindex ec5adab85a..95f4a3d772 100644--- a/MediaBrowser.Model/Dto/ItemCounts.cs+++ b/MediaBrowser.Model/Dto/ItemCounts.cs@@ -1,7 +1,7 @@namespace MediaBrowser.Model.Dto{/// <summary>- /// Class LibrarySummary+ /// Class LibrarySummary./// </summary>public class ItemCounts{@@ -10,48 +10,71 @@ namespace MediaBrowser.Model.Dto/// </summary>/// <value>The movie count.</value>public int MovieCount { get; set; }+/// <summary>/// Gets or sets the series count./// </summary>/// <value>The series count.</value>public int SeriesCount { get; set; }+/// <summary>/// Gets or sets the episode count./// </summary>/// <value>The episode count.</value>public int EpisodeCount { get; set; }++ /// <summary>+ /// Gets or sets the artist count.+ /// </summary>+ /// <value>The artist count.</value>public int ArtistCount { get; set; }++ /// <summary>+ /// Gets or sets the program count.+ /// </summary>+ /// <value>The program count.</value>public int ProgramCount { get; set; }+/// <summary>/// Gets or sets the trailer count./// </summary>/// <value>The trailer count.</value>public int TrailerCount { get; set; }+/// <summary>/// Gets or sets the song count./// </summary>/// <value>The song count.</value>public int SongCount { get; set; }+/// <summary>/// Gets or sets the album count./// </summary>/// <value>The album count.</value>public int AlbumCount { get; set; }+/// <summary>/// Gets or sets the music video count./// </summary>/// <value>The music video count.</value>public int MusicVideoCount { get; set; }+/// <summary>/// Gets or sets the box set count./// </summary>/// <value>The box set count.</value>public int BoxSetCount { get; set; }+/// <summary>/// Gets or sets the book count./// </summary>/// <value>The book count.</value>public int BookCount { get; set; }++ /// <summary>+ /// Gets or sets the item count.+ /// </summary>+ /// <value>The item count.</value>public int ItemCount { get; set; }}}diff --git a/MediaBrowser.Model/Dto/ItemIndex.cs b/MediaBrowser.Model/Dto/ItemIndex.csindex 21e14c73e5..525576d614 100644--- a/MediaBrowser.Model/Dto/ItemIndex.cs+++ b/MediaBrowser.Model/Dto/ItemIndex.cs@@ -1,7 +1,7 @@namespace MediaBrowser.Model.Dto{/// <summary>- /// Class ItemIndex+ /// Class ItemIndex./// </summary>public class ItemIndex{diff --git a/MediaBrowser.Model/Dto/MediaSourceInfo.cs b/MediaBrowser.Model/Dto/MediaSourceInfo.csindex 563865ebe9..48f1e26c38 100644--- a/MediaBrowser.Model/Dto/MediaSourceInfo.cs+++ b/MediaBrowser.Model/Dto/MediaSourceInfo.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using System.Collections.Generic;using System.Text.Json.Serialization;diff --git a/MediaBrowser.Model/Dto/MediaSourceType.cs b/MediaBrowser.Model/Dto/MediaSourceType.csindex b643cad9a8..0c6dc79e20 100644--- a/MediaBrowser.Model/Dto/MediaSourceType.cs+++ b/MediaBrowser.Model/Dto/MediaSourceType.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Dto{public enum MediaSourceTypediff --git a/MediaBrowser.Model/Dto/MetadataEditorInfo.cs b/MediaBrowser.Model/Dto/MetadataEditorInfo.csindex 46bcb62f4a..c54db010b7 100644--- a/MediaBrowser.Model/Dto/MetadataEditorInfo.cs+++ b/MediaBrowser.Model/Dto/MetadataEditorInfo.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using MediaBrowser.Model.Entities;using MediaBrowser.Model.Globalization;diff --git a/MediaBrowser.Model/Dto/NameIdPair.cs b/MediaBrowser.Model/Dto/NameIdPair.csindex ccd42f17f7..c59d046911 100644--- a/MediaBrowser.Model/Dto/NameIdPair.cs+++ b/MediaBrowser.Model/Dto/NameIdPair.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;namespace MediaBrowser.Model.Dto@@ -9,6 +12,7 @@ namespace MediaBrowser.Model.Dto/// </summary>/// <value>The name.</value>public string Name { get; set; }+/// <summary>/// Gets or sets the identifier./// </summary>diff --git a/MediaBrowser.Model/Dto/NameValuePair.cs b/MediaBrowser.Model/Dto/NameValuePair.csindex 624763211a..cb98a9e60a 100644--- a/MediaBrowser.Model/Dto/NameValuePair.cs+++ b/MediaBrowser.Model/Dto/NameValuePair.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Dto{public class NameValuePair@@ -18,6 +21,7 @@ namespace MediaBrowser.Model.Dto/// </summary>/// <value>The name.</value>public string Name { get; set; }+/// <summary>/// Gets or sets the value./// </summary>diff --git a/MediaBrowser.Model/Dto/RatingType.cs b/MediaBrowser.Model/Dto/RatingType.csindex fc1f7ea0f8..b856200e59 100644--- a/MediaBrowser.Model/Dto/RatingType.cs+++ b/MediaBrowser.Model/Dto/RatingType.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Dto{public enum RatingTypediff --git a/MediaBrowser.Model/Dto/RecommendationDto.cs b/MediaBrowser.Model/Dto/RecommendationDto.csindex acfb85e9b9..0913fd55f2 100644--- a/MediaBrowser.Model/Dto/RecommendationDto.cs+++ b/MediaBrowser.Model/Dto/RecommendationDto.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using System.Collections.Generic;diff --git a/MediaBrowser.Model/Dto/RecommendationType.cs b/MediaBrowser.Model/Dto/RecommendationType.csindex 55a0a8091d..904ec44062 100644--- a/MediaBrowser.Model/Dto/RecommendationType.cs+++ b/MediaBrowser.Model/Dto/RecommendationType.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Dto{public enum RecommendationTypediff --git a/MediaBrowser.Model/Dto/UserDto.cs b/MediaBrowser.Model/Dto/UserDto.csindex 13da018a61..d36706c387 100644--- a/MediaBrowser.Model/Dto/UserDto.cs+++ b/MediaBrowser.Model/Dto/UserDto.cs@@ -5,7 +5,7 @@ using MediaBrowser.Model.Users;namespace MediaBrowser.Model.Dto{/// <summary>- /// Class UserDto+ /// Class UserDto./// </summary>public class UserDto : IItemDto, IHasServerId{@@ -58,6 +58,9 @@ namespace MediaBrowser.Model.Dto/// <value><c>true</c> if this instance has configured easy password; otherwise, <c>false</c>.</value>public bool HasConfiguredEasyPassword { get; set; }+ /// <summary>+ /// Gets or sets whether async login is enabled or not.+ /// </summary>public bool? EnableAutoLogin { get; set; }/// <summary>@@ -99,6 +102,7 @@ namespace MediaBrowser.Model.DtoPolicy = new UserPolicy();}+ /// <inheritdoc />public override string ToString(){return Name ?? base.ToString();diff --git a/MediaBrowser.Model/Dto/UserItemDataDto.cs b/MediaBrowser.Model/Dto/UserItemDataDto.csindex fa512e94c3..92f06c9733 100644--- a/MediaBrowser.Model/Dto/UserItemDataDto.cs+++ b/MediaBrowser.Model/Dto/UserItemDataDto.cs@@ -3,7 +3,7 @@ using System;namespace MediaBrowser.Model.Dto{/// <summary>- /// Class UserItemDataDto+ /// Class UserItemDataDto./// </summary>public class UserItemDataDto{diff --git a/MediaBrowser.Model/Entities/ChapterInfo.cs b/MediaBrowser.Model/Entities/ChapterInfo.csindex dfd6fdf4a3..c5c925c714 100644--- a/MediaBrowser.Model/Entities/ChapterInfo.cs+++ b/MediaBrowser.Model/Entities/ChapterInfo.cs@@ -1,9 +1,12 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;namespace MediaBrowser.Model.Entities{/// <summary>- /// Class ChapterInfo+ /// Class ChapterInfo./// </summary>public class ChapterInfo{diff --git a/MediaBrowser.Model/Entities/CollectionType.cs b/MediaBrowser.Model/Entities/CollectionType.csindex e26d1b8c3b..5d781e490f 100644--- a/MediaBrowser.Model/Entities/CollectionType.cs+++ b/MediaBrowser.Model/Entities/CollectionType.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Entities{public static class CollectionTypediff --git a/MediaBrowser.Model/Entities/DisplayPreferences.cs b/MediaBrowser.Model/Entities/DisplayPreferences.csindex f9b3ac7b36..499baa0588 100644--- a/MediaBrowser.Model/Entities/DisplayPreferences.cs+++ b/MediaBrowser.Model/Entities/DisplayPreferences.cs@@ -3,12 +3,12 @@ using System.Collections.Generic;namespace MediaBrowser.Model.Entities{/// <summary>- /// Defines the display preferences for any item that supports them (usually Folders)+ /// Defines the display preferences for any item that supports them (usually Folders)./// </summary>public class DisplayPreferences{/// <summary>- /// The image scale+ /// The image scale./// </summary>private const double ImageScale = .9;@@ -29,66 +29,79 @@ namespace MediaBrowser.Model.Entities/// </summary>/// <value>The user id.</value>public string Id { get; set; }+/// <summary>/// Gets or sets the type of the view./// </summary>/// <value>The type of the view.</value>public string ViewType { get; set; }+/// <summary>/// Gets or sets the sort by./// </summary>/// <value>The sort by.</value>public string SortBy { get; set; }+/// <summary>/// Gets or sets the index by./// </summary>/// <value>The index by.</value>public string IndexBy { get; set; }+/// <summary>/// Gets or sets a value indicating whether [remember indexing]./// </summary>/// <value><c>true</c> if [remember indexing]; otherwise, <c>false</c>.</value>public bool RememberIndexing { get; set; }+/// <summary>/// Gets or sets the height of the primary image./// </summary>/// <value>The height of the primary image.</value>public int PrimaryImageHeight { get; set; }+/// <summary>/// Gets or sets the width of the primary image./// </summary>/// <value>The width of the primary image.</value>public int PrimaryImageWidth { get; set; }+/// <summary>/// Gets or sets the custom prefs./// </summary>/// <value>The custom prefs.</value>public Dictionary<string, string> CustomPrefs { get; set; }+/// <summary>/// Gets or sets the scroll direction./// </summary>/// <value>The scroll direction.</value>public ScrollDirection ScrollDirection { get; set; }+/// <summary>/// Gets or sets a value indicating whether to show backdrops on this item./// </summary>/// <value><c>true</c> if showing backdrops; otherwise, <c>false</c>.</value>public bool ShowBackdrop { get; set; }+/// <summary>/// Gets or sets a value indicating whether [remember sorting]./// </summary>/// <value><c>true</c> if [remember sorting]; otherwise, <c>false</c>.</value>public bool RememberSorting { get; set; }+/// <summary>/// Gets or sets the sort order./// </summary>/// <value>The sort order.</value>public SortOrder SortOrder { get; set; }+/// <summary>/// Gets or sets a value indicating whether [show sidebar]./// </summary>/// <value><c>true</c> if [show sidebar]; otherwise, <c>false</c>.</value>public bool ShowSidebar { get; set; }+/// <summary>/// Gets or sets the client/// </summary>diff --git a/MediaBrowser.Model/Entities/EmptyRequestResult.cs b/MediaBrowser.Model/Entities/EmptyRequestResult.csdeleted file mode 100644index 5d29218e3c..0000000000--- a/MediaBrowser.Model/Entities/EmptyRequestResult.cs+++ /dev/null@@ -1,6 +0,0 @@-namespace MediaBrowser.Model.Entities-{- public class EmptyRequestResult- {- }-}diff --git a/MediaBrowser.Model/Entities/ExtraType.cs b/MediaBrowser.Model/Entities/ExtraType.csindex 97350b9554..ab82f73ef3 100644--- a/MediaBrowser.Model/Entities/ExtraType.cs+++ b/MediaBrowser.Model/Entities/ExtraType.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Entities{public enum ExtraTypediff --git a/MediaBrowser.Model/Entities/IHasProviderIds.cs b/MediaBrowser.Model/Entities/IHasProviderIds.csindex 3b8d74cb45..c117efde94 100644--- a/MediaBrowser.Model/Entities/IHasProviderIds.cs+++ b/MediaBrowser.Model/Entities/IHasProviderIds.cs@@ -3,7 +3,7 @@ using System.Collections.Generic;namespace MediaBrowser.Model.Entities{/// <summary>- /// Since BaseItem and DTOBaseItem both have ProviderIds, this interface helps avoid code repition by using extension methods+ /// Since BaseItem and DTOBaseItem both have ProviderIds, this interface helps avoid code repition by using extension methods./// </summary>public interface IHasProviderIds{diff --git a/MediaBrowser.Model/Entities/ImageType.cs b/MediaBrowser.Model/Entities/ImageType.csindex ce3560e78f..0f82080906 100644--- a/MediaBrowser.Model/Entities/ImageType.cs+++ b/MediaBrowser.Model/Entities/ImageType.cs@@ -1,56 +1,66 @@namespace MediaBrowser.Model.Entities{/// <summary>- /// Enum ImageType+ /// Enum ImageType./// </summary>public enum ImageType{/// <summary>- /// The primary+ /// The primary./// </summary>Primary = 0,+/// <summary>- /// The art+ /// The art./// </summary>Art = 1,+/// <summary>- /// The backdrop+ /// The backdrop./// </summary>Backdrop = 2,+/// <summary>- /// The banner+ /// The banner./// </summary>Banner = 3,+/// <summary>- /// The logo+ /// The logo./// </summary>Logo = 4,+/// <summary>- /// The thumb+ /// The thumb./// </summary>Thumb = 5,+/// <summary>- /// The disc+ /// The disc./// </summary>Disc = 6,+/// <summary>- /// The box+ /// The box./// </summary>Box = 7,/// <summary>- /// The screenshot+ /// The screenshot./// </summary>Screenshot = 8,+/// <summary>- /// The menu+ /// The menu./// </summary>Menu = 9,+/// <summary>- /// The chapter image+ /// The chapter image./// </summary>Chapter = 10,+/// <summary>- /// The box rear+ /// The box rear./// </summary>BoxRear = 11}diff --git a/MediaBrowser.Model/Entities/IsoType.cs b/MediaBrowser.Model/Entities/IsoType.csindex 8e4f0d63a4..1aa29f31d4 100644--- a/MediaBrowser.Model/Entities/IsoType.cs+++ b/MediaBrowser.Model/Entities/IsoType.cs@@ -1,16 +1,17 @@namespace MediaBrowser.Model.Entities{/// <summary>- /// Enum IsoType+ /// Enum IsoType./// </summary>public enum IsoType{/// <summary>- /// The DVD+ /// The DVD./// </summary>Dvd,+/// <summary>- /// The blu ray+ /// The blu ray./// </summary>BluRay}diff --git a/MediaBrowser.Model/Entities/LibraryUpdateInfo.cs b/MediaBrowser.Model/Entities/LibraryUpdateInfo.csindex b83df87e23..8b45e581dd 100644--- a/MediaBrowser.Model/Entities/LibraryUpdateInfo.cs+++ b/MediaBrowser.Model/Entities/LibraryUpdateInfo.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;namespace MediaBrowser.Model.Entitiesdiff --git a/MediaBrowser.Model/Entities/LocationType.cs b/MediaBrowser.Model/Entities/LocationType.csindex 52c08b28b5..879b31c5c8 100644--- a/MediaBrowser.Model/Entities/LocationType.cs+++ b/MediaBrowser.Model/Entities/LocationType.cs@@ -1,24 +1,27 @@namespace MediaBrowser.Model.Entities{/// <summary>- /// Enum LocationType+ /// Enum LocationType./// </summary>public enum LocationType{/// <summary>- /// The file system+ /// The file system./// </summary>FileSystem = 0,+/// <summary>- /// The remote+ /// The remote./// </summary>Remote = 1,+/// <summary>- /// The virtual+ /// The virtual./// </summary>Virtual = 2,+/// <summary>- /// The offline+ /// The offline./// </summary>Offline = 3}diff --git a/MediaBrowser.Model/Entities/MediaAttachment.cs b/MediaBrowser.Model/Entities/MediaAttachment.csindex 8f8c3efd20..167be18c95 100644--- a/MediaBrowser.Model/Entities/MediaAttachment.cs+++ b/MediaBrowser.Model/Entities/MediaAttachment.cs@@ -1,7 +1,7 @@namespace MediaBrowser.Model.Entities{/// <summary>- /// Class MediaAttachment+ /// Class MediaAttachment./// </summary>public class MediaAttachment{diff --git a/MediaBrowser.Model/Entities/MediaStream.cs b/MediaBrowser.Model/Entities/MediaStream.csindex 5122f42b8a..7f626c69b1 100644--- a/MediaBrowser.Model/Entities/MediaStream.cs+++ b/MediaBrowser.Model/Entities/MediaStream.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using System.Collections.Generic;using System.Globalization;diff --git a/MediaBrowser.Model/Entities/MediaStreamType.cs b/MediaBrowser.Model/Entities/MediaStreamType.csindex 4fc1e53727..e09aaf6d05 100644--- a/MediaBrowser.Model/Entities/MediaStreamType.cs+++ b/MediaBrowser.Model/Entities/MediaStreamType.cs@@ -1,24 +1,27 @@namespace MediaBrowser.Model.Entities{/// <summary>- /// Enum MediaStreamType+ /// Enum MediaStreamType./// </summary>public enum MediaStreamType{/// <summary>- /// The audio+ /// The audio./// </summary>Audio,+/// <summary>- /// The video+ /// The video./// </summary>Video,+/// <summary>- /// The subtitle+ /// The subtitle./// </summary>Subtitle,+/// <summary>- /// The embedded image+ /// The embedded image./// </summary>EmbeddedImage}diff --git a/MediaBrowser.Model/Entities/MediaType.cs b/MediaBrowser.Model/Entities/MediaType.csindex d8b02c9eae..dd2ae810be 100644--- a/MediaBrowser.Model/Entities/MediaType.cs+++ b/MediaBrowser.Model/Entities/MediaType.cs@@ -1,27 +1,27 @@namespace MediaBrowser.Model.Entities{/// <summary>- /// Class MediaType+ /// Class MediaType./// </summary>public static class MediaType{/// <summary>- /// The video+ /// The video./// </summary>public const string Video = "Video";/// <summary>- /// The audio+ /// The audio./// </summary>public const string Audio = "Audio";/// <summary>- /// The photo+ /// The photo./// </summary>public const string Photo = "Photo";/// <summary>- /// The book+ /// The book./// </summary>public const string Book = "Book";}diff --git a/MediaBrowser.Model/Entities/MediaUrl.cs b/MediaBrowser.Model/Entities/MediaUrl.csindex 428c895b6e..9e30648ad6 100644--- a/MediaBrowser.Model/Entities/MediaUrl.cs+++ b/MediaBrowser.Model/Entities/MediaUrl.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Entities{public class MediaUrldiff --git a/MediaBrowser.Model/Entities/MetadataFields.cs b/MediaBrowser.Model/Entities/MetadataFields.csindex a7947a933b..d64d4f4da9 100644--- a/MediaBrowser.Model/Entities/MetadataFields.cs+++ b/MediaBrowser.Model/Entities/MetadataFields.cs@@ -1,44 +1,52 @@namespace MediaBrowser.Model.Entities{/// <summary>- /// Enum MetadataFields+ /// Enum MetadataFields./// </summary>public enum MetadataFields{/// <summary>- /// The cast+ /// The cast./// </summary>Cast,+/// <summary>- /// The genres+ /// The genres./// </summary>Genres,+/// <summary>- /// The production locations+ /// The production locations./// </summary>ProductionLocations,+/// <summary>- /// The studios+ /// The studios./// </summary>Studios,+/// <summary>- /// The tags+ /// The tags./// </summary>Tags,+/// <summary>- /// The name+ /// The name./// </summary>Name,+/// <summary>- /// The overview+ /// The overview./// </summary>Overview,+/// <summary>- /// The runtime+ /// The runtime./// </summary>Runtime,+/// <summary>- /// The official rating+ /// The official rating./// </summary>OfficialRating}diff --git a/MediaBrowser.Model/Entities/MetadataProviders.cs b/MediaBrowser.Model/Entities/MetadataProviders.csindex e9802cf460..38c406170a 100644--- a/MediaBrowser.Model/Entities/MetadataProviders.cs+++ b/MediaBrowser.Model/Entities/MetadataProviders.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Entities{/// <summary>diff --git a/MediaBrowser.Model/Entities/PackageReviewInfo.cs b/MediaBrowser.Model/Entities/PackageReviewInfo.csindex b73ba8dd0e..dd6be24bc3 100644--- a/MediaBrowser.Model/Entities/PackageReviewInfo.cs+++ b/MediaBrowser.Model/Entities/PackageReviewInfo.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;namespace MediaBrowser.Model.Entitiesdiff --git a/MediaBrowser.Model/Entities/ParentalRating.cs b/MediaBrowser.Model/Entities/ParentalRating.csindex a22e119fa0..d00341c185 100644--- a/MediaBrowser.Model/Entities/ParentalRating.cs+++ b/MediaBrowser.Model/Entities/ParentalRating.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Entities{/// <summary>diff --git a/MediaBrowser.Model/Entities/PersonType.cs b/MediaBrowser.Model/Entities/PersonType.csindex 72e3538fcb..81db9c6131 100644--- a/MediaBrowser.Model/Entities/PersonType.cs+++ b/MediaBrowser.Model/Entities/PersonType.cs@@ -1,40 +1,47 @@namespace MediaBrowser.Model.Entities{/// <summary>- /// Struct PersonType+ /// Struct PersonType./// </summary>public class PersonType{/// <summary>- /// The actor+ /// The actor./// </summary>public const string Actor = "Actor";+/// <summary>- /// The director+ /// The director./// </summary>public const string Director = "Director";+/// <summary>- /// The composer+ /// The composer./// </summary>public const string Composer = "Composer";+/// <summary>- /// The writer+ /// The writer./// </summary>public const string Writer = "Writer";+/// <summary>- /// The guest star+ /// The guest star./// </summary>public const string GuestStar = "GuestStar";+/// <summary>- /// The producer+ /// The producer./// </summary>public const string Producer = "Producer";+/// <summary>- /// The conductor+ /// The conductor./// </summary>public const string Conductor = "Conductor";+/// <summary>- /// The lyricist+ /// The lyricist./// </summary>public const string Lyricist = "Lyricist";}diff --git a/MediaBrowser.Model/Entities/ProviderIdsExtensions.cs b/MediaBrowser.Model/Entities/ProviderIdsExtensions.csindex a151bb3bb1..cd387bd546 100644--- a/MediaBrowser.Model/Entities/ProviderIdsExtensions.cs+++ b/MediaBrowser.Model/Entities/ProviderIdsExtensions.cs@@ -4,7 +4,7 @@ using System.Collections.Generic;namespace MediaBrowser.Model.Entities{/// <summary>- /// Class ProviderIdsExtensions+ /// Class ProviderIdsExtensions./// </summary>public static class ProviderIdsExtensions{diff --git a/MediaBrowser.Model/Entities/ScrollDirection.cs b/MediaBrowser.Model/Entities/ScrollDirection.csindex bc66364f7d..a1de0edcbb 100644--- a/MediaBrowser.Model/Entities/ScrollDirection.cs+++ b/MediaBrowser.Model/Entities/ScrollDirection.cs@@ -1,16 +1,17 @@namespace MediaBrowser.Model.Entities{/// <summary>- /// Enum ScrollDirection+ /// Enum ScrollDirection./// </summary>public enum ScrollDirection{/// <summary>- /// The horizontal+ /// The horizontal./// </summary>Horizontal,+/// <summary>- /// The vertical+ /// The vertical./// </summary>Vertical}diff --git a/MediaBrowser.Model/Entities/SeriesStatus.cs b/MediaBrowser.Model/Entities/SeriesStatus.csindex cab6a83e8b..51351c1355 100644--- a/MediaBrowser.Model/Entities/SeriesStatus.cs+++ b/MediaBrowser.Model/Entities/SeriesStatus.cs@@ -1,16 +1,17 @@namespace MediaBrowser.Model.Entities{/// <summary>- /// Enum SeriesStatus+ /// Enum SeriesStatus./// </summary>public enum SeriesStatus{/// <summary>- /// The continuing+ /// The continuing./// </summary>Continuing,+/// <summary>- /// The ended+ /// The ended./// </summary>Ended}diff --git a/MediaBrowser.Model/Entities/SortOrder.cs b/MediaBrowser.Model/Entities/SortOrder.csindex 558ebeac2a..e6cb6fd09e 100644--- a/MediaBrowser.Model/Entities/SortOrder.cs+++ b/MediaBrowser.Model/Entities/SortOrder.cs@@ -1,16 +1,17 @@namespace MediaBrowser.Model.Entities{/// <summary>- /// Enum SortOrder+ /// Enum SortOrder./// </summary>public enum SortOrder{/// <summary>- /// The ascending+ /// The ascending./// </summary>Ascending,+/// <summary>- /// The descending+ /// The descending./// </summary>Descending}diff --git a/MediaBrowser.Model/Entities/TrailerType.cs b/MediaBrowser.Model/Entities/TrailerType.csindex 73be5d7cae..e72741d233 100644--- a/MediaBrowser.Model/Entities/TrailerType.cs+++ b/MediaBrowser.Model/Entities/TrailerType.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Entities{public enum TrailerTypediff --git a/MediaBrowser.Model/Entities/UserDataSaveReason.cs b/MediaBrowser.Model/Entities/UserDataSaveReason.csindex bd7471682f..20404e6f4d 100644--- a/MediaBrowser.Model/Entities/UserDataSaveReason.cs+++ b/MediaBrowser.Model/Entities/UserDataSaveReason.cs@@ -1,32 +1,37 @@namespace MediaBrowser.Model.Entities{/// <summary>- /// Enum UserDataSaveReason+ /// Enum UserDataSaveReason./// </summary>public enum UserDataSaveReason{/// <summary>- /// The playback start+ /// The playback start./// </summary>PlaybackStart = 1,+/// <summary>- /// The playback progress+ /// The playback progress./// </summary>PlaybackProgress = 2,+/// <summary>- /// The playback finished+ /// The playback finished./// </summary>PlaybackFinished = 3,+/// <summary>- /// The toggle played+ /// The toggle played./// </summary>TogglePlayed = 4,+/// <summary>- /// The update user rating+ /// The update user rating./// </summary>UpdateUserRating = 5,+/// <summary>- /// The import+ /// The import./// </summary>Import = 6}diff --git a/MediaBrowser.Model/Entities/Video3DFormat.cs b/MediaBrowser.Model/Entities/Video3DFormat.csindex 89923ae525..b7789e858c 100644--- a/MediaBrowser.Model/Entities/Video3DFormat.cs+++ b/MediaBrowser.Model/Entities/Video3DFormat.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Entities{public enum Video3DFormatdiff --git a/MediaBrowser.Model/Entities/VideoType.cs b/MediaBrowser.Model/Entities/VideoType.csindex 95d69fb7bb..172796301d 100644--- a/MediaBrowser.Model/Entities/VideoType.cs+++ b/MediaBrowser.Model/Entities/VideoType.cs@@ -1,24 +1,27 @@namespace MediaBrowser.Model.Entities{/// <summary>- /// Enum VideoType+ /// Enum VideoType./// </summary>public enum VideoType{/// <summary>- /// The video file+ /// The video file./// </summary>VideoFile,+/// <summary>- /// The iso+ /// The iso./// </summary>Iso,+/// <summary>- /// The DVD+ /// The DVD./// </summary>Dvd,+/// <summary>- /// The blu ray+ /// The blu ray./// </summary>BluRay}diff --git a/MediaBrowser.Model/Entities/VirtualFolderInfo.cs b/MediaBrowser.Model/Entities/VirtualFolderInfo.csindex 6bdbdb489e..0d4acd18b8 100644--- a/MediaBrowser.Model/Entities/VirtualFolderInfo.cs+++ b/MediaBrowser.Model/Entities/VirtualFolderInfo.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using MediaBrowser.Model.Configuration;diff --git a/MediaBrowser.Model/Events/GenericEventArgs.cs b/MediaBrowser.Model/Events/GenericEventArgs.csindex fc8bc620f9..1ef0b25c98 100644--- a/MediaBrowser.Model/Events/GenericEventArgs.cs+++ b/MediaBrowser.Model/Events/GenericEventArgs.cs@@ -3,7 +3,7 @@ using System;namespace MediaBrowser.Model.Events{/// <summary>- /// Provides a generic EventArgs subclass that can hold any kind of object+ /// Provides a generic EventArgs subclass that can hold any kind of object./// </summary>/// <typeparam name="T"></typeparam>public class GenericEventArgs<T> : EventArgsdiff --git a/MediaBrowser.Model/Extensions/ListHelper.cs b/MediaBrowser.Model/Extensions/ListHelper.csindex d751f77a77..16919d616e 100644--- a/MediaBrowser.Model/Extensions/ListHelper.cs+++ b/MediaBrowser.Model/Extensions/ListHelper.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;namespace MediaBrowser.Model.Extensionsdiff --git a/MediaBrowser.Model/Globalization/CountryInfo.cs b/MediaBrowser.Model/Globalization/CountryInfo.csindex 3ae59494f6..72362f4f31 100644--- a/MediaBrowser.Model/Globalization/CountryInfo.cs+++ b/MediaBrowser.Model/Globalization/CountryInfo.cs@@ -1,7 +1,7 @@namespace MediaBrowser.Model.Globalization{/// <summary>- /// Class CountryInfo+ /// Class CountryInfo./// </summary>public class CountryInfo{diff --git a/MediaBrowser.Model/Globalization/CultureDto.cs b/MediaBrowser.Model/Globalization/CultureDto.csindex a213d4147f..cfd8d33bd7 100644--- a/MediaBrowser.Model/Globalization/CultureDto.cs+++ b/MediaBrowser.Model/Globalization/CultureDto.cs@@ -1,9 +1,12 @@-using global::System;+#pragma warning disable CS1591+#pragma warning disable SA1600++using System;namespace MediaBrowser.Model.Globalization{/// <summary>- /// Class CultureDto+ /// Class CultureDto./// </summary>public class CultureDto{diff --git a/MediaBrowser.Model/Globalization/ILocalizationManager.cs b/MediaBrowser.Model/Globalization/ILocalizationManager.csindex 0b6cfe1b71..613bfca695 100644--- a/MediaBrowser.Model/Globalization/ILocalizationManager.cs+++ b/MediaBrowser.Model/Globalization/ILocalizationManager.cs@@ -5,7 +5,7 @@ using MediaBrowser.Model.Entities;namespace MediaBrowser.Model.Globalization{/// <summary>- /// Interface ILocalizationManager+ /// Interface ILocalizationManager./// </summary>public interface ILocalizationManager{diff --git a/MediaBrowser.Model/Globalization/LocalizationOption.cs b/MediaBrowser.Model/Globalization/LocalizationOption.csindex c4c9a89196..af617d975b 100644--- a/MediaBrowser.Model/Globalization/LocalizationOption.cs+++ b/MediaBrowser.Model/Globalization/LocalizationOption.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Globalization{public class LocalizationOptiondiff --git a/MediaBrowser.Model/IO/FileSystemEntryType.cs b/MediaBrowser.Model/IO/FileSystemEntryType.csindex a4ed2334d6..7780d6fcc7 100644--- a/MediaBrowser.Model/IO/FileSystemEntryType.cs+++ b/MediaBrowser.Model/IO/FileSystemEntryType.cs@@ -1,24 +1,27 @@namespace MediaBrowser.Model.IO{/// <summary>- /// Enum FileSystemEntryType+ /// Enum FileSystemEntryType./// </summary>public enum FileSystemEntryType{/// <summary>- /// The file+ /// The file./// </summary>File,+/// <summary>- /// The directory+ /// The directory./// </summary>Directory,+/// <summary>- /// The network computer+ /// The network computer./// </summary>NetworkComputer,+/// <summary>- /// The network share+ /// The network share./// </summary>NetworkShare}diff --git a/MediaBrowser.Model/IO/FileSystemMetadata.cs b/MediaBrowser.Model/IO/FileSystemMetadata.csindex 2a6d139599..8010e2dcd0 100644--- a/MediaBrowser.Model/IO/FileSystemMetadata.cs+++ b/MediaBrowser.Model/IO/FileSystemMetadata.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;namespace MediaBrowser.Model.IO@@ -9,26 +12,31 @@ namespace MediaBrowser.Model.IO/// </summary>/// <value><c>true</c> if exists; otherwise, <c>false</c>.</value>public bool Exists { get; set; }+/// <summary>/// Gets or sets the full name./// </summary>/// <value>The full name.</value>public string FullName { get; set; }+/// <summary>/// Gets or sets the name./// </summary>/// <value>The name.</value>public string Name { get; set; }+/// <summary>/// Gets or sets the extension./// </summary>/// <value>The extension.</value>public string Extension { get; set; }+/// <summary>/// Gets or sets the length./// </summary>/// <value>The length.</value>public long Length { get; set; }+/// <summary>/// Gets or sets the name of the directory./// </summary>@@ -40,11 +48,13 @@ namespace MediaBrowser.Model.IO/// </summary>/// <value>The last write time UTC.</value>public DateTime LastWriteTimeUtc { get; set; }+/// <summary>/// Gets or sets the creation time UTC./// </summary>/// <value>The creation time UTC.</value>public DateTime CreationTimeUtc { get; set; }+/// <summary>/// Gets a value indicating whether this instance is directory./// </summary>diff --git a/MediaBrowser.Model/IO/IFileSystem.cs b/MediaBrowser.Model/IO/IFileSystem.csindex 6a874d0470..7e6fe7c098 100644--- a/MediaBrowser.Model/IO/IFileSystem.cs+++ b/MediaBrowser.Model/IO/IFileSystem.cs@@ -1,10 +1,13 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using System.Collections.Generic;namespace MediaBrowser.Model.IO{/// <summary>- /// Interface IFileSystem+ /// Interface IFileSystem./// </summary>public interface IFileSystem{diff --git a/MediaBrowser.Model/IO/IIsoManager.cs b/MediaBrowser.Model/IO/IIsoManager.csindex eb0cb4bfbb..1a11b6f700 100644--- a/MediaBrowser.Model/IO/IIsoManager.cs+++ b/MediaBrowser.Model/IO/IIsoManager.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using System.Collections.Generic;using System.IO;diff --git a/MediaBrowser.Model/IO/IIsoMount.cs b/MediaBrowser.Model/IO/IIsoMount.csindex 825c0c2435..72ec673ee1 100644--- a/MediaBrowser.Model/IO/IIsoMount.cs+++ b/MediaBrowser.Model/IO/IIsoMount.cs@@ -3,7 +3,7 @@ using System;namespace MediaBrowser.Model.IO{/// <summary>- /// Interface IIsoMount+ /// Interface IIsoMount./// </summary>public interface IIsoMount : IDisposable{diff --git a/MediaBrowser.Model/IO/IIsoMounter.cs b/MediaBrowser.Model/IO/IIsoMounter.csindex 766a9e4e6c..1d110e82fb 100644--- a/MediaBrowser.Model/IO/IIsoMounter.cs+++ b/MediaBrowser.Model/IO/IIsoMounter.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using System.IO;using System.Threading;diff --git a/MediaBrowser.Model/IO/IShortcutHandler.cs b/MediaBrowser.Model/IO/IShortcutHandler.csindex 2cc18274b6..69b6f35e71 100644--- a/MediaBrowser.Model/IO/IShortcutHandler.cs+++ b/MediaBrowser.Model/IO/IShortcutHandler.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.IO{public interface IShortcutHandler@@ -7,12 +10,14 @@ namespace MediaBrowser.Model.IO/// </summary>/// <value>The extension.</value>string Extension { get; }+/// <summary>/// Resolves the specified shortcut path./// </summary>/// <param name="shortcutPath">The shortcut path.</param>/// <returns>System.String.</returns>string Resolve(string shortcutPath);+/// <summary>/// Creates the specified shortcut path./// </summary>diff --git a/MediaBrowser.Model/IO/IStreamHelper.cs b/MediaBrowser.Model/IO/IStreamHelper.csindex 97d985df6c..21a5929711 100644--- a/MediaBrowser.Model/IO/IStreamHelper.cs+++ b/MediaBrowser.Model/IO/IStreamHelper.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using System.IO;using System.Threading;diff --git a/MediaBrowser.Model/IO/IZipClient.cs b/MediaBrowser.Model/IO/IZipClient.csindex eaddd6df32..1ae3893ac4 100644--- a/MediaBrowser.Model/IO/IZipClient.cs+++ b/MediaBrowser.Model/IO/IZipClient.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System.IO;namespace MediaBrowser.Model.IOdiff --git a/MediaBrowser.Model/Library/PlayAccess.cs b/MediaBrowser.Model/Library/PlayAccess.csindex 2fd754f5ef..fd7cf8d32b 100644--- a/MediaBrowser.Model/Library/PlayAccess.cs+++ b/MediaBrowser.Model/Library/PlayAccess.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Library{public enum PlayAccessdiff --git a/MediaBrowser.Model/Library/UserViewQuery.cs b/MediaBrowser.Model/Library/UserViewQuery.csindex c2e1896035..ac2583179f 100644--- a/MediaBrowser.Model/Library/UserViewQuery.cs+++ b/MediaBrowser.Model/Library/UserViewQuery.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;namespace MediaBrowser.Model.Librarydiff --git a/MediaBrowser.Model/LiveTv/BaseTimerInfoDto.cs b/MediaBrowser.Model/LiveTv/BaseTimerInfoDto.csindex 311b5b0c5c..b5f3ccd3fe 100644--- a/MediaBrowser.Model/LiveTv/BaseTimerInfoDto.cs+++ b/MediaBrowser.Model/LiveTv/BaseTimerInfoDto.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using MediaBrowser.Model.Dto;diff --git a/MediaBrowser.Model/LiveTv/ChannelType.cs b/MediaBrowser.Model/LiveTv/ChannelType.csindex 8808aa6d2c..b6974cb085 100644--- a/MediaBrowser.Model/LiveTv/ChannelType.cs+++ b/MediaBrowser.Model/LiveTv/ChannelType.cs@@ -1,7 +1,7 @@namespace MediaBrowser.Model.LiveTv{/// <summary>- /// Enum ChannelType+ /// Enum ChannelType./// </summary>public enum ChannelType{@@ -11,7 +11,7 @@ namespace MediaBrowser.Model.LiveTvTV,/// <summary>- /// The radio+ /// The radio./// </summary>Radio}diff --git a/MediaBrowser.Model/LiveTv/DayPattern.cs b/MediaBrowser.Model/LiveTv/DayPattern.csindex 73b15507b6..0fd856fbff 100644--- a/MediaBrowser.Model/LiveTv/DayPattern.cs+++ b/MediaBrowser.Model/LiveTv/DayPattern.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.LiveTv{public enum DayPatterndiff --git a/MediaBrowser.Model/LiveTv/GuideInfo.cs b/MediaBrowser.Model/LiveTv/GuideInfo.csindex 1303c278ea..e0d4d83267 100644--- a/MediaBrowser.Model/LiveTv/GuideInfo.cs+++ b/MediaBrowser.Model/LiveTv/GuideInfo.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;namespace MediaBrowser.Model.LiveTvdiff --git a/MediaBrowser.Model/LiveTv/LiveTvChannelQuery.cs b/MediaBrowser.Model/LiveTv/LiveTvChannelQuery.csindex eedf89db0f..95d13761a8 100644--- a/MediaBrowser.Model/LiveTv/LiveTvChannelQuery.cs+++ b/MediaBrowser.Model/LiveTv/LiveTvChannelQuery.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using MediaBrowser.Model.Entities;diff --git a/MediaBrowser.Model/LiveTv/LiveTvInfo.cs b/MediaBrowser.Model/LiveTv/LiveTvInfo.csindex 60cb273311..42d5a21a22 100644--- a/MediaBrowser.Model/LiveTv/LiveTvInfo.cs+++ b/MediaBrowser.Model/LiveTv/LiveTvInfo.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;namespace MediaBrowser.Model.LiveTvdiff --git a/MediaBrowser.Model/LiveTv/LiveTvOptions.cs b/MediaBrowser.Model/LiveTv/LiveTvOptions.csindex 36fe0c3d23..f88a0195fb 100644--- a/MediaBrowser.Model/LiveTv/LiveTvOptions.cs+++ b/MediaBrowser.Model/LiveTv/LiveTvOptions.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using MediaBrowser.Model.Dto;diff --git a/MediaBrowser.Model/LiveTv/LiveTvServiceInfo.cs b/MediaBrowser.Model/LiveTv/LiveTvServiceInfo.csindex 9ad13391a9..ee0696176f 100644--- a/MediaBrowser.Model/LiveTv/LiveTvServiceInfo.cs+++ b/MediaBrowser.Model/LiveTv/LiveTvServiceInfo.cs@@ -1,9 +1,12 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;namespace MediaBrowser.Model.LiveTv{/// <summary>- /// Class ServiceInfo+ /// Class ServiceInfo./// </summary>public class LiveTvServiceInfo{@@ -42,6 +45,7 @@ namespace MediaBrowser.Model.LiveTv/// </summary>/// <value><c>true</c> if this instance has update available; otherwise, <c>false</c>.</value>public bool HasUpdateAvailable { get; set; }+/// <summary>/// Gets or sets a value indicating whether this instance is visible./// </summary>diff --git a/MediaBrowser.Model/LiveTv/LiveTvServiceStatus.cs b/MediaBrowser.Model/LiveTv/LiveTvServiceStatus.csindex 7578f329a8..5c0cb1baae 100644--- a/MediaBrowser.Model/LiveTv/LiveTvServiceStatus.cs+++ b/MediaBrowser.Model/LiveTv/LiveTvServiceStatus.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.LiveTv{public enum LiveTvServiceStatusdiff --git a/MediaBrowser.Model/LiveTv/LiveTvTunerStatus.cs b/MediaBrowser.Model/LiveTv/LiveTvTunerStatus.csindex f7f521e43e..d52efe55bf 100644--- a/MediaBrowser.Model/LiveTv/LiveTvTunerStatus.cs+++ b/MediaBrowser.Model/LiveTv/LiveTvTunerStatus.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.LiveTv{public enum LiveTvTunerStatusdiff --git a/MediaBrowser.Model/LiveTv/ProgramAudio.cs b/MediaBrowser.Model/LiveTv/ProgramAudio.csindex 158d67eb9b..f9c9ee4114 100644--- a/MediaBrowser.Model/LiveTv/ProgramAudio.cs+++ b/MediaBrowser.Model/LiveTv/ProgramAudio.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.LiveTv{public enum ProgramAudiodiff --git a/MediaBrowser.Model/LiveTv/RecordingQuery.cs b/MediaBrowser.Model/LiveTv/RecordingQuery.csindex f98d7fe867..be2e273d90 100644--- a/MediaBrowser.Model/LiveTv/RecordingQuery.cs+++ b/MediaBrowser.Model/LiveTv/RecordingQuery.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using MediaBrowser.Model.Entities;using MediaBrowser.Model.Querying;diff --git a/MediaBrowser.Model/LiveTv/RecordingStatus.cs b/MediaBrowser.Model/LiveTv/RecordingStatus.csindex d3270c4d37..17e498c883 100644--- a/MediaBrowser.Model/LiveTv/RecordingStatus.cs+++ b/MediaBrowser.Model/LiveTv/RecordingStatus.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.LiveTv{public enum RecordingStatusdiff --git a/MediaBrowser.Model/LiveTv/SeriesTimerInfoDto.cs b/MediaBrowser.Model/LiveTv/SeriesTimerInfoDto.csindex 72c7a0c901..bd518c1db4 100644--- a/MediaBrowser.Model/LiveTv/SeriesTimerInfoDto.cs+++ b/MediaBrowser.Model/LiveTv/SeriesTimerInfoDto.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using System.Collections.Generic;using MediaBrowser.Model.Entities;diff --git a/MediaBrowser.Model/LiveTv/SeriesTimerQuery.cs b/MediaBrowser.Model/LiveTv/SeriesTimerQuery.csindex a15ba7a129..22d408b048 100644--- a/MediaBrowser.Model/LiveTv/SeriesTimerQuery.cs+++ b/MediaBrowser.Model/LiveTv/SeriesTimerQuery.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using MediaBrowser.Model.Entities;namespace MediaBrowser.Model.LiveTvdiff --git a/MediaBrowser.Model/LiveTv/TimerInfoDto.cs b/MediaBrowser.Model/LiveTv/TimerInfoDto.csindex 208f731c5d..d6d112572f 100644--- a/MediaBrowser.Model/LiveTv/TimerInfoDto.cs+++ b/MediaBrowser.Model/LiveTv/TimerInfoDto.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using MediaBrowser.Model.Dto;namespace MediaBrowser.Model.LiveTvdiff --git a/MediaBrowser.Model/LiveTv/TimerQuery.cs b/MediaBrowser.Model/LiveTv/TimerQuery.csindex 1478cc148b..e7f37b536e 100644--- a/MediaBrowser.Model/LiveTv/TimerQuery.cs+++ b/MediaBrowser.Model/LiveTv/TimerQuery.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.LiveTv{public class TimerQuerydiff --git a/MediaBrowser.Model/MediaBrowser.Model.csproj b/MediaBrowser.Model/MediaBrowser.Model.csprojindex dc9c78ab16..6576657662 100644--- a/MediaBrowser.Model/MediaBrowser.Model.csproj+++ b/MediaBrowser.Model/MediaBrowser.Model.csproj@@ -11,6 +11,7 @@<TargetFramework>netstandard2.1</TargetFramework><GenerateAssemblyInfo>false</GenerateAssemblyInfo><GenerateDocumentationFile>true</GenerateDocumentationFile>+ <TreatWarningsAsErrors Condition=" '$(Configuration)' == 'Release' " >true</TreatWarningsAsErrors></PropertyGroup><ItemGroup>@@ -24,4 +25,16 @@<Compile Include="..\SharedVersion.cs" /></ItemGroup>+ <!-- Code Analyzers-->+ <ItemGroup Condition=" '$(Configuration)' == 'Debug' ">+ <PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.9.8" PrivateAssets="All" />+ <PackageReference Include="SerilogAnalyzer" Version="0.15.0" PrivateAssets="All" />+ <PackageReference Include="StyleCop.Analyzers" Version="1.1.118" PrivateAssets="All" />+ <PackageReference Include="SmartAnalyzers.MultithreadingAnalyzer" Version="1.1.31" PrivateAssets="All" />+ </ItemGroup>++ <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">+ <CodeAnalysisRuleSet>../jellyfin.ruleset</CodeAnalysisRuleSet>+ </PropertyGroup>+</Project>diff --git a/MediaBrowser.Model/MediaInfo/AudioCodec.cs b/MediaBrowser.Model/MediaInfo/AudioCodec.csindex 5ebdb99cb6..171a061147 100644--- a/MediaBrowser.Model/MediaInfo/AudioCodec.cs+++ b/MediaBrowser.Model/MediaInfo/AudioCodec.cs@@ -1,6 +1,9 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.MediaInfo{- public class AudioCodec+ public static class AudioCodec{public const string AAC = "aac";public const string MP3 = "mp3";diff --git a/MediaBrowser.Model/MediaInfo/BlurayDiscInfo.cs b/MediaBrowser.Model/MediaInfo/BlurayDiscInfo.csindex e728ecdfdb..dc46fb7b27 100644--- a/MediaBrowser.Model/MediaInfo/BlurayDiscInfo.cs+++ b/MediaBrowser.Model/MediaInfo/BlurayDiscInfo.cs@@ -1,9 +1,12 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using MediaBrowser.Model.Entities;namespace MediaBrowser.Model.MediaInfo{/// <summary>- /// Represents the result of BDInfo output+ /// Represents the result of BDInfo output./// </summary>public class BlurayDiscInfo{diff --git a/MediaBrowser.Model/MediaInfo/Container.cs b/MediaBrowser.Model/MediaInfo/Container.csdeleted file mode 100644index f8d56702df..0000000000--- a/MediaBrowser.Model/MediaInfo/Container.cs+++ /dev/null@@ -1,8 +0,0 @@-namespace MediaBrowser.Model.MediaInfo-{- public class Container- {- public const string MP4 = "mp4";- public const string MKV = "mkv";- }-}diff --git a/MediaBrowser.Model/MediaInfo/IBlurayExaminer.cs b/MediaBrowser.Model/MediaInfo/IBlurayExaminer.csindex 27137ab261..5b7d1d03c3 100644--- a/MediaBrowser.Model/MediaInfo/IBlurayExaminer.cs+++ b/MediaBrowser.Model/MediaInfo/IBlurayExaminer.cs@@ -1,7 +1,7 @@namespace MediaBrowser.Model.MediaInfo{/// <summary>- /// Interface IBlurayExaminer+ /// Interface IBlurayExaminer./// </summary>public interface IBlurayExaminer{diff --git a/MediaBrowser.Model/MediaInfo/LiveStreamRequest.cs b/MediaBrowser.Model/MediaInfo/LiveStreamRequest.csindex a5ae7c7a51..94eab8d373 100644--- a/MediaBrowser.Model/MediaInfo/LiveStreamRequest.cs+++ b/MediaBrowser.Model/MediaInfo/LiveStreamRequest.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using MediaBrowser.Model.Dlna;diff --git a/MediaBrowser.Model/MediaInfo/LiveStreamResponse.cs b/MediaBrowser.Model/MediaInfo/LiveStreamResponse.csindex dd4b694697..aa27f699f8 100644--- a/MediaBrowser.Model/MediaInfo/LiveStreamResponse.cs+++ b/MediaBrowser.Model/MediaInfo/LiveStreamResponse.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using MediaBrowser.Model.Dto;namespace MediaBrowser.Model.MediaInfodiff --git a/MediaBrowser.Model/MediaInfo/MediaInfo.cs b/MediaBrowser.Model/MediaInfo/MediaInfo.csindex 9d45a2af13..6ad766d399 100644--- a/MediaBrowser.Model/MediaInfo/MediaInfo.cs+++ b/MediaBrowser.Model/MediaInfo/MediaInfo.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using System.Collections.Generic;using MediaBrowser.Model.Dto;@@ -14,16 +17,19 @@ namespace MediaBrowser.Model.MediaInfo/// </summary>/// <value>The album.</value>public string Album { get; set; }+/// <summary>/// Gets or sets the artists./// </summary>/// <value>The artists.</value>public string[] Artists { get; set; }+/// <summary>/// Gets or sets the album artists./// </summary>/// <value>The album artists.</value>public string[] AlbumArtists { get; set; }+/// <summary>/// Gets or sets the studios./// </summary>@@ -36,16 +42,19 @@ namespace MediaBrowser.Model.MediaInfopublic DateTime? PremiereDate { get; set; }public BaseItemPerson[] People { get; set; }public Dictionary<string, string> ProviderIds { get; set; }+/// <summary>/// Gets or sets the official rating./// </summary>/// <value>The official rating.</value>public string OfficialRating { get; set; }+/// <summary>/// Gets or sets the official rating description./// </summary>/// <value>The official rating description.</value>public string OfficialRatingDescription { get; set; }+/// <summary>/// Gets or sets the overview./// </summary>diff --git a/MediaBrowser.Model/MediaInfo/MediaProtocol.cs b/MediaBrowser.Model/MediaInfo/MediaProtocol.csindex a993f60751..8b6b036251 100644--- a/MediaBrowser.Model/MediaInfo/MediaProtocol.cs+++ b/MediaBrowser.Model/MediaInfo/MediaProtocol.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.MediaInfo{public enum MediaProtocoldiff --git a/MediaBrowser.Model/MediaInfo/PlaybackInfoRequest.cs b/MediaBrowser.Model/MediaInfo/PlaybackInfoRequest.csindex e5fad4e114..f09494039b 100644--- a/MediaBrowser.Model/MediaInfo/PlaybackInfoRequest.cs+++ b/MediaBrowser.Model/MediaInfo/PlaybackInfoRequest.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using MediaBrowser.Model.Dlna;diff --git a/MediaBrowser.Model/MediaInfo/SubtitleFormat.cs b/MediaBrowser.Model/MediaInfo/SubtitleFormat.csindex 208e9bab96..58edb7e734 100644--- a/MediaBrowser.Model/MediaInfo/SubtitleFormat.cs+++ b/MediaBrowser.Model/MediaInfo/SubtitleFormat.cs@@ -1,6 +1,9 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.MediaInfo{- public class SubtitleFormat+ public static class SubtitleFormat{public const string SRT = "srt";public const string SSA = "ssa";diff --git a/MediaBrowser.Model/MediaInfo/SubtitleTrackEvent.cs b/MediaBrowser.Model/MediaInfo/SubtitleTrackEvent.csindex 4eb000e58d..18ea69afb9 100644--- a/MediaBrowser.Model/MediaInfo/SubtitleTrackEvent.cs+++ b/MediaBrowser.Model/MediaInfo/SubtitleTrackEvent.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.MediaInfo{public class SubtitleTrackEventdiff --git a/MediaBrowser.Model/MediaInfo/SubtitleTrackInfo.cs b/MediaBrowser.Model/MediaInfo/SubtitleTrackInfo.csindex c382b20c9a..bec0e02aad 100644--- a/MediaBrowser.Model/MediaInfo/SubtitleTrackInfo.cs+++ b/MediaBrowser.Model/MediaInfo/SubtitleTrackInfo.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using System.Collections.Generic;diff --git a/MediaBrowser.Model/MediaInfo/TransportStreamTimestamp.cs b/MediaBrowser.Model/MediaInfo/TransportStreamTimestamp.csindex 46ce2302e0..b229f44d83 100644--- a/MediaBrowser.Model/MediaInfo/TransportStreamTimestamp.cs+++ b/MediaBrowser.Model/MediaInfo/TransportStreamTimestamp.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.MediaInfo{public enum TransportStreamTimestampdiff --git a/MediaBrowser.Model/MediaInfo/VideoCodec.cs b/MediaBrowser.Model/MediaInfo/VideoCodec.csdeleted file mode 100644index a26ce1b708..0000000000--- a/MediaBrowser.Model/MediaInfo/VideoCodec.cs+++ /dev/null@@ -1,14 +0,0 @@-namespace MediaBrowser.Model.MediaInfo-{- public class VideoCodec- {- public const string H263 = "h263";- public const string H264 = "h264";- public const string H265 = "h265";- public const string MPEG4 = "mpeg4";- public const string MPEG1 = "mpeg1video";- public const string MPEG2 = "mpeg2video";- public const string MSMPEG4 = "msmpeg4";- public const string VC1 = "vc1";- }-}diff --git a/MediaBrowser.Model/Net/EndPointInfo.cs b/MediaBrowser.Model/Net/EndPointInfo.csindex b73799ea88..f5b5a406fd 100644--- a/MediaBrowser.Model/Net/EndPointInfo.cs+++ b/MediaBrowser.Model/Net/EndPointInfo.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Net{public class EndPointInfodiff --git a/MediaBrowser.Model/Net/HttpException.cs b/MediaBrowser.Model/Net/HttpException.csindex 16253ed6cc..4b15e30f07 100644--- a/MediaBrowser.Model/Net/HttpException.cs+++ b/MediaBrowser.Model/Net/HttpException.cs@@ -4,7 +4,7 @@ using System.Net;namespace MediaBrowser.Model.Net{/// <summary>- /// Class HttpException+ /// Class HttpException./// </summary>public class HttpException : Exception{diff --git a/MediaBrowser.Model/Net/ISocket.cs b/MediaBrowser.Model/Net/ISocket.csindex 3fdc40bbe2..f7e4adb91c 100644--- a/MediaBrowser.Model/Net/ISocket.cs+++ b/MediaBrowser.Model/Net/ISocket.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using System.Net;using System.Threading;diff --git a/MediaBrowser.Model/Net/ISocketFactory.cs b/MediaBrowser.Model/Net/ISocketFactory.csindex a7965463ae..eb81af9a71 100644--- a/MediaBrowser.Model/Net/ISocketFactory.cs+++ b/MediaBrowser.Model/Net/ISocketFactory.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System.Net;namespace MediaBrowser.Model.Netdiff --git a/MediaBrowser.Model/Net/MimeTypes.cs b/MediaBrowser.Model/Net/MimeTypes.csindex 42fff3775a..d746b921f5 100644--- a/MediaBrowser.Model/Net/MimeTypes.cs+++ b/MediaBrowser.Model/Net/MimeTypes.cs@@ -1,8 +1,10 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using System.Collections.Generic;using System.IO;using System.Linq;-using MediaBrowser.Model.Extensions;namespace MediaBrowser.Model.Net{diff --git a/MediaBrowser.Model/Net/NetworkShare.cs b/MediaBrowser.Model/Net/NetworkShare.csindex 1f61414fc0..061e9982c0 100644--- a/MediaBrowser.Model/Net/NetworkShare.cs+++ b/MediaBrowser.Model/Net/NetworkShare.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Net{public class NetworkSharediff --git a/MediaBrowser.Model/Net/NetworkShareType.cs b/MediaBrowser.Model/Net/NetworkShareType.csindex bf2d092a6d..5d985f85d3 100644--- a/MediaBrowser.Model/Net/NetworkShareType.cs+++ b/MediaBrowser.Model/Net/NetworkShareType.cs@@ -1,28 +1,32 @@namespace MediaBrowser.Model.Net{/// <summary>- /// Enum NetworkShareType+ /// Enum NetworkShareType./// </summary>public enum NetworkShareType{/// <summary>- /// Disk share+ /// Disk share./// </summary>Disk,+/// <summary>- /// Printer share+ /// Printer share./// </summary>Printer,+/// <summary>- /// Device share+ /// Device share./// </summary>Device,+/// <summary>- /// IPC share+ /// IPC share./// </summary>Ipc,+/// <summary>- /// Special share+ /// Special share./// </summary>Special}diff --git a/MediaBrowser.Model/Net/SocketReceiveResult.cs b/MediaBrowser.Model/Net/SocketReceiveResult.csindex 3a4ad3738e..a49e7e6354 100644--- a/MediaBrowser.Model/Net/SocketReceiveResult.cs+++ b/MediaBrowser.Model/Net/SocketReceiveResult.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System.Net;namespace MediaBrowser.Model.Netdiff --git a/MediaBrowser.Model/Net/WebSocketMessage.cs b/MediaBrowser.Model/Net/WebSocketMessage.csindex c763216f12..afa8cea92d 100644--- a/MediaBrowser.Model/Net/WebSocketMessage.cs+++ b/MediaBrowser.Model/Net/WebSocketMessage.cs@@ -1,7 +1,10 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Net{/// <summary>- /// Class WebSocketMessage+ /// Class WebSocketMessage./// </summary>/// <typeparam name="T"></typeparam>public class WebSocketMessage<T>@@ -13,6 +16,7 @@ namespace MediaBrowser.Model.Netpublic string MessageType { get; set; }public string MessageId { get; set; }public string ServerId { get; set; }+/// <summary>/// Gets or sets the data./// </summary>diff --git a/MediaBrowser.Model/Notifications/NotificationLevel.cs b/MediaBrowser.Model/Notifications/NotificationLevel.csindex 6a838b1254..b02cb6c7ad 100644--- a/MediaBrowser.Model/Notifications/NotificationLevel.cs+++ b/MediaBrowser.Model/Notifications/NotificationLevel.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Notifications{public enum NotificationLeveldiff --git a/MediaBrowser.Model/Notifications/NotificationOption.cs b/MediaBrowser.Model/Notifications/NotificationOption.csindex 51a07370f0..16183a079d 100644--- a/MediaBrowser.Model/Notifications/NotificationOption.cs+++ b/MediaBrowser.Model/Notifications/NotificationOption.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;namespace MediaBrowser.Model.Notificationsdiff --git a/MediaBrowser.Model/Notifications/NotificationOptions.cs b/MediaBrowser.Model/Notifications/NotificationOptions.csindex 38600b9c87..3bf0fbb6fe 100644--- a/MediaBrowser.Model/Notifications/NotificationOptions.cs+++ b/MediaBrowser.Model/Notifications/NotificationOptions.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using MediaBrowser.Model.Extensions;using MediaBrowser.Model.Users;diff --git a/MediaBrowser.Model/Notifications/NotificationRequest.cs b/MediaBrowser.Model/Notifications/NotificationRequest.csindex 5a2634e73d..5aca15c660 100644--- a/MediaBrowser.Model/Notifications/NotificationRequest.cs+++ b/MediaBrowser.Model/Notifications/NotificationRequest.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;namespace MediaBrowser.Model.Notificationsdiff --git a/MediaBrowser.Model/Notifications/NotificationType.cs b/MediaBrowser.Model/Notifications/NotificationType.csindex 38b519a14b..a1d8e29a40 100644--- a/MediaBrowser.Model/Notifications/NotificationType.cs+++ b/MediaBrowser.Model/Notifications/NotificationType.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Notifications{public enum NotificationTypediff --git a/MediaBrowser.Model/Notifications/NotificationTypeInfo.cs b/MediaBrowser.Model/Notifications/NotificationTypeInfo.csindex ff957e6449..efde211ed0 100644--- a/MediaBrowser.Model/Notifications/NotificationTypeInfo.cs+++ b/MediaBrowser.Model/Notifications/NotificationTypeInfo.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Notifications{public class NotificationTypeInfodiff --git a/MediaBrowser.Model/Notifications/SendToUserType.cs b/MediaBrowser.Model/Notifications/SendToUserType.csindex 9f63d24bf0..07b1ac0182 100644--- a/MediaBrowser.Model/Notifications/SendToUserType.cs+++ b/MediaBrowser.Model/Notifications/SendToUserType.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Notifications{public enum SendToUserTypediff --git a/MediaBrowser.Model/Playlists/PlaylistCreationRequest.cs b/MediaBrowser.Model/Playlists/PlaylistCreationRequest.csindex 007965c0fc..d5b85a5f48 100644--- a/MediaBrowser.Model/Playlists/PlaylistCreationRequest.cs+++ b/MediaBrowser.Model/Playlists/PlaylistCreationRequest.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;namespace MediaBrowser.Model.Playlistsdiff --git a/MediaBrowser.Model/Playlists/PlaylistCreationResult.cs b/MediaBrowser.Model/Playlists/PlaylistCreationResult.csindex 301ae66a7d..91a2af7d17 100644--- a/MediaBrowser.Model/Playlists/PlaylistCreationResult.cs+++ b/MediaBrowser.Model/Playlists/PlaylistCreationResult.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Playlists{public class PlaylistCreationResultdiff --git a/MediaBrowser.Model/Playlists/PlaylistItemQuery.cs b/MediaBrowser.Model/Playlists/PlaylistItemQuery.csindex 1f03c14d31..ec8c7eb09b 100644--- a/MediaBrowser.Model/Playlists/PlaylistItemQuery.cs+++ b/MediaBrowser.Model/Playlists/PlaylistItemQuery.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using MediaBrowser.Model.Querying;namespace MediaBrowser.Model.Playlistsdiff --git a/MediaBrowser.Model/Plugins/IHasWebPages.cs b/MediaBrowser.Model/Plugins/IHasWebPages.csindex 5bda7e65e4..74f2ac0eef 100644--- a/MediaBrowser.Model/Plugins/IHasWebPages.cs+++ b/MediaBrowser.Model/Plugins/IHasWebPages.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System.Collections.Generic;namespace MediaBrowser.Model.Pluginsdiff --git a/MediaBrowser.Model/Plugins/PluginPageInfo.cs b/MediaBrowser.Model/Plugins/PluginPageInfo.csindex 8ed2064b9b..e692c44319 100644--- a/MediaBrowser.Model/Plugins/PluginPageInfo.cs+++ b/MediaBrowser.Model/Plugins/PluginPageInfo.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Plugins{public class PluginPageInfodiff --git a/MediaBrowser.Model/Providers/ExternalIdInfo.cs b/MediaBrowser.Model/Providers/ExternalIdInfo.csindex bff84c5533..8c23a31ed4 100644--- a/MediaBrowser.Model/Providers/ExternalIdInfo.cs+++ b/MediaBrowser.Model/Providers/ExternalIdInfo.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Providers{public class ExternalIdInfodiff --git a/MediaBrowser.Model/Providers/ExternalUrl.cs b/MediaBrowser.Model/Providers/ExternalUrl.csindex 69cead92ab..0143e005f4 100644--- a/MediaBrowser.Model/Providers/ExternalUrl.cs+++ b/MediaBrowser.Model/Providers/ExternalUrl.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Providers{public class ExternalUrldiff --git a/MediaBrowser.Model/Providers/ImageProviderInfo.cs b/MediaBrowser.Model/Providers/ImageProviderInfo.csindex 1c4cff3739..765fc2ceda 100644--- a/MediaBrowser.Model/Providers/ImageProviderInfo.cs+++ b/MediaBrowser.Model/Providers/ImageProviderInfo.cs@@ -1,3 +1,7 @@+#pragma warning disable CS1591+#pragma warning disable SA1600++using System;using MediaBrowser.Model.Entities;namespace MediaBrowser.Model.Providers@@ -17,7 +21,7 @@ namespace MediaBrowser.Model.Providerspublic ImageProviderInfo(){- SupportedImages = new ImageType[] { };+ SupportedImages = Array.Empty<ImageType>();}}}diff --git a/MediaBrowser.Model/Providers/RemoteImageInfo.cs b/MediaBrowser.Model/Providers/RemoteImageInfo.csindex aacd108ec1..ee2b9d8fd1 100644--- a/MediaBrowser.Model/Providers/RemoteImageInfo.cs+++ b/MediaBrowser.Model/Providers/RemoteImageInfo.cs@@ -4,7 +4,7 @@ using MediaBrowser.Model.Entities;namespace MediaBrowser.Model.Providers{/// <summary>- /// Class RemoteImageInfo+ /// Class RemoteImageInfo./// </summary>public class RemoteImageInfo{@@ -21,7 +21,7 @@ namespace MediaBrowser.Model.Providerspublic string Url { get; set; }/// <summary>- /// Gets a url used for previewing a smaller version+ /// Gets a url used for previewing a smaller version./// </summary>public string ThumbnailUrl { get; set; }diff --git a/MediaBrowser.Model/Providers/RemoteImageQuery.cs b/MediaBrowser.Model/Providers/RemoteImageQuery.csindex 7c9216ce78..e1762e6a48 100644--- a/MediaBrowser.Model/Providers/RemoteImageQuery.cs+++ b/MediaBrowser.Model/Providers/RemoteImageQuery.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using MediaBrowser.Model.Entities;namespace MediaBrowser.Model.Providersdiff --git a/MediaBrowser.Model/Providers/RemoteSearchResult.cs b/MediaBrowser.Model/Providers/RemoteSearchResult.csindex 6e46b1556d..64d70e18a3 100644--- a/MediaBrowser.Model/Providers/RemoteSearchResult.cs+++ b/MediaBrowser.Model/Providers/RemoteSearchResult.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using System.Collections.Generic;using MediaBrowser.Model.Entities;diff --git a/MediaBrowser.Model/Providers/RemoteSubtitleInfo.cs b/MediaBrowser.Model/Providers/RemoteSubtitleInfo.csindex 861aabf720..c252fb6e67 100644--- a/MediaBrowser.Model/Providers/RemoteSubtitleInfo.cs+++ b/MediaBrowser.Model/Providers/RemoteSubtitleInfo.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;namespace MediaBrowser.Model.Providersdiff --git a/MediaBrowser.Model/Providers/SubtitleOptions.cs b/MediaBrowser.Model/Providers/SubtitleOptions.csindex fde816dd36..d53fcef3b3 100644--- a/MediaBrowser.Model/Providers/SubtitleOptions.cs+++ b/MediaBrowser.Model/Providers/SubtitleOptions.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;namespace MediaBrowser.Model.Providersdiff --git a/MediaBrowser.Model/Providers/SubtitleProviderInfo.cs b/MediaBrowser.Model/Providers/SubtitleProviderInfo.csindex 48a247818e..66c771a2cb 100644--- a/MediaBrowser.Model/Providers/SubtitleProviderInfo.cs+++ b/MediaBrowser.Model/Providers/SubtitleProviderInfo.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Providers{public class SubtitleProviderInfodiff --git a/MediaBrowser.Model/Querying/AllThemeMediaResult.cs b/MediaBrowser.Model/Querying/AllThemeMediaResult.csindex f843a33e68..d94928b0d8 100644--- a/MediaBrowser.Model/Querying/AllThemeMediaResult.cs+++ b/MediaBrowser.Model/Querying/AllThemeMediaResult.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Querying{public class AllThemeMediaResultdiff --git a/MediaBrowser.Model/Querying/EpisodeQuery.cs b/MediaBrowser.Model/Querying/EpisodeQuery.csindex 0c8ea7ed4c..2aeb979258 100644--- a/MediaBrowser.Model/Querying/EpisodeQuery.cs+++ b/MediaBrowser.Model/Querying/EpisodeQuery.cs@@ -1,3 +1,8 @@+#pragma warning disable CS1591+#pragma warning disable SA1600++using System;+namespace MediaBrowser.Model.Querying{public class EpisodeQuery@@ -7,46 +12,55 @@ namespace MediaBrowser.Model.Querying/// </summary>/// <value>The user identifier.</value>public string UserId { get; set; }+/// <summary>/// Gets or sets the season identifier./// </summary>/// <value>The season identifier.</value>public string SeasonId { get; set; }+/// <summary>/// Gets or sets the series identifier./// </summary>/// <value>The series identifier.</value>public string SeriesId { get; set; }+/// <summary>/// Gets or sets a value indicating whether this instance is missing./// </summary>/// <value><c>null</c> if [is missing] contains no value, <c>true</c> if [is missing]; otherwise, <c>false</c>.</value>public bool? IsMissing { get; set; }+/// <summary>/// Gets or sets a value indicating whether this instance is virtual unaired./// </summary>/// <value><c>null</c> if [is virtual unaired] contains no value, <c>true</c> if [is virtual unaired]; otherwise, <c>false</c>.</value>public bool? IsVirtualUnaired { get; set; }+/// <summary>/// Gets or sets the season number./// </summary>/// <value>The season number.</value>public int? SeasonNumber { get; set; }+/// <summary>/// Gets or sets the fields./// </summary>/// <value>The fields.</value>public ItemFields[] Fields { get; set; }+/// <summary>/// Gets or sets the start index./// </summary>/// <value>The start index.</value>public int? StartIndex { get; set; }+/// <summary>/// Gets or sets the limit./// </summary>/// <value>The limit.</value>public int? Limit { get; set; }+/// <summary>/// Gets or sets the start item identifier./// </summary>@@ -55,7 +69,7 @@ namespace MediaBrowser.Model.Queryingpublic EpisodeQuery(){- Fields = new ItemFields[] { };+ Fields = Array.Empty<ItemFields>();}}}diff --git a/MediaBrowser.Model/Querying/ItemCountsQuery.cs b/MediaBrowser.Model/Querying/ItemCountsQuery.csindex 02b809fa88..f113cf3808 100644--- a/MediaBrowser.Model/Querying/ItemCountsQuery.cs+++ b/MediaBrowser.Model/Querying/ItemCountsQuery.cs@@ -1,7 +1,7 @@namespace MediaBrowser.Model.Querying{/// <summary>- /// Class ItemCountsQuery+ /// Class ItemCountsQuery./// </summary>public class ItemCountsQuery{diff --git a/MediaBrowser.Model/Querying/ItemFields.cs b/MediaBrowser.Model/Querying/ItemFields.csindex af1aaf486c..324f242e44 100644--- a/MediaBrowser.Model/Querying/ItemFields.cs+++ b/MediaBrowser.Model/Querying/ItemFields.cs@@ -1,7 +1,10 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Querying{/// <summary>- /// Used to control the data that gets attached to DtoBaseItems+ /// Used to control the data that gets attached to DtoBaseItems./// </summary>public enum ItemFields{diff --git a/MediaBrowser.Model/Querying/ItemFilter.cs b/MediaBrowser.Model/Querying/ItemFilter.csindex b8dcfbdad3..0ebb5185f7 100644--- a/MediaBrowser.Model/Querying/ItemFilter.cs+++ b/MediaBrowser.Model/Querying/ItemFilter.cs@@ -1,44 +1,52 @@namespace MediaBrowser.Model.Querying{/// <summary>- /// Enum ItemFilter+ /// Enum ItemFilter./// </summary>public enum ItemFilter{/// <summary>- /// The item is a folder+ /// The item is a folder./// </summary>IsFolder = 1,+/// <summary>- /// The item is not folder+ /// The item is not folder./// </summary>IsNotFolder = 2,+/// <summary>- /// The item is unplayed+ /// The item is unplayed./// </summary>IsUnplayed = 3,+/// <summary>- /// The item is played+ /// The item is played./// </summary>IsPlayed = 4,+/// <summary>- /// The item is a favorite+ /// The item is a favorite./// </summary>IsFavorite = 5,+/// <summary>- /// The item is resumable+ /// The item is resumable./// </summary>IsResumable = 7,+/// <summary>- /// The likes+ /// The likes./// </summary>Likes = 8,+/// <summary>- /// The dislikes+ /// The dislikes./// </summary>Dislikes = 9,+/// <summary>- /// The is favorite or likes+ /// The is favorite or likes./// </summary>IsFavoriteOrLikes = 10}diff --git a/MediaBrowser.Model/Querying/ItemSortBy.cs b/MediaBrowser.Model/Querying/ItemSortBy.csindex 6a71e3bb3e..553ba7c49b 100644--- a/MediaBrowser.Model/Querying/ItemSortBy.cs+++ b/MediaBrowser.Model/Querying/ItemSortBy.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Querying{/// <summary>diff --git a/MediaBrowser.Model/Querying/LatestItemsQuery.cs b/MediaBrowser.Model/Querying/LatestItemsQuery.csindex 4a5818ac5f..d08ec8420b 100644--- a/MediaBrowser.Model/Querying/LatestItemsQuery.cs+++ b/MediaBrowser.Model/Querying/LatestItemsQuery.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using MediaBrowser.Model.Entities;diff --git a/MediaBrowser.Model/Querying/MovieRecommendationQuery.cs b/MediaBrowser.Model/Querying/MovieRecommendationQuery.csindex 52c1383558..ea6b233846 100644--- a/MediaBrowser.Model/Querying/MovieRecommendationQuery.cs+++ b/MediaBrowser.Model/Querying/MovieRecommendationQuery.cs@@ -1,3 +1,8 @@+#pragma warning disable CS1591+#pragma warning disable SA1600++using System;+namespace MediaBrowser.Model.Querying{public class MovieRecommendationQuery@@ -7,21 +12,25 @@ namespace MediaBrowser.Model.Querying/// </summary>/// <value>The user identifier.</value>public string UserId { get; set; }+/// <summary>/// Gets or sets the parent identifier./// </summary>/// <value>The parent identifier.</value>public string ParentId { get; set; }+/// <summary>/// Gets or sets the item limit./// </summary>/// <value>The item limit.</value>public int ItemLimit { get; set; }+/// <summary>/// Gets or sets the category limit./// </summary>/// <value>The category limit.</value>public int CategoryLimit { get; set; }+/// <summary>/// Gets or sets the fields./// </summary>@@ -32,7 +41,7 @@ namespace MediaBrowser.Model.Querying{ItemLimit = 10;CategoryLimit = 6;- Fields = new ItemFields[] { };+ Fields = Array.Empty<ItemFields>();}}}diff --git a/MediaBrowser.Model/Querying/NextUpQuery.cs b/MediaBrowser.Model/Querying/NextUpQuery.csindex ff146cedee..14b10f4ce5 100644--- a/MediaBrowser.Model/Querying/NextUpQuery.cs+++ b/MediaBrowser.Model/Querying/NextUpQuery.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using MediaBrowser.Model.Entities;@@ -40,16 +43,19 @@ namespace MediaBrowser.Model.Querying/// </summary>/// <value>The fields.</value>public ItemFields[] Fields { get; set; }+/// <summary>/// Gets or sets a value indicating whether [enable images]./// </summary>/// <value><c>null</c> if [enable images] contains no value, <c>true</c> if [enable images]; otherwise, <c>false</c>.</value>public bool? EnableImages { get; set; }+/// <summary>/// Gets or sets the image type limit./// </summary>/// <value>The image type limit.</value>public int? ImageTypeLimit { get; set; }+/// <summary>/// Gets or sets the enable image types./// </summary>@@ -60,7 +66,7 @@ namespace MediaBrowser.Model.Queryingpublic NextUpQuery(){- EnableImageTypes = new ImageType[] { };+ EnableImageTypes = Array.Empty<ImageType>();EnableTotalRecordCount = true;}}diff --git a/MediaBrowser.Model/Querying/QueryFilters.cs b/MediaBrowser.Model/Querying/QueryFilters.csindex 2f38299db3..f32ac46639 100644--- a/MediaBrowser.Model/Querying/QueryFilters.cs+++ b/MediaBrowser.Model/Querying/QueryFilters.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using MediaBrowser.Model.Dto;diff --git a/MediaBrowser.Model/Querying/QueryResult.cs b/MediaBrowser.Model/Querying/QueryResult.csindex 221645afbf..ad89ae38d5 100644--- a/MediaBrowser.Model/Querying/QueryResult.cs+++ b/MediaBrowser.Model/Querying/QueryResult.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using System.Collections.Generic;diff --git a/MediaBrowser.Model/Querying/SessionQuery.cs b/MediaBrowser.Model/Querying/SessionQuery.csdeleted file mode 100644index 1fac9d639b..0000000000--- a/MediaBrowser.Model/Querying/SessionQuery.cs+++ /dev/null@@ -1,13 +0,0 @@-namespace MediaBrowser.Model.Querying-{- /// <summary>- /// Class SessionQuery- /// </summary>- public class SessionQuery- {- /// <summary>- /// Filter by sessions that are allowed to be controlled by a given user- /// </summary>- public string ControllableByUserId { get; set; }- }-}diff --git a/MediaBrowser.Model/Querying/SimilarItemsQuery.cs b/MediaBrowser.Model/Querying/SimilarItemsQuery.csdeleted file mode 100644index 68f761bd4d..0000000000--- a/MediaBrowser.Model/Querying/SimilarItemsQuery.cs+++ /dev/null@@ -1,29 +0,0 @@-namespace MediaBrowser.Model.Querying-{- public class SimilarItemsQuery- {- /// <summary>- /// The user to localize search results for- /// </summary>- /// <value>The user id.</value>- public string UserId { get; set; }-- /// <summary>- /// Gets or sets the id.- /// </summary>- /// <value>The id.</value>- public string Id { get; set; }-- /// <summary>- /// The maximum number of items to return- /// </summary>- /// <value>The limit.</value>- public int? Limit { get; set; }-- /// <summary>- /// Fields to return within the items, in addition to basic information- /// </summary>- /// <value>The fields.</value>- public ItemFields[] Fields { get; set; }- }-}diff --git a/MediaBrowser.Model/Querying/UpcomingEpisodesQuery.cs b/MediaBrowser.Model/Querying/UpcomingEpisodesQuery.csindex 5eac2860da..6831dfbfd2 100644--- a/MediaBrowser.Model/Querying/UpcomingEpisodesQuery.cs+++ b/MediaBrowser.Model/Querying/UpcomingEpisodesQuery.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using MediaBrowser.Model.Entities;namespace MediaBrowser.Model.Queryingdiff --git a/MediaBrowser.Model/Querying/UserQuery.cs b/MediaBrowser.Model/Querying/UserQuery.csdeleted file mode 100644index 55cef664e7..0000000000--- a/MediaBrowser.Model/Querying/UserQuery.cs+++ /dev/null@@ -1,8 +0,0 @@-namespace MediaBrowser.Model.Querying-{- public class UserQuery- {- public bool? IsHidden { get; set; }- public bool? IsDisabled { get; set; }- }-}diff --git a/MediaBrowser.Model/Search/SearchHint.cs b/MediaBrowser.Model/Search/SearchHint.csindex 8f4824903f..d67876036d 100644--- a/MediaBrowser.Model/Search/SearchHint.cs+++ b/MediaBrowser.Model/Search/SearchHint.cs@@ -1,10 +1,13 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using System.Collections.Generic;namespace MediaBrowser.Model.Search{/// <summary>- /// Class SearchHintResult+ /// Class SearchHintResult./// </summary>public class SearchHint{diff --git a/MediaBrowser.Model/Search/SearchHintResult.cs b/MediaBrowser.Model/Search/SearchHintResult.csindex 069e7e025b..3c4fbec9e8 100644--- a/MediaBrowser.Model/Search/SearchHintResult.cs+++ b/MediaBrowser.Model/Search/SearchHintResult.cs@@ -1,7 +1,7 @@namespace MediaBrowser.Model.Search{/// <summary>- /// Class SearchHintResult+ /// Class SearchHintResult./// </summary>public class SearchHintResult{diff --git a/MediaBrowser.Model/Search/SearchQuery.cs b/MediaBrowser.Model/Search/SearchQuery.csindex 96a8cb00c3..af26ee2adf 100644--- a/MediaBrowser.Model/Search/SearchQuery.cs+++ b/MediaBrowser.Model/Search/SearchQuery.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;namespace MediaBrowser.Model.Searchdiff --git a/MediaBrowser.Model/Serialization/IJsonSerializer.cs b/MediaBrowser.Model/Serialization/IJsonSerializer.csindex 18f51f6525..302cb0daeb 100644--- a/MediaBrowser.Model/Serialization/IJsonSerializer.cs+++ b/MediaBrowser.Model/Serialization/IJsonSerializer.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using System.IO;using System.Threading.Tasks;diff --git a/MediaBrowser.Model/Serialization/IXmlSerializer.cs b/MediaBrowser.Model/Serialization/IXmlSerializer.csindex 902ebd4d18..64a6b5eb8d 100644--- a/MediaBrowser.Model/Serialization/IXmlSerializer.cs+++ b/MediaBrowser.Model/Serialization/IXmlSerializer.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using System.IO;diff --git a/MediaBrowser.Model/Services/ApiMemberAttribute.cs b/MediaBrowser.Model/Services/ApiMemberAttribute.csindex 8b155c8abe..7267fce247 100644--- a/MediaBrowser.Model/Services/ApiMemberAttribute.cs+++ b/MediaBrowser.Model/Services/ApiMemberAttribute.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;namespace MediaBrowser.Model.Servicesdiff --git a/MediaBrowser.Model/Services/IAsyncStreamWriter.cs b/MediaBrowser.Model/Services/IAsyncStreamWriter.csindex f16a877e64..c93e05c56a 100644--- a/MediaBrowser.Model/Services/IAsyncStreamWriter.cs+++ b/MediaBrowser.Model/Services/IAsyncStreamWriter.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System.IO;using System.Threading;using System.Threading.Tasks;diff --git a/MediaBrowser.Model/Services/IHasHeaders.cs b/MediaBrowser.Model/Services/IHasHeaders.csindex b2d413b70e..484346d22b 100644--- a/MediaBrowser.Model/Services/IHasHeaders.cs+++ b/MediaBrowser.Model/Services/IHasHeaders.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System.Collections.Generic;namespace MediaBrowser.Model.Servicesdiff --git a/MediaBrowser.Model/Services/IHasRequestFilter.cs b/MediaBrowser.Model/Services/IHasRequestFilter.csindex 81a2dba692..c81e49e4eb 100644--- a/MediaBrowser.Model/Services/IHasRequestFilter.cs+++ b/MediaBrowser.Model/Services/IHasRequestFilter.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using Microsoft.AspNetCore.Http;namespace MediaBrowser.Model.Servicesdiff --git a/MediaBrowser.Model/Services/IHttpRequest.cs b/MediaBrowser.Model/Services/IHttpRequest.csindex daf91488f0..ab0cb52dc3 100644--- a/MediaBrowser.Model/Services/IHttpRequest.cs+++ b/MediaBrowser.Model/Services/IHttpRequest.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Services{public interface IHttpRequest : IRequestdiff --git a/MediaBrowser.Model/Services/IHttpResult.cs b/MediaBrowser.Model/Services/IHttpResult.csindex bfa30f60d1..4c7bfda05a 100644--- a/MediaBrowser.Model/Services/IHttpResult.cs+++ b/MediaBrowser.Model/Services/IHttpResult.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System.Net;namespace MediaBrowser.Model.Servicesdiff --git a/MediaBrowser.Model/Services/IRequest.cs b/MediaBrowser.Model/Services/IRequest.csindex 7a41526986..7acc0aa8ae 100644--- a/MediaBrowser.Model/Services/IRequest.cs+++ b/MediaBrowser.Model/Services/IRequest.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using System.Collections.Generic;using System.IO;diff --git a/MediaBrowser.Model/Services/IRequiresRequestStream.cs b/MediaBrowser.Model/Services/IRequiresRequestStream.csindex 2f17c6a9aa..2c7cd71f1f 100644--- a/MediaBrowser.Model/Services/IRequiresRequestStream.cs+++ b/MediaBrowser.Model/Services/IRequiresRequestStream.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System.IO;namespace MediaBrowser.Model.Servicesdiff --git a/MediaBrowser.Model/Services/IService.cs b/MediaBrowser.Model/Services/IService.csindex 8f2e63e988..5a72ba3339 100644--- a/MediaBrowser.Model/Services/IService.cs+++ b/MediaBrowser.Model/Services/IService.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Services{// marker interfacediff --git a/MediaBrowser.Model/Services/IStreamWriter.cs b/MediaBrowser.Model/Services/IStreamWriter.csindex 9d65cff63d..0d477a1250 100644--- a/MediaBrowser.Model/Services/IStreamWriter.cs+++ b/MediaBrowser.Model/Services/IStreamWriter.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System.IO;namespace MediaBrowser.Model.Servicesdiff --git a/MediaBrowser.Model/Services/QueryParamCollection.cs b/MediaBrowser.Model/Services/QueryParamCollection.csindex 7708db00a8..fb100d4b40 100644--- a/MediaBrowser.Model/Services/QueryParamCollection.cs+++ b/MediaBrowser.Model/Services/QueryParamCollection.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using System.Collections.Generic;using System.Linq;diff --git a/MediaBrowser.Model/Services/RouteAttribute.cs b/MediaBrowser.Model/Services/RouteAttribute.csindex f6316e2b15..054abe219c 100644--- a/MediaBrowser.Model/Services/RouteAttribute.cs+++ b/MediaBrowser.Model/Services/RouteAttribute.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;namespace MediaBrowser.Model.Servicesdiff --git a/MediaBrowser.Model/Session/BrowseRequest.cs b/MediaBrowser.Model/Session/BrowseRequest.csindex 65d58501bd..f485d680e2 100644--- a/MediaBrowser.Model/Session/BrowseRequest.cs+++ b/MediaBrowser.Model/Session/BrowseRequest.cs@@ -1,12 +1,12 @@namespace MediaBrowser.Model.Session{/// <summary>- /// Class BrowseRequest+ /// Class BrowseRequest./// </summary>public class BrowseRequest{/// <summary>- /// Artist, Genre, Studio, Person, or any kind of BaseItem+ /// Artist, Genre, Studio, Person, or any kind of BaseItem./// </summary>/// <value>The type of the item.</value>public string ItemType { get; set; }diff --git a/MediaBrowser.Model/Session/ClientCapabilities.cs b/MediaBrowser.Model/Session/ClientCapabilities.csindex fa74efb1b7..1c3aa03131 100644--- a/MediaBrowser.Model/Session/ClientCapabilities.cs+++ b/MediaBrowser.Model/Session/ClientCapabilities.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using MediaBrowser.Model.Dlna;diff --git a/MediaBrowser.Model/Session/GeneralCommand.cs b/MediaBrowser.Model/Session/GeneralCommand.csindex 74e58e6786..0d1ad1e48b 100644--- a/MediaBrowser.Model/Session/GeneralCommand.cs+++ b/MediaBrowser.Model/Session/GeneralCommand.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using System.Collections.Generic;diff --git a/MediaBrowser.Model/Session/GeneralCommandType.cs b/MediaBrowser.Model/Session/GeneralCommandType.csindex 4bb0c5cc50..5d85cef06e 100644--- a/MediaBrowser.Model/Session/GeneralCommandType.cs+++ b/MediaBrowser.Model/Session/GeneralCommandType.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Session{/// <summary>diff --git a/MediaBrowser.Model/Session/MessageCommand.cs b/MediaBrowser.Model/Session/MessageCommand.csindex 1e558ef077..3c9d04c781 100644--- a/MediaBrowser.Model/Session/MessageCommand.cs+++ b/MediaBrowser.Model/Session/MessageCommand.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Session{public class MessageCommanddiff --git a/MediaBrowser.Model/Session/PlayCommand.cs b/MediaBrowser.Model/Session/PlayCommand.csindex b7a8f39ba0..3ab049320e 100644--- a/MediaBrowser.Model/Session/PlayCommand.cs+++ b/MediaBrowser.Model/Session/PlayCommand.cs@@ -1,28 +1,32 @@namespace MediaBrowser.Model.Session{/// <summary>- /// Enum PlayCommand+ /// Enum PlayCommand./// </summary>public enum PlayCommand{/// <summary>- /// The play now+ /// The play now./// </summary>PlayNow = 0,+/// <summary>- /// The play next+ /// The play next./// </summary>PlayNext = 1,+/// <summary>- /// The play last+ /// The play last./// </summary>PlayLast = 2,+/// <summary>- /// The play instant mix+ /// The play instant mix./// </summary>PlayInstantMix = 3,+/// <summary>- /// The play shuffle+ /// The play shuffle./// </summary>PlayShuffle = 4}diff --git a/MediaBrowser.Model/Session/PlayMethod.cs b/MediaBrowser.Model/Session/PlayMethod.csindex 8daf8c953b..9b8f0052a1 100644--- a/MediaBrowser.Model/Session/PlayMethod.cs+++ b/MediaBrowser.Model/Session/PlayMethod.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Session{public enum PlayMethoddiff --git a/MediaBrowser.Model/Session/PlayRequest.cs b/MediaBrowser.Model/Session/PlayRequest.csindex 075ae77302..ff53db15d8 100644--- a/MediaBrowser.Model/Session/PlayRequest.cs+++ b/MediaBrowser.Model/Session/PlayRequest.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using MediaBrowser.Model.Services;diff --git a/MediaBrowser.Model/Session/PlaybackProgressInfo.cs b/MediaBrowser.Model/Session/PlaybackProgressInfo.csindex c1d6306710..6401f8dccd 100644--- a/MediaBrowser.Model/Session/PlaybackProgressInfo.cs+++ b/MediaBrowser.Model/Session/PlaybackProgressInfo.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using MediaBrowser.Model.Dto;diff --git a/MediaBrowser.Model/Session/PlaybackStopInfo.cs b/MediaBrowser.Model/Session/PlaybackStopInfo.csindex 8a85b1998d..8ccf3cab70 100644--- a/MediaBrowser.Model/Session/PlaybackStopInfo.cs+++ b/MediaBrowser.Model/Session/PlaybackStopInfo.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using MediaBrowser.Model.Dto;@@ -13,36 +16,43 @@ namespace MediaBrowser.Model.Session/// </summary>/// <value>The item.</value>public BaseItemDto Item { get; set; }+/// <summary>/// Gets or sets the item identifier./// </summary>/// <value>The item identifier.</value>public Guid ItemId { get; set; }+/// <summary>/// Gets or sets the session id./// </summary>/// <value>The session id.</value>public string SessionId { get; set; }+/// <summary>/// Gets or sets the media version identifier./// </summary>/// <value>The media version identifier.</value>public string MediaSourceId { get; set; }+/// <summary>/// Gets or sets the position ticks./// </summary>/// <value>The position ticks.</value>public long? PositionTicks { get; set; }+/// <summary>/// Gets or sets the live stream identifier./// </summary>/// <value>The live stream identifier.</value>public string LiveStreamId { get; set; }+/// <summary>/// Gets or sets the play session identifier./// </summary>/// <value>The play session identifier.</value>public string PlaySessionId { get; set; }+/// <summary>/// Gets or sets a value indicating whether this <see cref="PlaybackStopInfo"/> is failed./// </summary>diff --git a/MediaBrowser.Model/Session/PlayerStateInfo.cs b/MediaBrowser.Model/Session/PlayerStateInfo.csindex 7e54e16c8f..d7b74fb6c2 100644--- a/MediaBrowser.Model/Session/PlayerStateInfo.cs+++ b/MediaBrowser.Model/Session/PlayerStateInfo.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Session{public class PlayerStateInfodiff --git a/MediaBrowser.Model/Session/PlaystateCommand.cs b/MediaBrowser.Model/Session/PlaystateCommand.csindex 6eb3e53c21..64dd948bf7 100644--- a/MediaBrowser.Model/Session/PlaystateCommand.cs+++ b/MediaBrowser.Model/Session/PlaystateCommand.cs@@ -1,40 +1,50 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Session{/// <summary>- /// Enum PlaystateCommand+ /// Enum PlaystateCommand./// </summary>public enum PlaystateCommand{/// <summary>- /// The stop+ /// The stop./// </summary>Stop,+/// <summary>- /// The pause+ /// The pause./// </summary>Pause,+/// <summary>- /// The unpause+ /// The unpause./// </summary>Unpause,+/// <summary>- /// The next track+ /// The next track./// </summary>NextTrack,+/// <summary>- /// The previous track+ /// The previous track./// </summary>PreviousTrack,+/// <summary>- /// The seek+ /// The seek./// </summary>Seek,+/// <summary>- /// The rewind+ /// The rewind./// </summary>Rewind,+/// <summary>- /// The fast forward+ /// The fast forward./// </summary>FastForward,PlayPausediff --git a/MediaBrowser.Model/Session/PlaystateRequest.cs b/MediaBrowser.Model/Session/PlaystateRequest.csindex 08d3f00725..504dcd25b4 100644--- a/MediaBrowser.Model/Session/PlaystateRequest.cs+++ b/MediaBrowser.Model/Session/PlaystateRequest.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Session{public class PlaystateRequestdiff --git a/MediaBrowser.Model/Session/TranscodingInfo.cs b/MediaBrowser.Model/Session/TranscodingInfo.csindex 5161882fd8..68edb42ff9 100644--- a/MediaBrowser.Model/Session/TranscodingInfo.cs+++ b/MediaBrowser.Model/Session/TranscodingInfo.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Session{public class TranscodingInfodiff --git a/MediaBrowser.Model/Session/UserDataChangeInfo.cs b/MediaBrowser.Model/Session/UserDataChangeInfo.csindex ef0e2c89a7..0872eb4b11 100644--- a/MediaBrowser.Model/Session/UserDataChangeInfo.cs+++ b/MediaBrowser.Model/Session/UserDataChangeInfo.cs@@ -3,7 +3,7 @@ using MediaBrowser.Model.Dto;namespace MediaBrowser.Model.Session{/// <summary>- /// Class UserDataChangeInfo+ /// Class UserDataChangeInfo./// </summary>public class UserDataChangeInfo{diff --git a/MediaBrowser.Model/Sync/SyncCategory.cs b/MediaBrowser.Model/Sync/SyncCategory.csindex 637c5ba74e..8981f479b7 100644--- a/MediaBrowser.Model/Sync/SyncCategory.cs+++ b/MediaBrowser.Model/Sync/SyncCategory.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Sync{public enum SyncCategorydiff --git a/MediaBrowser.Model/Sync/SyncJob.cs b/MediaBrowser.Model/Sync/SyncJob.csindex 7a1f76fe91..4295d5a3e7 100644--- a/MediaBrowser.Model/Sync/SyncJob.cs+++ b/MediaBrowser.Model/Sync/SyncJob.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;namespace MediaBrowser.Model.Sync@@ -9,91 +12,109 @@ namespace MediaBrowser.Model.Sync/// </summary>/// <value>The identifier.</value>public string Id { get; set; }+/// <summary>/// Gets or sets the device identifier./// </summary>/// <value>The device identifier.</value>public string TargetId { get; set; }+/// <summary>/// Gets or sets the name of the target./// </summary>/// <value>The name of the target.</value>public string TargetName { get; set; }+/// <summary>/// Gets or sets the quality./// </summary>/// <value>The quality.</value>public string Quality { get; set; }+/// <summary>/// Gets or sets the bitrate./// </summary>/// <value>The bitrate.</value>public int? Bitrate { get; set; }+/// <summary>/// Gets or sets the profile./// </summary>/// <value>The profile.</value>public string Profile { get; set; }+/// <summary>/// Gets or sets the category./// </summary>/// <value>The category.</value>public SyncCategory? Category { get; set; }+/// <summary>/// Gets or sets the parent identifier./// </summary>/// <value>The parent identifier.</value>public string ParentId { get; set; }+/// <summary>/// Gets or sets the current progress./// </summary>/// <value>The current progress.</value>public double? Progress { get; set; }+/// <summary>/// Gets or sets the name./// </summary>/// <value>The name.</value>public string Name { get; set; }+/// <summary>/// Gets or sets the status./// </summary>/// <value>The status.</value>public SyncJobStatus Status { get; set; }+/// <summary>/// Gets or sets the user identifier./// </summary>/// <value>The user identifier.</value>public string UserId { get; set; }+/// <summary>/// Gets or sets a value indicating whether [unwatched only]./// </summary>/// <value><c>true</c> if [unwatched only]; otherwise, <c>false</c>.</value>public bool UnwatchedOnly { get; set; }+/// <summary>/// Gets or sets a value indicating whether [synchronize new content]./// </summary>/// <value><c>true</c> if [synchronize new content]; otherwise, <c>false</c>.</value>public bool SyncNewContent { get; set; }+/// <summary>/// Gets or sets the item limit./// </summary>/// <value>The item limit.</value>public int? ItemLimit { get; set; }+/// <summary>/// Gets or sets the requested item ids./// </summary>/// <value>The requested item ids.</value>public Guid[] RequestedItemIds { get; set; }+/// <summary>/// Gets or sets the date created./// </summary>/// <value>The date created.</value>public DateTime DateCreated { get; set; }+/// <summary>/// Gets or sets the date last modified./// </summary>/// <value>The date last modified.</value>public DateTime DateLastModified { get; set; }+/// <summary>/// Gets or sets the item count./// </summary>diff --git a/MediaBrowser.Model/Sync/SyncJobStatus.cs b/MediaBrowser.Model/Sync/SyncJobStatus.csindex 4ea3d3fa5f..e8cc8d2bfb 100644--- a/MediaBrowser.Model/Sync/SyncJobStatus.cs+++ b/MediaBrowser.Model/Sync/SyncJobStatus.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Sync{public enum SyncJobStatusdiff --git a/MediaBrowser.Model/Sync/SyncTarget.cs b/MediaBrowser.Model/Sync/SyncTarget.csindex a94bf9a259..b6c4dba4b4 100644--- a/MediaBrowser.Model/Sync/SyncTarget.cs+++ b/MediaBrowser.Model/Sync/SyncTarget.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Sync{public class SyncTarget@@ -7,6 +10,7 @@ namespace MediaBrowser.Model.Sync/// </summary>/// <value>The name.</value>public string Name { get; set; }+/// <summary>/// Gets or sets the identifier./// </summary>diff --git a/MediaBrowser.Model/System/LogFile.cs b/MediaBrowser.Model/System/LogFile.csindex 913e8e1eaa..1e21203d01 100644--- a/MediaBrowser.Model/System/LogFile.cs+++ b/MediaBrowser.Model/System/LogFile.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;namespace MediaBrowser.Model.Systemdiff --git a/MediaBrowser.Model/System/OperatingSystemId.cs b/MediaBrowser.Model/System/OperatingSystemId.csindex e81dd4213f..6ccbe40e2b 100644--- a/MediaBrowser.Model/System/OperatingSystemId.cs+++ b/MediaBrowser.Model/System/OperatingSystemId.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.System{public enum OperatingSystemIddiff --git a/MediaBrowser.Model/System/PublicSystemInfo.cs b/MediaBrowser.Model/System/PublicSystemInfo.csindex 23f6d378c1..34257de386 100644--- a/MediaBrowser.Model/System/PublicSystemInfo.cs+++ b/MediaBrowser.Model/System/PublicSystemInfo.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.System{public class PublicSystemInfodiff --git a/MediaBrowser.Model/System/SystemInfo.cs b/MediaBrowser.Model/System/SystemInfo.csindex 7014a5c87c..190411c9ba 100644--- a/MediaBrowser.Model/System/SystemInfo.cs+++ b/MediaBrowser.Model/System/SystemInfo.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using System.Runtime.InteropServices;using MediaBrowser.Model.Updates;diff --git a/MediaBrowser.Model/Tasks/IConfigurableScheduledTask.cs b/MediaBrowser.Model/Tasks/IConfigurableScheduledTask.csindex 9c4b75c549..8a873163ac 100644--- a/MediaBrowser.Model/Tasks/IConfigurableScheduledTask.cs+++ b/MediaBrowser.Model/Tasks/IConfigurableScheduledTask.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Tasks{public interface IConfigurableScheduledTaskdiff --git a/MediaBrowser.Model/Tasks/IScheduledTask.cs b/MediaBrowser.Model/Tasks/IScheduledTask.csindex 71f6e15f8e..7708cd3072 100644--- a/MediaBrowser.Model/Tasks/IScheduledTask.cs+++ b/MediaBrowser.Model/Tasks/IScheduledTask.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using System.Collections.Generic;using System.Threading;diff --git a/MediaBrowser.Model/Tasks/IScheduledTaskWorker.cs b/MediaBrowser.Model/Tasks/IScheduledTaskWorker.csindex 61e3a65ebe..4dd1bb5d04 100644--- a/MediaBrowser.Model/Tasks/IScheduledTaskWorker.cs+++ b/MediaBrowser.Model/Tasks/IScheduledTaskWorker.cs@@ -4,7 +4,7 @@ using MediaBrowser.Model.Events;namespace MediaBrowser.Model.Tasks{/// <summary>- /// Interface IScheduledTaskWorker+ /// Interface IScheduledTaskWorker./// </summary>public interface IScheduledTaskWorker : IDisposable{diff --git a/MediaBrowser.Model/Tasks/ITaskManager.cs b/MediaBrowser.Model/Tasks/ITaskManager.csindex 57b8d1af81..f962d3b30a 100644--- a/MediaBrowser.Model/Tasks/ITaskManager.cs+++ b/MediaBrowser.Model/Tasks/ITaskManager.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using System.Collections.Generic;using System.Threading.Tasks;diff --git a/MediaBrowser.Model/Tasks/ITaskTrigger.cs b/MediaBrowser.Model/Tasks/ITaskTrigger.csindex c8433ed21c..5c30d6c220 100644--- a/MediaBrowser.Model/Tasks/ITaskTrigger.cs+++ b/MediaBrowser.Model/Tasks/ITaskTrigger.cs@@ -4,12 +4,12 @@ using Microsoft.Extensions.Logging;namespace MediaBrowser.Model.Tasks{/// <summary>- /// Interface ITaskTrigger+ /// Interface ITaskTrigger./// </summary>public interface ITaskTrigger{/// <summary>- /// Fires when the trigger condition is satisfied and the task should run+ /// Fires when the trigger condition is satisfied and the task should run./// </summary>event EventHandler<EventArgs> Triggered;@@ -19,12 +19,12 @@ namespace MediaBrowser.Model.TasksTaskOptions TaskOptions { get; set; }/// <summary>- /// Stars waiting for the trigger action+ /// Stars waiting for the trigger action./// </summary>void Start(TaskResult lastResult, ILogger logger, string taskName, bool isApplicationStartup);/// <summary>- /// Stops waiting for the trigger action+ /// Stops waiting for the trigger action./// </summary>void Stop();}diff --git a/MediaBrowser.Model/Tasks/ScheduledTaskHelpers.cs b/MediaBrowser.Model/Tasks/ScheduledTaskHelpers.csindex e461e4a4b7..ca0743ccae 100644--- a/MediaBrowser.Model/Tasks/ScheduledTaskHelpers.cs+++ b/MediaBrowser.Model/Tasks/ScheduledTaskHelpers.cs@@ -1,7 +1,7 @@namespace MediaBrowser.Model.Tasks{/// <summary>- /// Class ScheduledTaskHelpers+ /// Class ScheduledTaskHelpers./// </summary>public static class ScheduledTaskHelpers{diff --git a/MediaBrowser.Model/Tasks/TaskCompletionEventArgs.cs b/MediaBrowser.Model/Tasks/TaskCompletionEventArgs.csindex 05eaff8dac..29c9b740d0 100644--- a/MediaBrowser.Model/Tasks/TaskCompletionEventArgs.cs+++ b/MediaBrowser.Model/Tasks/TaskCompletionEventArgs.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;namespace MediaBrowser.Model.Tasksdiff --git a/MediaBrowser.Model/Tasks/TaskCompletionStatus.cs b/MediaBrowser.Model/Tasks/TaskCompletionStatus.csindex 4d7ff523d1..5c8b5f2235 100644--- a/MediaBrowser.Model/Tasks/TaskCompletionStatus.cs+++ b/MediaBrowser.Model/Tasks/TaskCompletionStatus.cs@@ -1,27 +1,27 @@namespace MediaBrowser.Model.Tasks{/// <summary>- /// Enum TaskCompletionStatus+ /// Enum TaskCompletionStatus./// </summary>public enum TaskCompletionStatus{/// <summary>- /// The completed+ /// The completed./// </summary>Completed,/// <summary>- /// The failed+ /// The failed./// </summary>Failed,/// <summary>- /// Manually cancelled by the user+ /// Manually cancelled by the user./// </summary>Cancelled,/// <summary>- /// Aborted due to a system failure or shutdown+ /// Aborted due to a system failure or shutdown./// </summary>Aborted}diff --git a/MediaBrowser.Model/Tasks/TaskInfo.cs b/MediaBrowser.Model/Tasks/TaskInfo.csindex 8d80e68cff..5144c035ab 100644--- a/MediaBrowser.Model/Tasks/TaskInfo.cs+++ b/MediaBrowser.Model/Tasks/TaskInfo.cs@@ -1,7 +1,9 @@+using System;+namespace MediaBrowser.Model.Tasks{/// <summary>- /// Class TaskInfo+ /// Class TaskInfo./// </summary>public class TaskInfo{@@ -70,7 +72,7 @@ namespace MediaBrowser.Model.Tasks/// </summary>public TaskInfo(){- Triggers = new TaskTriggerInfo[] { };+ Triggers = Array.Empty<TaskTriggerInfo>();}}}diff --git a/MediaBrowser.Model/Tasks/TaskOptions.cs b/MediaBrowser.Model/Tasks/TaskOptions.csindex a9f03303a0..4ff6b82d47 100644--- a/MediaBrowser.Model/Tasks/TaskOptions.cs+++ b/MediaBrowser.Model/Tasks/TaskOptions.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Tasks{public class TaskOptionsdiff --git a/MediaBrowser.Model/Tasks/TaskResult.cs b/MediaBrowser.Model/Tasks/TaskResult.csindex eede9069f2..c6f92e7ed5 100644--- a/MediaBrowser.Model/Tasks/TaskResult.cs+++ b/MediaBrowser.Model/Tasks/TaskResult.cs@@ -3,7 +3,7 @@ using System;namespace MediaBrowser.Model.Tasks{/// <summary>- /// Class TaskExecutionInfo+ /// Class TaskExecutionInfo./// </summary>public class TaskResult{diff --git a/MediaBrowser.Model/Tasks/TaskState.cs b/MediaBrowser.Model/Tasks/TaskState.csindex 91bc7f682c..619dedb70f 100644--- a/MediaBrowser.Model/Tasks/TaskState.cs+++ b/MediaBrowser.Model/Tasks/TaskState.cs@@ -1,20 +1,22 @@namespace MediaBrowser.Model.Tasks{/// <summary>- /// Enum TaskState+ /// Enum TaskState./// </summary>public enum TaskState{/// <summary>- /// The idle+ /// The idle./// </summary>Idle,+/// <summary>- /// The cancelling+ /// The cancelling./// </summary>Cancelling,+/// <summary>- /// The running+ /// The running./// </summary>Running}diff --git a/MediaBrowser.Model/Tasks/TaskTriggerInfo.cs b/MediaBrowser.Model/Tasks/TaskTriggerInfo.csindex 714f118722..e7b54f3a71 100644--- a/MediaBrowser.Model/Tasks/TaskTriggerInfo.cs+++ b/MediaBrowser.Model/Tasks/TaskTriggerInfo.cs@@ -1,9 +1,12 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;namespace MediaBrowser.Model.Tasks{/// <summary>- /// Class TaskTriggerInfo+ /// Class TaskTriggerInfo./// </summary>public class TaskTriggerInfo{diff --git a/MediaBrowser.Model/Updates/CheckForUpdateResult.cs b/MediaBrowser.Model/Updates/CheckForUpdateResult.csindex 4c66c6d49c..be1b082238 100644--- a/MediaBrowser.Model/Updates/CheckForUpdateResult.cs+++ b/MediaBrowser.Model/Updates/CheckForUpdateResult.cs@@ -1,7 +1,7 @@namespace MediaBrowser.Model.Updates{/// <summary>- /// Class CheckForUpdateResult+ /// Class CheckForUpdateResult./// </summary>public class CheckForUpdateResult{diff --git a/MediaBrowser.Model/Updates/InstallationInfo.cs b/MediaBrowser.Model/Updates/InstallationInfo.csindex 7554e9fe20..42c2105f54 100644--- a/MediaBrowser.Model/Updates/InstallationInfo.cs+++ b/MediaBrowser.Model/Updates/InstallationInfo.cs@@ -3,7 +3,7 @@ using System;namespace MediaBrowser.Model.Updates{/// <summary>- /// Class InstallationInfo+ /// Class InstallationInfo./// </summary>public class InstallationInfo{diff --git a/MediaBrowser.Model/Updates/PackageInfo.cs b/MediaBrowser.Model/Updates/PackageInfo.csindex 5dd9c65918..abbe91eff6 100644--- a/MediaBrowser.Model/Updates/PackageInfo.cs+++ b/MediaBrowser.Model/Updates/PackageInfo.cs@@ -4,7 +4,7 @@ using System.Collections.Generic;namespace MediaBrowser.Model.Updates{/// <summary>- /// Class PackageInfo+ /// Class PackageInfo./// </summary>public class PackageInfo{@@ -170,7 +170,7 @@ namespace MediaBrowser.Model.Updates/// </summary>public PackageInfo(){- versions = new PackageVersionInfo[] { };+ versions = Array.Empty<PackageVersionInfo>();}}}diff --git a/MediaBrowser.Model/Updates/PackageTargetSystem.cs b/MediaBrowser.Model/Updates/PackageTargetSystem.csindex a0646f9597..11af7f02dd 100644--- a/MediaBrowser.Model/Updates/PackageTargetSystem.cs+++ b/MediaBrowser.Model/Updates/PackageTargetSystem.cs@@ -1,20 +1,22 @@namespace MediaBrowser.Model.Updates{/// <summary>- /// Enum PackageType+ /// Enum PackageType./// </summary>public enum PackageTargetSystem{/// <summary>- /// Server+ /// Server./// </summary>Server,+/// <summary>- /// MB Theater+ /// MB Theater./// </summary>MBTheater,+/// <summary>- /// MB Classic+ /// MB Classic./// </summary>MBClassic}diff --git a/MediaBrowser.Model/Updates/PackageVersionClass.cs b/MediaBrowser.Model/Updates/PackageVersionClass.csindex 52f08b73b7..f813f2c974 100644--- a/MediaBrowser.Model/Updates/PackageVersionClass.cs+++ b/MediaBrowser.Model/Updates/PackageVersionClass.cs@@ -1,20 +1,22 @@namespace MediaBrowser.Model.Updates{/// <summary>- /// Enum PackageVersionClass+ /// Enum PackageVersionClass./// </summary>public enum PackageVersionClass{/// <summary>- /// The release+ /// The release./// </summary>Release = 0,+/// <summary>- /// The beta+ /// The beta./// </summary>Beta = 1,+/// <summary>- /// The dev+ /// The dev./// </summary>Dev = 2}diff --git a/MediaBrowser.Model/Updates/PackageVersionInfo.cs b/MediaBrowser.Model/Updates/PackageVersionInfo.csindex c0790317d5..85d8fde860 100644--- a/MediaBrowser.Model/Updates/PackageVersionInfo.cs+++ b/MediaBrowser.Model/Updates/PackageVersionInfo.cs@@ -1,10 +1,13 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using System.Text.Json.Serialization;namespace MediaBrowser.Model.Updates{/// <summary>- /// Class PackageVersionInfo+ /// Class PackageVersionInfo./// </summary>public class PackageVersionInfo{diff --git a/MediaBrowser.Model/Users/ForgotPasswordAction.cs b/MediaBrowser.Model/Users/ForgotPasswordAction.csindex 2124126c19..1e4812849b 100644--- a/MediaBrowser.Model/Users/ForgotPasswordAction.cs+++ b/MediaBrowser.Model/Users/ForgotPasswordAction.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Users{public enum ForgotPasswordActiondiff --git a/MediaBrowser.Model/Users/ForgotPasswordResult.cs b/MediaBrowser.Model/Users/ForgotPasswordResult.csindex 2f9b4cf48a..90c9313beb 100644--- a/MediaBrowser.Model/Users/ForgotPasswordResult.cs+++ b/MediaBrowser.Model/Users/ForgotPasswordResult.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;namespace MediaBrowser.Model.Users@@ -9,11 +12,13 @@ namespace MediaBrowser.Model.Users/// </summary>/// <value>The action.</value>public ForgotPasswordAction Action { get; set; }+/// <summary>/// Gets or sets the pin file./// </summary>/// <value>The pin file.</value>public string PinFile { get; set; }+/// <summary>/// Gets or sets the pin expiration date./// </summary>diff --git a/MediaBrowser.Model/Users/PinRedeemResult.cs b/MediaBrowser.Model/Users/PinRedeemResult.csindex 35663ba57f..30ad41f198 100644--- a/MediaBrowser.Model/Users/PinRedeemResult.cs+++ b/MediaBrowser.Model/Users/PinRedeemResult.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Users{public class PinRedeemResult@@ -7,6 +10,7 @@ namespace MediaBrowser.Model.Users/// </summary>/// <value><c>true</c> if success; otherwise, <c>false</c>.</value>public bool Success { get; set; }+/// <summary>/// Gets or sets the users reset./// </summary>diff --git a/MediaBrowser.Model/Users/UserAction.cs b/MediaBrowser.Model/Users/UserAction.csindex 48b5bbef13..fdc7d5bf48 100644--- a/MediaBrowser.Model/Users/UserAction.cs+++ b/MediaBrowser.Model/Users/UserAction.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;namespace MediaBrowser.Model.Usersdiff --git a/MediaBrowser.Model/Users/UserActionType.cs b/MediaBrowser.Model/Users/UserActionType.csindex 5d843a7388..241759caf7 100644--- a/MediaBrowser.Model/Users/UserActionType.cs+++ b/MediaBrowser.Model/Users/UserActionType.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+namespace MediaBrowser.Model.Users{public enum UserActionTypediff --git a/MediaBrowser.Model/Users/UserPolicy.cs b/MediaBrowser.Model/Users/UserPolicy.csindex 9c3e1f9808..e5f66b34b2 100644--- a/MediaBrowser.Model/Users/UserPolicy.cs+++ b/MediaBrowser.Model/Users/UserPolicy.cs@@ -1,3 +1,6 @@+#pragma warning disable CS1591+#pragma warning disable SA1600+using System;using MediaBrowser.Model.Configuration;