The Free Software Media System - Server Backend & API
Enable nullable reference types for MediaBrowser.Controller
Bond_009fb090df0b59b
diff --git a/Jellyfin.Api/Controllers/LibraryController.cs b/Jellyfin.Api/Controllers/LibraryController.csindex 1d4bbe61e8..4ed15e1d51 100644--- a/Jellyfin.Api/Controllers/LibraryController.cs+++ b/Jellyfin.Api/Controllers/LibraryController.cs@@ -600,7 +600,7 @@ namespace Jellyfin.Api.Controllers{foreach (var item in dto.Updates){- _libraryMonitor.ReportFileSystemChanged(item.Path);+ _libraryMonitor.ReportFileSystemChanged(item.Path ?? throw new ArgumentException("Item path can't be null."));}return NoContent();diff --git a/MediaBrowser.Controller/Authentication/AuthenticationResult.cs b/MediaBrowser.Controller/Authentication/AuthenticationResult.csindex 4249a9a667..635e4eb3d7 100644--- a/MediaBrowser.Controller/Authentication/AuthenticationResult.cs+++ b/MediaBrowser.Controller/Authentication/AuthenticationResult.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using MediaBrowser.Controller.Session;diff --git a/MediaBrowser.Controller/Authentication/IAuthenticationProvider.cs b/MediaBrowser.Controller/Authentication/IAuthenticationProvider.csindex ecdffa2ebe..a56d3c8223 100644--- a/MediaBrowser.Controller/Authentication/IAuthenticationProvider.cs+++ b/MediaBrowser.Controller/Authentication/IAuthenticationProvider.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System.Threading.Tasks;diff --git a/MediaBrowser.Controller/Authentication/IPasswordResetProvider.cs b/MediaBrowser.Controller/Authentication/IPasswordResetProvider.csindex 6729b91157..8c9d1baf88 100644--- a/MediaBrowser.Controller/Authentication/IPasswordResetProvider.cs+++ b/MediaBrowser.Controller/Authentication/IPasswordResetProvider.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/BaseItemManager/BaseItemManager.cs b/MediaBrowser.Controller/BaseItemManager/BaseItemManager.csindex a233c358e4..68119cfed6 100644--- a/MediaBrowser.Controller/BaseItemManager/BaseItemManager.cs+++ b/MediaBrowser.Controller/BaseItemManager/BaseItemManager.cs@@ -1,3 +1,5 @@+#nullable disable+using System;using System.Linq;using System.Threading;diff --git a/MediaBrowser.Controller/BaseItemManager/IBaseItemManager.cs b/MediaBrowser.Controller/BaseItemManager/IBaseItemManager.csindex 8a87364270..b2b36c040b 100644--- a/MediaBrowser.Controller/BaseItemManager/IBaseItemManager.cs+++ b/MediaBrowser.Controller/BaseItemManager/IBaseItemManager.cs@@ -1,3 +1,5 @@+#nullable disable+using System.Threading;using MediaBrowser.Controller.Entities;using MediaBrowser.Model.Configuration;diff --git a/MediaBrowser.Controller/Channels/Channel.cs b/MediaBrowser.Controller/Channels/Channel.csindex b2315bda47..26c64e0da6 100644--- a/MediaBrowser.Controller/Channels/Channel.cs+++ b/MediaBrowser.Controller/Channels/Channel.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Channels/ChannelItemInfo.cs b/MediaBrowser.Controller/Channels/ChannelItemInfo.csindex 476992cbd4..fa7aff647b 100644--- a/MediaBrowser.Controller/Channels/ChannelItemInfo.cs+++ b/MediaBrowser.Controller/Channels/ChannelItemInfo.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Channels/ChannelItemResult.cs b/MediaBrowser.Controller/Channels/ChannelItemResult.csindex cee7b20039..8e937852f1 100644--- a/MediaBrowser.Controller/Channels/ChannelItemResult.cs+++ b/MediaBrowser.Controller/Channels/ChannelItemResult.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System.Collections.Generic;diff --git a/MediaBrowser.Controller/Channels/ChannelSearchInfo.cs b/MediaBrowser.Controller/Channels/ChannelSearchInfo.csindex 32469d4d7b..53a73d62a9 100644--- a/MediaBrowser.Controller/Channels/ChannelSearchInfo.cs+++ b/MediaBrowser.Controller/Channels/ChannelSearchInfo.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591namespace MediaBrowser.Controller.Channelsdiff --git a/MediaBrowser.Controller/Channels/IChannel.cs b/MediaBrowser.Controller/Channels/IChannel.csindex 2c0eadf950..01bf8d5c85 100644--- a/MediaBrowser.Controller/Channels/IChannel.cs+++ b/MediaBrowser.Controller/Channels/IChannel.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System.Collections.Generic;diff --git a/MediaBrowser.Controller/Channels/IChannelManager.cs b/MediaBrowser.Controller/Channels/IChannelManager.csindex ddae7dbd3e..4c5626338e 100644--- a/MediaBrowser.Controller/Channels/IChannelManager.cs+++ b/MediaBrowser.Controller/Channels/IChannelManager.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Channels/IHasCacheKey.cs b/MediaBrowser.Controller/Channels/IHasCacheKey.csindex bf895a0eca..9fae43033e 100644--- a/MediaBrowser.Controller/Channels/IHasCacheKey.cs+++ b/MediaBrowser.Controller/Channels/IHasCacheKey.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591namespace MediaBrowser.Controller.Channelsdiff --git a/MediaBrowser.Controller/Channels/ISearchableChannel.cs b/MediaBrowser.Controller/Channels/ISearchableChannel.csindex b627ca1c25..b58446fc43 100644--- a/MediaBrowser.Controller/Channels/ISearchableChannel.cs+++ b/MediaBrowser.Controller/Channels/ISearchableChannel.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System.Collections.Generic;diff --git a/MediaBrowser.Controller/Channels/InternalChannelFeatures.cs b/MediaBrowser.Controller/Channels/InternalChannelFeatures.csindex 137f5d095b..152c653dc4 100644--- a/MediaBrowser.Controller/Channels/InternalChannelFeatures.cs+++ b/MediaBrowser.Controller/Channels/InternalChannelFeatures.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System.Collections.Generic;diff --git a/MediaBrowser.Controller/Channels/InternalChannelItemQuery.cs b/MediaBrowser.Controller/Channels/InternalChannelItemQuery.csindex 7e9bb28ed6..0d837faca2 100644--- a/MediaBrowser.Controller/Channels/InternalChannelItemQuery.cs+++ b/MediaBrowser.Controller/Channels/InternalChannelItemQuery.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Collections/CollectionCreationOptions.cs b/MediaBrowser.Controller/Collections/CollectionCreationOptions.csindex f6037d05e1..94e7541f87 100644--- a/MediaBrowser.Controller/Collections/CollectionCreationOptions.cs+++ b/MediaBrowser.Controller/Collections/CollectionCreationOptions.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Collections/CollectionEvents.cs b/MediaBrowser.Controller/Collections/CollectionEvents.csindex ce59b4ada2..821318ffcb 100644--- a/MediaBrowser.Controller/Collections/CollectionEvents.cs+++ b/MediaBrowser.Controller/Collections/CollectionEvents.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Collections/ICollectionManager.cs b/MediaBrowser.Controller/Collections/ICollectionManager.csindex a6991e2eac..46bc37e7f6 100644--- a/MediaBrowser.Controller/Collections/ICollectionManager.cs+++ b/MediaBrowser.Controller/Collections/ICollectionManager.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Configuration/IServerConfigurationManager.cs b/MediaBrowser.Controller/Configuration/IServerConfigurationManager.csindex 43ad04dbac..44e2c45dd4 100644--- a/MediaBrowser.Controller/Configuration/IServerConfigurationManager.cs+++ b/MediaBrowser.Controller/Configuration/IServerConfigurationManager.cs@@ -1,3 +1,5 @@+#nullable disable+using MediaBrowser.Common.Configuration;using MediaBrowser.Model.Configuration;diff --git a/MediaBrowser.Controller/Devices/IDeviceManager.cs b/MediaBrowser.Controller/Devices/IDeviceManager.csindex 8f0872dba9..ef17c8fb37 100644--- a/MediaBrowser.Controller/Devices/IDeviceManager.cs+++ b/MediaBrowser.Controller/Devices/IDeviceManager.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Dlna/IDlnaManager.cs b/MediaBrowser.Controller/Dlna/IDlnaManager.csindex dc2d5a356a..b51dc255ce 100644--- a/MediaBrowser.Controller/Dlna/IDlnaManager.cs+++ b/MediaBrowser.Controller/Dlna/IDlnaManager.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System.Collections.Generic;diff --git a/MediaBrowser.Controller/Drawing/IImageEncoder.cs b/MediaBrowser.Controller/Drawing/IImageEncoder.csindex 770c6dc2d2..800f7a8bb9 100644--- a/MediaBrowser.Controller/Drawing/IImageEncoder.cs+++ b/MediaBrowser.Controller/Drawing/IImageEncoder.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591#nullable enablediff --git a/MediaBrowser.Controller/Drawing/IImageProcessor.cs b/MediaBrowser.Controller/Drawing/IImageProcessor.csindex 142cebd0c0..9bfead8b3b 100644--- a/MediaBrowser.Controller/Drawing/IImageProcessor.cs+++ b/MediaBrowser.Controller/Drawing/IImageProcessor.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591#nullable enablediff --git a/MediaBrowser.Controller/Drawing/ImageCollageOptions.cs b/MediaBrowser.Controller/Drawing/ImageCollageOptions.csindex fe0465d0d7..f06bbe4d0d 100644--- a/MediaBrowser.Controller/Drawing/ImageCollageOptions.cs+++ b/MediaBrowser.Controller/Drawing/ImageCollageOptions.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591namespace MediaBrowser.Controller.Drawingdiff --git a/MediaBrowser.Controller/Drawing/ImageHelper.cs b/MediaBrowser.Controller/Drawing/ImageHelper.csindex 596fcbc8cf..204175ed5a 100644--- a/MediaBrowser.Controller/Drawing/ImageHelper.cs+++ b/MediaBrowser.Controller/Drawing/ImageHelper.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591#nullable enablediff --git a/MediaBrowser.Controller/Drawing/ImageProcessingOptions.cs b/MediaBrowser.Controller/Drawing/ImageProcessingOptions.csindex 230a0af60c..11e6633011 100644--- a/MediaBrowser.Controller/Drawing/ImageProcessingOptions.cs+++ b/MediaBrowser.Controller/Drawing/ImageProcessingOptions.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Drawing/ImageProcessorExtensions.cs b/MediaBrowser.Controller/Drawing/ImageProcessorExtensions.csindex d3a2b4dbf2..b036425ab3 100644--- a/MediaBrowser.Controller/Drawing/ImageProcessorExtensions.cs+++ b/MediaBrowser.Controller/Drawing/ImageProcessorExtensions.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using MediaBrowser.Controller.Entities;diff --git a/MediaBrowser.Controller/Drawing/ImageStream.cs b/MediaBrowser.Controller/Drawing/ImageStream.csindex 46f58ec159..591cc53d10 100644--- a/MediaBrowser.Controller/Drawing/ImageStream.cs+++ b/MediaBrowser.Controller/Drawing/ImageStream.cs@@ -12,7 +12,7 @@ namespace MediaBrowser.Controller.Drawing/// Gets or sets the stream./// </summary>/// <value>The stream.</value>- public Stream Stream { get; set; }+ public Stream? Stream { get; set; }/// <summary>/// Gets or sets the format.diff --git a/MediaBrowser.Controller/Dto/DtoOptions.cs b/MediaBrowser.Controller/Dto/DtoOptions.csindex 3567837507..758e841a7f 100644--- a/MediaBrowser.Controller/Dto/DtoOptions.cs+++ b/MediaBrowser.Controller/Dto/DtoOptions.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Dto/IDtoService.cs b/MediaBrowser.Controller/Dto/IDtoService.csindex 988557f42c..7f4bbead0f 100644--- a/MediaBrowser.Controller/Dto/IDtoService.cs+++ b/MediaBrowser.Controller/Dto/IDtoService.cs@@ -1,3 +1,5 @@+#nullable disable+using System.Collections.Generic;using Jellyfin.Data.Entities;using MediaBrowser.Controller.Entities;diff --git a/MediaBrowser.Controller/Entities/AggregateFolder.cs b/MediaBrowser.Controller/Entities/AggregateFolder.csindex 6a92200dd1..f1944a7d3d 100644--- a/MediaBrowser.Controller/Entities/AggregateFolder.cs+++ b/MediaBrowser.Controller/Entities/AggregateFolder.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Entities/Audio/Audio.cs b/MediaBrowser.Controller/Entities/Audio/Audio.csindex 8220464b39..4c2b7cb7c7 100644--- a/MediaBrowser.Controller/Entities/Audio/Audio.cs+++ b/MediaBrowser.Controller/Entities/Audio/Audio.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Entities/Audio/IHasAlbumArtist.cs b/MediaBrowser.Controller/Entities/Audio/IHasAlbumArtist.csindex 20fad4cb0e..1625c748a8 100644--- a/MediaBrowser.Controller/Entities/Audio/IHasAlbumArtist.cs+++ b/MediaBrowser.Controller/Entities/Audio/IHasAlbumArtist.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System.Collections.Generic;diff --git a/MediaBrowser.Controller/Entities/Audio/IHasMusicGenres.cs b/MediaBrowser.Controller/Entities/Audio/IHasMusicGenres.csindex ac4dd1688b..db60c3071d 100644--- a/MediaBrowser.Controller/Entities/Audio/IHasMusicGenres.cs+++ b/MediaBrowser.Controller/Entities/Audio/IHasMusicGenres.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591namespace MediaBrowser.Controller.Entities.Audiodiff --git a/MediaBrowser.Controller/Entities/Audio/MusicAlbum.cs b/MediaBrowser.Controller/Entities/Audio/MusicAlbum.csindex 9a33ad9d74..610bce4f5f 100644--- a/MediaBrowser.Controller/Entities/Audio/MusicAlbum.cs+++ b/MediaBrowser.Controller/Entities/Audio/MusicAlbum.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Entities/Audio/MusicArtist.cs b/MediaBrowser.Controller/Entities/Audio/MusicArtist.csindex 8a9bb12c7b..6101d30169 100644--- a/MediaBrowser.Controller/Entities/Audio/MusicArtist.cs+++ b/MediaBrowser.Controller/Entities/Audio/MusicArtist.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Entities/Audio/MusicGenre.cs b/MediaBrowser.Controller/Entities/Audio/MusicGenre.csindex f0c076108e..b07d47ffdd 100644--- a/MediaBrowser.Controller/Entities/Audio/MusicGenre.cs+++ b/MediaBrowser.Controller/Entities/Audio/MusicGenre.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Entities/AudioBook.cs b/MediaBrowser.Controller/Entities/AudioBook.csindex f4bd851e1b..4052846228 100644--- a/MediaBrowser.Controller/Entities/AudioBook.cs+++ b/MediaBrowser.Controller/Entities/AudioBook.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Entities/BaseItem.cs b/MediaBrowser.Controller/Entities/BaseItem.csindex 32ae154983..ca52132735 100644--- a/MediaBrowser.Controller/Entities/BaseItem.cs+++ b/MediaBrowser.Controller/Entities/BaseItem.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Entities/BaseItemExtensions.cs b/MediaBrowser.Controller/Entities/BaseItemExtensions.csindex 157ed83328..c39b18891f 100644--- a/MediaBrowser.Controller/Entities/BaseItemExtensions.cs+++ b/MediaBrowser.Controller/Entities/BaseItemExtensions.cs@@ -1,3 +1,5 @@+#nullable disable+#nullable enable#pragma warning disable CS1591diff --git a/MediaBrowser.Controller/Entities/BasePluginFolder.cs b/MediaBrowser.Controller/Entities/BasePluginFolder.csindex ef5a5a734c..1bd25042f2 100644--- a/MediaBrowser.Controller/Entities/BasePluginFolder.cs+++ b/MediaBrowser.Controller/Entities/BasePluginFolder.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System.Text.Json.Serialization;diff --git a/MediaBrowser.Controller/Entities/Book.cs b/MediaBrowser.Controller/Entities/Book.csindex 55945283c9..3d0370248e 100644--- a/MediaBrowser.Controller/Entities/Book.cs+++ b/MediaBrowser.Controller/Entities/Book.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Entities/CollectionFolder.cs b/MediaBrowser.Controller/Entities/CollectionFolder.csindex bc5f38256c..a86da29ce4 100644--- a/MediaBrowser.Controller/Entities/CollectionFolder.cs+++ b/MediaBrowser.Controller/Entities/CollectionFolder.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Entities/Extensions.cs b/MediaBrowser.Controller/Entities/Extensions.csindex 3a34c668cf..244cc00bea 100644--- a/MediaBrowser.Controller/Entities/Extensions.cs+++ b/MediaBrowser.Controller/Entities/Extensions.cs@@ -1,3 +1,5 @@+#nullable disable+using System;using System.Linq;using MediaBrowser.Common.Extensions;diff --git a/MediaBrowser.Controller/Entities/Folder.cs b/MediaBrowser.Controller/Entities/Folder.csindex d74e6f9d8c..a59f5c6e4b 100644--- a/MediaBrowser.Controller/Entities/Folder.cs+++ b/MediaBrowser.Controller/Entities/Folder.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Entities/Genre.cs b/MediaBrowser.Controller/Entities/Genre.csindex 74a1702040..7987f38a07 100644--- a/MediaBrowser.Controller/Entities/Genre.cs+++ b/MediaBrowser.Controller/Entities/Genre.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Entities/ICollectionFolder.cs b/MediaBrowser.Controller/Entities/ICollectionFolder.csindex b84a9fa6f1..2304570fd7 100644--- a/MediaBrowser.Controller/Entities/ICollectionFolder.cs+++ b/MediaBrowser.Controller/Entities/ICollectionFolder.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Entities/IHasAspectRatio.cs b/MediaBrowser.Controller/Entities/IHasAspectRatio.csindex d7d0076681..3aeb7468f2 100644--- a/MediaBrowser.Controller/Entities/IHasAspectRatio.cs+++ b/MediaBrowser.Controller/Entities/IHasAspectRatio.cs@@ -1,3 +1,5 @@+#nullable disable+namespace MediaBrowser.Controller.Entities{/// <summary>diff --git a/MediaBrowser.Controller/Entities/IHasDisplayOrder.cs b/MediaBrowser.Controller/Entities/IHasDisplayOrder.csindex 13226b2346..14459624e9 100644--- a/MediaBrowser.Controller/Entities/IHasDisplayOrder.cs+++ b/MediaBrowser.Controller/Entities/IHasDisplayOrder.cs@@ -1,3 +1,5 @@+#nullable disable+namespace MediaBrowser.Controller.Entities{/// <summary>diff --git a/MediaBrowser.Controller/Entities/IHasMediaSources.cs b/MediaBrowser.Controller/Entities/IHasMediaSources.csindex 0f612262a8..98c3b3edf6 100644--- a/MediaBrowser.Controller/Entities/IHasMediaSources.cs+++ b/MediaBrowser.Controller/Entities/IHasMediaSources.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Entities/IHasProgramAttributes.cs b/MediaBrowser.Controller/Entities/IHasProgramAttributes.csindex f747b5149a..f80f7c304c 100644--- a/MediaBrowser.Controller/Entities/IHasProgramAttributes.cs+++ b/MediaBrowser.Controller/Entities/IHasProgramAttributes.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using MediaBrowser.Model.LiveTv;diff --git a/MediaBrowser.Controller/Entities/IHasSeries.cs b/MediaBrowser.Controller/Entities/IHasSeries.csindex 5444f1f523..64d769d5ba 100644--- a/MediaBrowser.Controller/Entities/IHasSeries.cs+++ b/MediaBrowser.Controller/Entities/IHasSeries.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Entities/IHasSpecialFeatures.cs b/MediaBrowser.Controller/Entities/IHasSpecialFeatures.csindex 6a350212b1..f317a02ff3 100644--- a/MediaBrowser.Controller/Entities/IHasSpecialFeatures.cs+++ b/MediaBrowser.Controller/Entities/IHasSpecialFeatures.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Entities/IHasTrailers.cs b/MediaBrowser.Controller/Entities/IHasTrailers.csindex d1f6f2b7e2..2bd9ded337 100644--- a/MediaBrowser.Controller/Entities/IHasTrailers.cs+++ b/MediaBrowser.Controller/Entities/IHasTrailers.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Entities/InternalItemsQuery.cs b/MediaBrowser.Controller/Entities/InternalItemsQuery.csindex 270217356f..c060210296 100644--- a/MediaBrowser.Controller/Entities/InternalItemsQuery.cs+++ b/MediaBrowser.Controller/Entities/InternalItemsQuery.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Entities/InternalPeopleQuery.cs b/MediaBrowser.Controller/Entities/InternalPeopleQuery.csindex 5b96a5af65..b2d6a46091 100644--- a/MediaBrowser.Controller/Entities/InternalPeopleQuery.cs+++ b/MediaBrowser.Controller/Entities/InternalPeopleQuery.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Entities/ItemImageInfo.cs b/MediaBrowser.Controller/Entities/ItemImageInfo.csindex 570d8eec0c..ea8555dbfe 100644--- a/MediaBrowser.Controller/Entities/ItemImageInfo.cs+++ b/MediaBrowser.Controller/Entities/ItemImageInfo.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Entities/LinkedChild.cs b/MediaBrowser.Controller/Entities/LinkedChild.csindex 8e0f721e77..01c0a93393 100644--- a/MediaBrowser.Controller/Entities/LinkedChild.cs+++ b/MediaBrowser.Controller/Entities/LinkedChild.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Entities/Movies/BoxSet.cs b/MediaBrowser.Controller/Entities/Movies/BoxSet.csindex 507f400f12..74e84288d1 100644--- a/MediaBrowser.Controller/Entities/Movies/BoxSet.cs+++ b/MediaBrowser.Controller/Entities/Movies/BoxSet.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Entities/Movies/Movie.cs b/MediaBrowser.Controller/Entities/Movies/Movie.csindex 8b67aaccc6..64d60c2e90 100644--- a/MediaBrowser.Controller/Entities/Movies/Movie.cs+++ b/MediaBrowser.Controller/Entities/Movies/Movie.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Entities/MusicVideo.cs b/MediaBrowser.Controller/Entities/MusicVideo.csindex b278a01423..f42e7723c3 100644--- a/MediaBrowser.Controller/Entities/MusicVideo.cs+++ b/MediaBrowser.Controller/Entities/MusicVideo.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Entities/Person.cs b/MediaBrowser.Controller/Entities/Person.csindex c4fcb0267a..d9ff55362c 100644--- a/MediaBrowser.Controller/Entities/Person.cs+++ b/MediaBrowser.Controller/Entities/Person.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Entities/PersonInfo.cs b/MediaBrowser.Controller/Entities/PersonInfo.csindex 4ff9b0955c..fb79323f8f 100644--- a/MediaBrowser.Controller/Entities/PersonInfo.cs+++ b/MediaBrowser.Controller/Entities/PersonInfo.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Entities/Photo.cs b/MediaBrowser.Controller/Entities/Photo.csindex 0f82f742fd..3312a0e3e2 100644--- a/MediaBrowser.Controller/Entities/Photo.cs+++ b/MediaBrowser.Controller/Entities/Photo.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System.Text.Json.Serialization;diff --git a/MediaBrowser.Controller/Entities/Share.cs b/MediaBrowser.Controller/Entities/Share.csindex 50f1655f39..7e4ec18307 100644--- a/MediaBrowser.Controller/Entities/Share.cs+++ b/MediaBrowser.Controller/Entities/Share.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591namespace MediaBrowser.Controller.Entitiesdiff --git a/MediaBrowser.Controller/Entities/Studio.cs b/MediaBrowser.Controller/Entities/Studio.csindex 9018ddb75e..ae1d10447b 100644--- a/MediaBrowser.Controller/Entities/Studio.cs+++ b/MediaBrowser.Controller/Entities/Studio.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Entities/TV/Episode.cs b/MediaBrowser.Controller/Entities/TV/Episode.csindex 70663ef478..2724bd9b3d 100644--- a/MediaBrowser.Controller/Entities/TV/Episode.cs+++ b/MediaBrowser.Controller/Entities/TV/Episode.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Entities/TV/Season.cs b/MediaBrowser.Controller/Entities/TV/Season.csindex 5b8168d3d6..ad3e0fe8d6 100644--- a/MediaBrowser.Controller/Entities/TV/Season.cs+++ b/MediaBrowser.Controller/Entities/TV/Season.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Entities/TV/Series.cs b/MediaBrowser.Controller/Entities/TV/Series.csindex 06a405121c..ded825abc0 100644--- a/MediaBrowser.Controller/Entities/TV/Series.cs+++ b/MediaBrowser.Controller/Entities/TV/Series.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Entities/Trailer.cs b/MediaBrowser.Controller/Entities/Trailer.csindex 9ae8ad7087..b086b5906b 100644--- a/MediaBrowser.Controller/Entities/Trailer.cs+++ b/MediaBrowser.Controller/Entities/Trailer.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Entities/UserItemData.cs b/MediaBrowser.Controller/Entities/UserItemData.csindex db63c42e4c..f60359c014 100644--- a/MediaBrowser.Controller/Entities/UserItemData.cs+++ b/MediaBrowser.Controller/Entities/UserItemData.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Entities/UserRootFolder.cs b/MediaBrowser.Controller/Entities/UserRootFolder.csindex 7f7224ae07..e492740ed0 100644--- a/MediaBrowser.Controller/Entities/UserRootFolder.cs+++ b/MediaBrowser.Controller/Entities/UserRootFolder.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Entities/UserView.cs b/MediaBrowser.Controller/Entities/UserView.csindex fec83dd941..0dfde27667 100644--- a/MediaBrowser.Controller/Entities/UserView.cs+++ b/MediaBrowser.Controller/Entities/UserView.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Entities/UserViewBuilder.cs b/MediaBrowser.Controller/Entities/UserViewBuilder.csindex 78a64d8c95..15a4573c2e 100644--- a/MediaBrowser.Controller/Entities/UserViewBuilder.cs+++ b/MediaBrowser.Controller/Entities/UserViewBuilder.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Entities/Video.cs b/MediaBrowser.Controller/Entities/Video.csindex 6320b01b87..723027a883 100644--- a/MediaBrowser.Controller/Entities/Video.cs+++ b/MediaBrowser.Controller/Entities/Video.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Entities/Year.cs b/MediaBrowser.Controller/Entities/Year.csindex b2e4d307a6..4d84a151a7 100644--- a/MediaBrowser.Controller/Entities/Year.cs+++ b/MediaBrowser.Controller/Entities/Year.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Events/IEventConsumer.cs b/MediaBrowser.Controller/Events/IEventConsumer.csindex 5c4ab5d8dd..93005134a7 100644--- a/MediaBrowser.Controller/Events/IEventConsumer.cs+++ b/MediaBrowser.Controller/Events/IEventConsumer.cs@@ -1,4 +1,4 @@-using System;+using System;using System.Threading.Tasks;namespace MediaBrowser.Controller.Eventsdiff --git a/MediaBrowser.Controller/Events/IEventManager.cs b/MediaBrowser.Controller/Events/IEventManager.csindex a1f40b3a6d..074e3f1fe4 100644--- a/MediaBrowser.Controller/Events/IEventManager.cs+++ b/MediaBrowser.Controller/Events/IEventManager.cs@@ -1,4 +1,4 @@-using System;+using System;using System.Threading.Tasks;namespace MediaBrowser.Controller.Eventsdiff --git a/MediaBrowser.Controller/Events/Session/SessionEndedEventArgs.cs b/MediaBrowser.Controller/Events/Session/SessionEndedEventArgs.csindex 46d7e5a17a..3a331ad00f 100644--- a/MediaBrowser.Controller/Events/Session/SessionEndedEventArgs.cs+++ b/MediaBrowser.Controller/Events/Session/SessionEndedEventArgs.cs@@ -1,4 +1,4 @@-using Jellyfin.Data.Events;+using Jellyfin.Data.Events;using MediaBrowser.Controller.Session;namespace MediaBrowser.Controller.Events.Sessiondiff --git a/MediaBrowser.Controller/Events/Session/SessionStartedEventArgs.cs b/MediaBrowser.Controller/Events/Session/SessionStartedEventArgs.csindex aab19cc46a..deeaaf55de 100644--- a/MediaBrowser.Controller/Events/Session/SessionStartedEventArgs.cs+++ b/MediaBrowser.Controller/Events/Session/SessionStartedEventArgs.cs@@ -1,4 +1,4 @@-using Jellyfin.Data.Events;+using Jellyfin.Data.Events;using MediaBrowser.Controller.Session;namespace MediaBrowser.Controller.Events.Sessiondiff --git a/MediaBrowser.Controller/Events/Updates/PluginInstallationCancelledEventArgs.cs b/MediaBrowser.Controller/Events/Updates/PluginInstallationCancelledEventArgs.csindex b06046c05a..0dd8b0dbfd 100644--- a/MediaBrowser.Controller/Events/Updates/PluginInstallationCancelledEventArgs.cs+++ b/MediaBrowser.Controller/Events/Updates/PluginInstallationCancelledEventArgs.cs@@ -1,4 +1,4 @@-using Jellyfin.Data.Events;+using Jellyfin.Data.Events;using MediaBrowser.Model.Updates;namespace MediaBrowser.Controller.Events.Updatesdiff --git a/MediaBrowser.Controller/Events/Updates/PluginInstalledEventArgs.cs b/MediaBrowser.Controller/Events/Updates/PluginInstalledEventArgs.csindex dfadc9f61f..c1d503a7eb 100644--- a/MediaBrowser.Controller/Events/Updates/PluginInstalledEventArgs.cs+++ b/MediaBrowser.Controller/Events/Updates/PluginInstalledEventArgs.cs@@ -1,4 +1,4 @@-using Jellyfin.Data.Events;+using Jellyfin.Data.Events;using MediaBrowser.Model.Updates;namespace MediaBrowser.Controller.Events.Updatesdiff --git a/MediaBrowser.Controller/Events/Updates/PluginInstallingEventArgs.cs b/MediaBrowser.Controller/Events/Updates/PluginInstallingEventArgs.csindex 045a600272..7a9866834a 100644--- a/MediaBrowser.Controller/Events/Updates/PluginInstallingEventArgs.cs+++ b/MediaBrowser.Controller/Events/Updates/PluginInstallingEventArgs.cs@@ -1,4 +1,4 @@-using Jellyfin.Data.Events;+using Jellyfin.Data.Events;using MediaBrowser.Model.Updates;namespace MediaBrowser.Controller.Events.Updatesdiff --git a/MediaBrowser.Controller/Events/Updates/PluginUpdatedEventArgs.cs b/MediaBrowser.Controller/Events/Updates/PluginUpdatedEventArgs.csindex 661ca066a8..b078e06dc8 100644--- a/MediaBrowser.Controller/Events/Updates/PluginUpdatedEventArgs.cs+++ b/MediaBrowser.Controller/Events/Updates/PluginUpdatedEventArgs.cs@@ -1,4 +1,4 @@-using Jellyfin.Data.Events;+using Jellyfin.Data.Events;using MediaBrowser.Model.Updates;namespace MediaBrowser.Controller.Events.Updatesdiff --git a/MediaBrowser.Controller/Extensions/StringExtensions.cs b/MediaBrowser.Controller/Extensions/StringExtensions.csindex 182c8ef658..8441a31713 100644--- a/MediaBrowser.Controller/Extensions/StringExtensions.cs+++ b/MediaBrowser.Controller/Extensions/StringExtensions.cs@@ -1,4 +1,3 @@-#nullable enable#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/IDisplayPreferencesManager.cs b/MediaBrowser.Controller/IDisplayPreferencesManager.csindex be1d974a47..1678d50675 100644--- a/MediaBrowser.Controller/IDisplayPreferencesManager.cs+++ b/MediaBrowser.Controller/IDisplayPreferencesManager.cs@@ -1,3 +1,5 @@+#nullable disable+using System;using System.Collections.Generic;using Jellyfin.Data.Entities;diff --git a/MediaBrowser.Controller/IServerApplicationHost.cs b/MediaBrowser.Controller/IServerApplicationHost.csindex 6a65a8e47a..0949238426 100644--- a/MediaBrowser.Controller/IServerApplicationHost.cs+++ b/MediaBrowser.Controller/IServerApplicationHost.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/IServerApplicationPaths.cs b/MediaBrowser.Controller/IServerApplicationPaths.csindex be57d6bcae..1890dbb360 100644--- a/MediaBrowser.Controller/IServerApplicationPaths.cs+++ b/MediaBrowser.Controller/IServerApplicationPaths.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using MediaBrowser.Common.Configuration;diff --git a/MediaBrowser.Controller/Library/IIntroProvider.cs b/MediaBrowser.Controller/Library/IIntroProvider.csindex d45493d404..3bb1bd9a09 100644--- a/MediaBrowser.Controller/Library/IIntroProvider.cs+++ b/MediaBrowser.Controller/Library/IIntroProvider.cs@@ -1,3 +1,5 @@+#nullable disable+using System.Collections.Generic;using System.Threading.Tasks;using MediaBrowser.Controller.Entities;diff --git a/MediaBrowser.Controller/Library/ILibraryManager.cs b/MediaBrowser.Controller/Library/ILibraryManager.csindex 6d9b568da8..782e153982 100644--- a/MediaBrowser.Controller/Library/ILibraryManager.cs+++ b/MediaBrowser.Controller/Library/ILibraryManager.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Library/ILiveStream.cs b/MediaBrowser.Controller/Library/ILiveStream.csindex ff25be6577..85d866de5c 100644--- a/MediaBrowser.Controller/Library/ILiveStream.cs+++ b/MediaBrowser.Controller/Library/ILiveStream.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System.Threading;diff --git a/MediaBrowser.Controller/Library/IMediaSourceManager.cs b/MediaBrowser.Controller/Library/IMediaSourceManager.csindex 21c6ef2af1..d3d85a0563 100644--- a/MediaBrowser.Controller/Library/IMediaSourceManager.cs+++ b/MediaBrowser.Controller/Library/IMediaSourceManager.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Library/IMetadataSaver.cs b/MediaBrowser.Controller/Library/IMetadataSaver.csindex 027cc5b40e..5fbfad8814 100644--- a/MediaBrowser.Controller/Library/IMetadataSaver.cs+++ b/MediaBrowser.Controller/Library/IMetadataSaver.cs@@ -1,3 +1,5 @@+#nullable disable+using System.Threading;using MediaBrowser.Controller.Entities;diff --git a/MediaBrowser.Controller/Library/IMusicManager.cs b/MediaBrowser.Controller/Library/IMusicManager.csindex d12f008e77..5329841bf5 100644--- a/MediaBrowser.Controller/Library/IMusicManager.cs+++ b/MediaBrowser.Controller/Library/IMusicManager.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System.Collections.Generic;diff --git a/MediaBrowser.Controller/Library/IUserDataManager.cs b/MediaBrowser.Controller/Library/IUserDataManager.csindex c6a83e4dc4..58499e8531 100644--- a/MediaBrowser.Controller/Library/IUserDataManager.cs+++ b/MediaBrowser.Controller/Library/IUserDataManager.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Library/IUserManager.cs b/MediaBrowser.Controller/Library/IUserManager.csindex 6e267834b0..c95b0ea321 100644--- a/MediaBrowser.Controller/Library/IUserManager.cs+++ b/MediaBrowser.Controller/Library/IUserManager.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Library/IUserViewManager.cs b/MediaBrowser.Controller/Library/IUserViewManager.csindex 8d541e8b68..46004e42f7 100644--- a/MediaBrowser.Controller/Library/IUserViewManager.cs+++ b/MediaBrowser.Controller/Library/IUserViewManager.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Library/IntroInfo.cs b/MediaBrowser.Controller/Library/IntroInfo.csindex 283cc631ca..90786786b2 100644--- a/MediaBrowser.Controller/Library/IntroInfo.cs+++ b/MediaBrowser.Controller/Library/IntroInfo.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Library/ItemChangeEventArgs.cs b/MediaBrowser.Controller/Library/ItemChangeEventArgs.csindex 1798a4fada..a37dc7af11 100644--- a/MediaBrowser.Controller/Library/ItemChangeEventArgs.cs+++ b/MediaBrowser.Controller/Library/ItemChangeEventArgs.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using MediaBrowser.Controller.Entities;diff --git a/MediaBrowser.Controller/Library/ItemResolveArgs.cs b/MediaBrowser.Controller/Library/ItemResolveArgs.csindex 5f9aed3416..0e2d8fb021 100644--- a/MediaBrowser.Controller/Library/ItemResolveArgs.cs+++ b/MediaBrowser.Controller/Library/ItemResolveArgs.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Library/LibraryManagerExtensions.cs b/MediaBrowser.Controller/Library/LibraryManagerExtensions.csindex 9581603f04..7bc8fa5abd 100644--- a/MediaBrowser.Controller/Library/LibraryManagerExtensions.cs+++ b/MediaBrowser.Controller/Library/LibraryManagerExtensions.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Library/MetadataConfigurationExtensions.cs b/MediaBrowser.Controller/Library/MetadataConfigurationExtensions.csindex 884f9e7735..41cfcae163 100644--- a/MediaBrowser.Controller/Library/MetadataConfigurationExtensions.cs+++ b/MediaBrowser.Controller/Library/MetadataConfigurationExtensions.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using MediaBrowser.Common.Configuration;diff --git a/MediaBrowser.Controller/Library/NameExtensions.cs b/MediaBrowser.Controller/Library/NameExtensions.csindex 6e79dc8ddf..29bfeca097 100644--- a/MediaBrowser.Controller/Library/NameExtensions.cs+++ b/MediaBrowser.Controller/Library/NameExtensions.cs@@ -1,4 +1,3 @@-#nullable enable#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Library/PlaybackProgressEventArgs.cs b/MediaBrowser.Controller/Library/PlaybackProgressEventArgs.csindex a2be3a42ab..609336ec4d 100644--- a/MediaBrowser.Controller/Library/PlaybackProgressEventArgs.cs+++ b/MediaBrowser.Controller/Library/PlaybackProgressEventArgs.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Library/PlaybackStartEventArgs.cs b/MediaBrowser.Controller/Library/PlaybackStartEventArgs.csindex ac372bceba..2138fef580 100644--- a/MediaBrowser.Controller/Library/PlaybackStartEventArgs.cs+++ b/MediaBrowser.Controller/Library/PlaybackStartEventArgs.cs@@ -1,4 +1,4 @@-namespace MediaBrowser.Controller.Library+namespace MediaBrowser.Controller.Library{/// <summary>/// An event that occurs when playback is started.diff --git a/MediaBrowser.Controller/Library/Profiler.cs b/MediaBrowser.Controller/Library/Profiler.csindex 5efdc6a481..8f42d37061 100644--- a/MediaBrowser.Controller/Library/Profiler.cs+++ b/MediaBrowser.Controller/Library/Profiler.cs@@ -1,3 +1,5 @@+#nullable disable+using System;using System.Diagnostics;using System.Globalization;diff --git a/MediaBrowser.Controller/Library/SearchHintInfo.cs b/MediaBrowser.Controller/Library/SearchHintInfo.csindex 897c2b7f49..de7806adc3 100644--- a/MediaBrowser.Controller/Library/SearchHintInfo.cs+++ b/MediaBrowser.Controller/Library/SearchHintInfo.cs@@ -1,3 +1,5 @@+#nullable disable+using MediaBrowser.Controller.Entities;namespace MediaBrowser.Controller.Librarydiff --git a/MediaBrowser.Controller/Library/TVUtils.cs b/MediaBrowser.Controller/Library/TVUtils.csindex a3aa6019ec..8cbfc78aad 100644--- a/MediaBrowser.Controller/Library/TVUtils.cs+++ b/MediaBrowser.Controller/Library/TVUtils.cs@@ -1,4 +1,5 @@using System;+using System.Diagnostics.CodeAnalysis;namespace MediaBrowser.Controller.Library{@@ -12,7 +13,8 @@ namespace MediaBrowser.Controller.Library/// </summary>/// <param name="day">The day.</param>/// <returns>List{DayOfWeek}.</returns>- public static DayOfWeek[] GetAirDays(string day)+ [return: NotNullIfNotNull("day")]+ public static DayOfWeek[] GetAirDays(string? day){if (!string.IsNullOrEmpty(day)){diff --git a/MediaBrowser.Controller/Library/UserDataSaveEventArgs.cs b/MediaBrowser.Controller/Library/UserDataSaveEventArgs.csindex cd91097535..bfe433c971 100644--- a/MediaBrowser.Controller/Library/UserDataSaveEventArgs.cs+++ b/MediaBrowser.Controller/Library/UserDataSaveEventArgs.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/LiveTv/ChannelInfo.cs b/MediaBrowser.Controller/LiveTv/ChannelInfo.csindex 166c4d77c0..a55fd670d5 100644--- a/MediaBrowser.Controller/LiveTv/ChannelInfo.cs+++ b/MediaBrowser.Controller/LiveTv/ChannelInfo.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using MediaBrowser.Model.LiveTv;diff --git a/MediaBrowser.Controller/LiveTv/IListingsProvider.cs b/MediaBrowser.Controller/LiveTv/IListingsProvider.csindex 038ff2eaeb..2bd4b20e8c 100644--- a/MediaBrowser.Controller/LiveTv/IListingsProvider.cs+++ b/MediaBrowser.Controller/LiveTv/IListingsProvider.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/LiveTv/ILiveTvManager.cs b/MediaBrowser.Controller/LiveTv/ILiveTvManager.csindex 54495c1c40..c28e0426b5 100644--- a/MediaBrowser.Controller/LiveTv/ILiveTvManager.cs+++ b/MediaBrowser.Controller/LiveTv/ILiveTvManager.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/LiveTv/ILiveTvService.cs b/MediaBrowser.Controller/LiveTv/ILiveTvService.csindex 3ca1d165ef..897f263f3d 100644--- a/MediaBrowser.Controller/LiveTv/ILiveTvService.cs+++ b/MediaBrowser.Controller/LiveTv/ILiveTvService.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/LiveTv/ITunerHost.cs b/MediaBrowser.Controller/LiveTv/ITunerHost.csindex abca8f2390..7dced9f5ef 100644--- a/MediaBrowser.Controller/LiveTv/ITunerHost.cs+++ b/MediaBrowser.Controller/LiveTv/ITunerHost.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System.Collections.Generic;diff --git a/MediaBrowser.Controller/LiveTv/LiveTvChannel.cs b/MediaBrowser.Controller/LiveTv/LiveTvChannel.csindex ec933caf34..51e56f4b5e 100644--- a/MediaBrowser.Controller/LiveTv/LiveTvChannel.cs+++ b/MediaBrowser.Controller/LiveTv/LiveTvChannel.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/LiveTv/LiveTvProgram.cs b/MediaBrowser.Controller/LiveTv/LiveTvProgram.csindex 43af495dd6..d9634a731f 100644--- a/MediaBrowser.Controller/LiveTv/LiveTvProgram.cs+++ b/MediaBrowser.Controller/LiveTv/LiveTvProgram.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/LiveTv/LiveTvServiceStatusInfo.cs b/MediaBrowser.Controller/LiveTv/LiveTvServiceStatusInfo.csindex b629749049..eb3babc180 100644--- a/MediaBrowser.Controller/LiveTv/LiveTvServiceStatusInfo.cs+++ b/MediaBrowser.Controller/LiveTv/LiveTvServiceStatusInfo.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System.Collections.Generic;diff --git a/MediaBrowser.Controller/LiveTv/LiveTvTunerInfo.cs b/MediaBrowser.Controller/LiveTv/LiveTvTunerInfo.csindex 739978e7ce..aa5eb59d16 100644--- a/MediaBrowser.Controller/LiveTv/LiveTvTunerInfo.cs+++ b/MediaBrowser.Controller/LiveTv/LiveTvTunerInfo.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System.Collections.Generic;diff --git a/MediaBrowser.Controller/LiveTv/ProgramInfo.cs b/MediaBrowser.Controller/LiveTv/ProgramInfo.csindex f9f559ee96..4a977c5cc3 100644--- a/MediaBrowser.Controller/LiveTv/ProgramInfo.cs+++ b/MediaBrowser.Controller/LiveTv/ProgramInfo.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/LiveTv/RecordingInfo.cs b/MediaBrowser.Controller/LiveTv/RecordingInfo.csindex 69190694ff..00135afa81 100644--- a/MediaBrowser.Controller/LiveTv/RecordingInfo.cs+++ b/MediaBrowser.Controller/LiveTv/RecordingInfo.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/LiveTv/RecordingStatusChangedEventArgs.cs b/MediaBrowser.Controller/LiveTv/RecordingStatusChangedEventArgs.csindex 847c0ea8c0..0b943c9396 100644--- a/MediaBrowser.Controller/LiveTv/RecordingStatusChangedEventArgs.cs+++ b/MediaBrowser.Controller/LiveTv/RecordingStatusChangedEventArgs.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/LiveTv/SeriesTimerInfo.cs b/MediaBrowser.Controller/LiveTv/SeriesTimerInfo.csindex 1343ecd982..1bb649a991 100644--- a/MediaBrowser.Controller/LiveTv/SeriesTimerInfo.cs+++ b/MediaBrowser.Controller/LiveTv/SeriesTimerInfo.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/LiveTv/TimerEventInfo.cs b/MediaBrowser.Controller/LiveTv/TimerEventInfo.csindex 1b8f41db69..728387c56d 100644--- a/MediaBrowser.Controller/LiveTv/TimerEventInfo.cs+++ b/MediaBrowser.Controller/LiveTv/TimerEventInfo.cs@@ -1,3 +1,5 @@+#nullable disable+#nullable enable#pragma warning disable CS1591diff --git a/MediaBrowser.Controller/LiveTv/TimerInfo.cs b/MediaBrowser.Controller/LiveTv/TimerInfo.csindex aa5170617d..e54dc967ca 100644--- a/MediaBrowser.Controller/LiveTv/TimerInfo.cs+++ b/MediaBrowser.Controller/LiveTv/TimerInfo.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/LiveTv/TunerChannelMapping.cs b/MediaBrowser.Controller/LiveTv/TunerChannelMapping.csindex 2759b314f5..1c1a4417dc 100644--- a/MediaBrowser.Controller/LiveTv/TunerChannelMapping.cs+++ b/MediaBrowser.Controller/LiveTv/TunerChannelMapping.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591namespace MediaBrowser.Controller.LiveTvdiff --git a/MediaBrowser.Controller/MediaBrowser.Controller.csproj b/MediaBrowser.Controller/MediaBrowser.Controller.csprojindex 8c68b47dd7..37ce35fc27 100644--- a/MediaBrowser.Controller/MediaBrowser.Controller.csproj+++ b/MediaBrowser.Controller/MediaBrowser.Controller.csproj@@ -34,6 +34,7 @@<GenerateAssemblyInfo>false</GenerateAssemblyInfo><GenerateDocumentationFile>true</GenerateDocumentationFile><TreatWarningsAsErrors Condition=" '$(Configuration)' == 'Release' ">true</TreatWarningsAsErrors>+ <Nullable>enable</Nullable><AnalysisMode Condition=" '$(Configuration)' == 'Debug' ">AllEnabledByDefault</AnalysisMode><CodeAnalysisRuleSet>../jellyfin.ruleset</CodeAnalysisRuleSet><PublishRepositoryUrl>true</PublishRepositoryUrl>diff --git a/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs b/MediaBrowser.Controller/MediaEncoding/EncodingHelper.csindex 2b53647758..97cb8d63ba 100644--- a/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs+++ b/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/MediaEncoding/EncodingJobInfo.cs b/MediaBrowser.Controller/MediaEncoding/EncodingJobInfo.csindex d47a689f47..1e13382b75 100644--- a/MediaBrowser.Controller/MediaEncoding/EncodingJobInfo.cs+++ b/MediaBrowser.Controller/MediaEncoding/EncodingJobInfo.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/MediaEncoding/EncodingJobOptions.cs b/MediaBrowser.Controller/MediaEncoding/EncodingJobOptions.csindex 1f3abe8f43..88de5b2925 100644--- a/MediaBrowser.Controller/MediaEncoding/EncodingJobOptions.cs+++ b/MediaBrowser.Controller/MediaEncoding/EncodingJobOptions.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/MediaEncoding/IAttachmentExtractor.cs b/MediaBrowser.Controller/MediaEncoding/IAttachmentExtractor.csindex fbc8275341..c38e7ec3b3 100644--- a/MediaBrowser.Controller/MediaEncoding/IAttachmentExtractor.cs+++ b/MediaBrowser.Controller/MediaEncoding/IAttachmentExtractor.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System.IO;diff --git a/MediaBrowser.Controller/MediaEncoding/IEncodingManager.cs b/MediaBrowser.Controller/MediaEncoding/IEncodingManager.csindex 15a2580afd..773547872c 100644--- a/MediaBrowser.Controller/MediaEncoding/IEncodingManager.cs+++ b/MediaBrowser.Controller/MediaEncoding/IEncodingManager.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System.Collections.Generic;diff --git a/MediaBrowser.Controller/MediaEncoding/IMediaEncoder.cs b/MediaBrowser.Controller/MediaEncoding/IMediaEncoder.csindex 05dd1a69b1..d3260280a5 100644--- a/MediaBrowser.Controller/MediaEncoding/IMediaEncoder.cs+++ b/MediaBrowser.Controller/MediaEncoding/IMediaEncoder.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/MediaEncoding/ISubtitleEncoder.cs b/MediaBrowser.Controller/MediaEncoding/ISubtitleEncoder.csindex 6ebf7f159b..3fb2c47e13 100644--- a/MediaBrowser.Controller/MediaEncoding/ISubtitleEncoder.cs+++ b/MediaBrowser.Controller/MediaEncoding/ISubtitleEncoder.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System.IO;diff --git a/MediaBrowser.Controller/MediaEncoding/ImageEncodingOptions.cs b/MediaBrowser.Controller/MediaEncoding/ImageEncodingOptions.csindex e7b4c8c15c..044ba6d331 100644--- a/MediaBrowser.Controller/MediaEncoding/ImageEncodingOptions.cs+++ b/MediaBrowser.Controller/MediaEncoding/ImageEncodingOptions.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591namespace MediaBrowser.Controller.MediaEncodingdiff --git a/MediaBrowser.Controller/MediaEncoding/JobLogger.cs b/MediaBrowser.Controller/MediaEncoding/JobLogger.csindex 227c5f2587..aa5e2c4038 100644--- a/MediaBrowser.Controller/MediaEncoding/JobLogger.cs+++ b/MediaBrowser.Controller/MediaEncoding/JobLogger.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/MediaEncoding/MediaEncoderHelpers.cs b/MediaBrowser.Controller/MediaEncoding/MediaEncoderHelpers.csindex 89e01c08b6..841e7b2872 100644--- a/MediaBrowser.Controller/MediaEncoding/MediaEncoderHelpers.cs+++ b/MediaBrowser.Controller/MediaEncoding/MediaEncoderHelpers.cs@@ -1,6 +1,5 @@#pragma warning disable CS1591-namespace MediaBrowser.Controller.MediaEncoding{/// <summary>diff --git a/MediaBrowser.Controller/MediaEncoding/MediaInfoRequest.cs b/MediaBrowser.Controller/MediaEncoding/MediaInfoRequest.csindex 2cb04bdc4f..1dd8bcf31b 100644--- a/MediaBrowser.Controller/MediaEncoding/MediaInfoRequest.cs+++ b/MediaBrowser.Controller/MediaEncoding/MediaInfoRequest.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using MediaBrowser.Model.Dlna;diff --git a/MediaBrowser.Controller/Net/AuthorizationInfo.cs b/MediaBrowser.Controller/Net/AuthorizationInfo.csindex 93573e08e2..2452b25ab1 100644--- a/MediaBrowser.Controller/Net/AuthorizationInfo.cs+++ b/MediaBrowser.Controller/Net/AuthorizationInfo.cs@@ -1,3 +1,5 @@+#nullable disable+using System;using Jellyfin.Data.Entities;diff --git a/MediaBrowser.Controller/Net/BasePeriodicWebSocketListener.cs b/MediaBrowser.Controller/Net/BasePeriodicWebSocketListener.csindex 163a9c8f86..855467e8e3 100644--- a/MediaBrowser.Controller/Net/BasePeriodicWebSocketListener.cs+++ b/MediaBrowser.Controller/Net/BasePeriodicWebSocketListener.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Net/IAuthService.cs b/MediaBrowser.Controller/Net/IAuthService.csindex 04b2e13e8c..d15c6d3183 100644--- a/MediaBrowser.Controller/Net/IAuthService.cs+++ b/MediaBrowser.Controller/Net/IAuthService.cs@@ -1,5 +1,3 @@-#nullable enable-using Microsoft.AspNetCore.Http;namespace MediaBrowser.Controller.Netdiff --git a/MediaBrowser.Controller/Net/IWebSocketConnection.cs b/MediaBrowser.Controller/Net/IWebSocketConnection.csindex e87f3bca68..5e9fce5503 100644--- a/MediaBrowser.Controller/Net/IWebSocketConnection.cs+++ b/MediaBrowser.Controller/Net/IWebSocketConnection.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591#nullable enablediff --git a/MediaBrowser.Controller/Net/SecurityException.cs b/MediaBrowser.Controller/Net/SecurityException.csindex c6347133a8..f0d0b45a0a 100644--- a/MediaBrowser.Controller/Net/SecurityException.cs+++ b/MediaBrowser.Controller/Net/SecurityException.cs@@ -1,5 +1,3 @@-#nullable enable-using System;namespace MediaBrowser.Controller.Netdiff --git a/MediaBrowser.Controller/Net/WebSocketMessageInfo.cs b/MediaBrowser.Controller/Net/WebSocketMessageInfo.csindex be0b3ddc3f..6f7ebf1565 100644--- a/MediaBrowser.Controller/Net/WebSocketMessageInfo.cs+++ b/MediaBrowser.Controller/Net/WebSocketMessageInfo.cs@@ -1,3 +1,5 @@+#nullable disable+using MediaBrowser.Model.Net;namespace MediaBrowser.Controller.Netdiff --git a/MediaBrowser.Controller/Notifications/INotificationManager.cs b/MediaBrowser.Controller/Notifications/INotificationManager.csindex 08d9bc12a2..7caba1097a 100644--- a/MediaBrowser.Controller/Notifications/INotificationManager.cs+++ b/MediaBrowser.Controller/Notifications/INotificationManager.cs@@ -19,7 +19,7 @@ namespace MediaBrowser.Controller.Notifications/// <returns>Task.</returns>Task SendNotification(NotificationRequest request, CancellationToken cancellationToken);- Task SendNotification(NotificationRequest request, BaseItem relatedItem, CancellationToken cancellationToken);+ Task SendNotification(NotificationRequest request, BaseItem? relatedItem, CancellationToken cancellationToken);/// <summary>/// Adds the parts.diff --git a/MediaBrowser.Controller/Notifications/INotificationService.cs b/MediaBrowser.Controller/Notifications/INotificationService.csindex fa947220ad..535c08795b 100644--- a/MediaBrowser.Controller/Notifications/INotificationService.cs+++ b/MediaBrowser.Controller/Notifications/INotificationService.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System.Threading;diff --git a/MediaBrowser.Controller/Notifications/UserNotification.cs b/MediaBrowser.Controller/Notifications/UserNotification.csindex d768abfe73..4be0e09ae7 100644--- a/MediaBrowser.Controller/Notifications/UserNotification.cs+++ b/MediaBrowser.Controller/Notifications/UserNotification.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Persistence/IItemRepository.cs b/MediaBrowser.Controller/Persistence/IItemRepository.csindex ed473c7492..56fb36af2a 100644--- a/MediaBrowser.Controller/Persistence/IItemRepository.cs+++ b/MediaBrowser.Controller/Persistence/IItemRepository.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Persistence/IUserDataRepository.cs b/MediaBrowser.Controller/Persistence/IUserDataRepository.csindex 81ba513cef..6f5f02123e 100644--- a/MediaBrowser.Controller/Persistence/IUserDataRepository.cs+++ b/MediaBrowser.Controller/Persistence/IUserDataRepository.cs@@ -1,3 +1,5 @@+#nullable disable+using System.Collections.Generic;using System.Threading;using MediaBrowser.Controller.Entities;diff --git a/MediaBrowser.Controller/Playlists/Playlist.cs b/MediaBrowser.Controller/Playlists/Playlist.csindex 3c93cfc79c..a80c116439 100644--- a/MediaBrowser.Controller/Playlists/Playlist.cs+++ b/MediaBrowser.Controller/Playlists/Playlist.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Plugins/ILocalizablePlugin.cs b/MediaBrowser.Controller/Plugins/ILocalizablePlugin.csdeleted file mode 100644index bf15fe0407..0000000000--- a/MediaBrowser.Controller/Plugins/ILocalizablePlugin.cs+++ /dev/null@@ -1,22 +0,0 @@-#pragma warning disable CS1591--using System.IO;-using System.Reflection;--namespace MediaBrowser.Controller.Plugins-{- public interface ILocalizablePlugin- {- Stream GetDictionary(string culture);- }-- public static class LocalizablePluginHelper- {- public static Stream GetDictionary(Assembly assembly, string manifestPrefix, string culture)- {- // Find all dictionaries using GetManifestResourceNames, start start with the prefix- // Return the one for the culture if exists, otherwise return the default- return null;- }- }-}diff --git a/MediaBrowser.Controller/Providers/BookInfo.cs b/MediaBrowser.Controller/Providers/BookInfo.csindex cce0a25fcb..3055c5d871 100644--- a/MediaBrowser.Controller/Providers/BookInfo.cs+++ b/MediaBrowser.Controller/Providers/BookInfo.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591namespace MediaBrowser.Controller.Providersdiff --git a/MediaBrowser.Controller/Providers/DynamicImageResponse.cs b/MediaBrowser.Controller/Providers/DynamicImageResponse.csindex 006174be8c..66fddb0e38 100644--- a/MediaBrowser.Controller/Providers/DynamicImageResponse.cs+++ b/MediaBrowser.Controller/Providers/DynamicImageResponse.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Providers/EpisodeInfo.cs b/MediaBrowser.Controller/Providers/EpisodeInfo.csindex a4c8dab7ea..341bf69361 100644--- a/MediaBrowser.Controller/Providers/EpisodeInfo.cs+++ b/MediaBrowser.Controller/Providers/EpisodeInfo.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Providers/IExternalId.cs b/MediaBrowser.Controller/Providers/IExternalId.csindex 5e38446bc9..e2dbef2bc1 100644--- a/MediaBrowser.Controller/Providers/IExternalId.cs+++ b/MediaBrowser.Controller/Providers/IExternalId.cs@@ -1,3 +1,5 @@+#nullable disable+using MediaBrowser.Model.Entities;using MediaBrowser.Model.Providers;diff --git a/MediaBrowser.Controller/Providers/IProviderManager.cs b/MediaBrowser.Controller/Providers/IProviderManager.csindex 7bc56c82ad..b4d91f396f 100644--- a/MediaBrowser.Controller/Providers/IProviderManager.cs+++ b/MediaBrowser.Controller/Providers/IProviderManager.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Providers/ImageRefreshOptions.cs b/MediaBrowser.Controller/Providers/ImageRefreshOptions.csindex 9fc379f045..81a22affb0 100644--- a/MediaBrowser.Controller/Providers/ImageRefreshOptions.cs+++ b/MediaBrowser.Controller/Providers/ImageRefreshOptions.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Providers/ItemInfo.cs b/MediaBrowser.Controller/Providers/ItemInfo.csindex 3a97127eaa..b8dd416a2d 100644--- a/MediaBrowser.Controller/Providers/ItemInfo.cs+++ b/MediaBrowser.Controller/Providers/ItemInfo.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Providers/ItemLookupInfo.cs b/MediaBrowser.Controller/Providers/ItemLookupInfo.csindex b777cc1d31..f16669a781 100644--- a/MediaBrowser.Controller/Providers/ItemLookupInfo.cs+++ b/MediaBrowser.Controller/Providers/ItemLookupInfo.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Providers/LocalImageInfo.cs b/MediaBrowser.Controller/Providers/LocalImageInfo.csindex 41801862fd..a8e70e6d08 100644--- a/MediaBrowser.Controller/Providers/LocalImageInfo.cs+++ b/MediaBrowser.Controller/Providers/LocalImageInfo.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using MediaBrowser.Model.Entities;diff --git a/MediaBrowser.Controller/Providers/MetadataRefreshOptions.cs b/MediaBrowser.Controller/Providers/MetadataRefreshOptions.csindex db0ef70728..5afc358ba7 100644--- a/MediaBrowser.Controller/Providers/MetadataRefreshOptions.cs+++ b/MediaBrowser.Controller/Providers/MetadataRefreshOptions.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Providers/MetadataResult.cs b/MediaBrowser.Controller/Providers/MetadataResult.csindex 98c7eadfe0..8b0967a6e6 100644--- a/MediaBrowser.Controller/Providers/MetadataResult.cs+++ b/MediaBrowser.Controller/Providers/MetadataResult.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Providers/MusicVideoInfo.cs b/MediaBrowser.Controller/Providers/MusicVideoInfo.csindex 0b927f6eb0..322320abdf 100644--- a/MediaBrowser.Controller/Providers/MusicVideoInfo.cs+++ b/MediaBrowser.Controller/Providers/MusicVideoInfo.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System.Collections.Generic;diff --git a/MediaBrowser.Controller/Providers/RemoteSearchQuery.cs b/MediaBrowser.Controller/Providers/RemoteSearchQuery.csindex 9653bc1c4a..d830231cfb 100644--- a/MediaBrowser.Controller/Providers/RemoteSearchQuery.cs+++ b/MediaBrowser.Controller/Providers/RemoteSearchQuery.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Providers/SongInfo.cs b/MediaBrowser.Controller/Providers/SongInfo.csindex 58f76dca91..c90717a2e1 100644--- a/MediaBrowser.Controller/Providers/SongInfo.cs+++ b/MediaBrowser.Controller/Providers/SongInfo.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/QuickConnect/IQuickConnect.cs b/MediaBrowser.Controller/QuickConnect/IQuickConnect.csindex 959a2d7712..c4e709c245 100644--- a/MediaBrowser.Controller/QuickConnect/IQuickConnect.cs+++ b/MediaBrowser.Controller/QuickConnect/IQuickConnect.cs@@ -1,3 +1,5 @@+#nullable disable+using System;using MediaBrowser.Model.QuickConnect;diff --git a/MediaBrowser.Controller/Resolvers/BaseItemResolver.cs b/MediaBrowser.Controller/Resolvers/BaseItemResolver.csindex a904c74240..e77593a036 100644--- a/MediaBrowser.Controller/Resolvers/BaseItemResolver.cs+++ b/MediaBrowser.Controller/Resolvers/BaseItemResolver.cs@@ -1,3 +1,5 @@+#nullable disable+using MediaBrowser.Controller.Entities;using MediaBrowser.Controller.Library;diff --git a/MediaBrowser.Controller/Security/AuthenticationInfo.cs b/MediaBrowser.Controller/Security/AuthenticationInfo.csindex efac9273ec..b4b242f1b2 100644--- a/MediaBrowser.Controller/Security/AuthenticationInfo.cs+++ b/MediaBrowser.Controller/Security/AuthenticationInfo.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Security/AuthenticationInfoQuery.cs b/MediaBrowser.Controller/Security/AuthenticationInfoQuery.csindex c5f3da0b1b..3af6a525c7 100644--- a/MediaBrowser.Controller/Security/AuthenticationInfoQuery.cs+++ b/MediaBrowser.Controller/Security/AuthenticationInfoQuery.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Security/IAuthenticationRepository.cs b/MediaBrowser.Controller/Security/IAuthenticationRepository.csindex 883b74165c..1dd69ccd85 100644--- a/MediaBrowser.Controller/Security/IAuthenticationRepository.cs+++ b/MediaBrowser.Controller/Security/IAuthenticationRepository.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using MediaBrowser.Model.Devices;diff --git a/MediaBrowser.Controller/Session/AuthenticationRequest.cs b/MediaBrowser.Controller/Session/AuthenticationRequest.csindex 8c3ac58f2b..647c75e66e 100644--- a/MediaBrowser.Controller/Session/AuthenticationRequest.cs+++ b/MediaBrowser.Controller/Session/AuthenticationRequest.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Session/ISessionController.cs b/MediaBrowser.Controller/Session/ISessionController.csindex bc4ccd44ca..6bc39d6f4e 100644--- a/MediaBrowser.Controller/Session/ISessionController.cs+++ b/MediaBrowser.Controller/Session/ISessionController.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Session/ISessionManager.cs b/MediaBrowser.Controller/Session/ISessionManager.csindex 6c06dcad58..7eda49c602 100644--- a/MediaBrowser.Controller/Session/ISessionManager.cs+++ b/MediaBrowser.Controller/Session/ISessionManager.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Session/SessionEventArgs.cs b/MediaBrowser.Controller/Session/SessionEventArgs.csindex 097e32eaec..269fe7dc4d 100644--- a/MediaBrowser.Controller/Session/SessionEventArgs.cs+++ b/MediaBrowser.Controller/Session/SessionEventArgs.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Session/SessionInfo.cs b/MediaBrowser.Controller/Session/SessionInfo.csindex d09852870e..5da3783bf8 100644--- a/MediaBrowser.Controller/Session/SessionInfo.cs+++ b/MediaBrowser.Controller/Session/SessionInfo.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Sorting/AlphanumComparator.cs b/MediaBrowser.Controller/Sorting/AlphanumComparator.csindex 70cb9eebe0..4d9b98889f 100644--- a/MediaBrowser.Controller/Sorting/AlphanumComparator.cs+++ b/MediaBrowser.Controller/Sorting/AlphanumComparator.cs@@ -1,7 +1,5 @@#pragma warning disable CS1591-#nullable enable-using System;using System.Collections.Generic;diff --git a/MediaBrowser.Controller/Sorting/IUserBaseItemComparer.cs b/MediaBrowser.Controller/Sorting/IUserBaseItemComparer.csindex 6d03d97ae3..bd47db39a6 100644--- a/MediaBrowser.Controller/Sorting/IUserBaseItemComparer.cs+++ b/MediaBrowser.Controller/Sorting/IUserBaseItemComparer.cs@@ -1,3 +1,5 @@+#nullable disable+using MediaBrowser.Controller.Library;namespace MediaBrowser.Controller.Sortingdiff --git a/MediaBrowser.Controller/Sorting/SortExtensions.cs b/MediaBrowser.Controller/Sorting/SortExtensions.csindex 88467814cd..aa6ec513f3 100644--- a/MediaBrowser.Controller/Sorting/SortExtensions.cs+++ b/MediaBrowser.Controller/Sorting/SortExtensions.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Subtitles/ISubtitleManager.cs b/MediaBrowser.Controller/Subtitles/ISubtitleManager.csindex 6d63286ef5..9e661cbe42 100644--- a/MediaBrowser.Controller/Subtitles/ISubtitleManager.cs+++ b/MediaBrowser.Controller/Subtitles/ISubtitleManager.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Subtitles/ISubtitleProvider.cs b/MediaBrowser.Controller/Subtitles/ISubtitleProvider.csindex a633262de9..326348d583 100644--- a/MediaBrowser.Controller/Subtitles/ISubtitleProvider.cs+++ b/MediaBrowser.Controller/Subtitles/ISubtitleProvider.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System.Collections.Generic;diff --git a/MediaBrowser.Controller/Subtitles/SubtitleDownloadFailureEventArgs.cs b/MediaBrowser.Controller/Subtitles/SubtitleDownloadFailureEventArgs.csindex ce8141219a..c782f57961 100644--- a/MediaBrowser.Controller/Subtitles/SubtitleDownloadFailureEventArgs.cs+++ b/MediaBrowser.Controller/Subtitles/SubtitleDownloadFailureEventArgs.cs@@ -1,3 +1,5 @@+#nullable disable+using System;using MediaBrowser.Controller.Entities;diff --git a/MediaBrowser.Controller/Subtitles/SubtitleResponse.cs b/MediaBrowser.Controller/Subtitles/SubtitleResponse.csindex a86b057783..85b3e6fbd7 100644--- a/MediaBrowser.Controller/Subtitles/SubtitleResponse.cs+++ b/MediaBrowser.Controller/Subtitles/SubtitleResponse.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System.IO;diff --git a/MediaBrowser.Controller/Subtitles/SubtitleSearchRequest.cs b/MediaBrowser.Controller/Subtitles/SubtitleSearchRequest.csindex 7d3c20e8f1..0f7c47e767 100644--- a/MediaBrowser.Controller/Subtitles/SubtitleSearchRequest.cs+++ b/MediaBrowser.Controller/Subtitles/SubtitleSearchRequest.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Sync/IHasDynamicAccess.cs b/MediaBrowser.Controller/Sync/IHasDynamicAccess.csindex e7395b136d..3d3e44da01 100644--- a/MediaBrowser.Controller/Sync/IHasDynamicAccess.cs+++ b/MediaBrowser.Controller/Sync/IHasDynamicAccess.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System.Threading;diff --git a/MediaBrowser.Controller/Sync/IServerSyncProvider.cs b/MediaBrowser.Controller/Sync/IServerSyncProvider.csindex c97fd70442..3891ac0a66 100644--- a/MediaBrowser.Controller/Sync/IServerSyncProvider.cs+++ b/MediaBrowser.Controller/Sync/IServerSyncProvider.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System;diff --git a/MediaBrowser.Controller/Sync/ISyncProvider.cs b/MediaBrowser.Controller/Sync/ISyncProvider.csindex 950cc73e85..ea20014c79 100644--- a/MediaBrowser.Controller/Sync/ISyncProvider.cs+++ b/MediaBrowser.Controller/Sync/ISyncProvider.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System.Collections.Generic;diff --git a/MediaBrowser.Controller/Sync/SyncedFileInfo.cs b/MediaBrowser.Controller/Sync/SyncedFileInfo.csindex a626738fb2..7eac52299b 100644--- a/MediaBrowser.Controller/Sync/SyncedFileInfo.cs+++ b/MediaBrowser.Controller/Sync/SyncedFileInfo.cs@@ -1,3 +1,5 @@+#nullable disable+#pragma warning disable CS1591using System.Collections.Generic;diff --git a/MediaBrowser.Controller/SyncPlay/GroupMember.cs b/MediaBrowser.Controller/SyncPlay/GroupMember.csindex 5fb982e85a..7e7e759a51 100644--- a/MediaBrowser.Controller/SyncPlay/GroupMember.cs+++ b/MediaBrowser.Controller/SyncPlay/GroupMember.cs@@ -1,3 +1,5 @@+#nullable disable+using MediaBrowser.Controller.Session;namespace MediaBrowser.Controller.SyncPlaydiff --git a/MediaBrowser.Controller/SyncPlay/GroupStates/AbstractGroupState.cs b/MediaBrowser.Controller/SyncPlay/GroupStates/AbstractGroupState.csindex e3de22db38..91a13fb28e 100644--- a/MediaBrowser.Controller/SyncPlay/GroupStates/AbstractGroupState.cs+++ b/MediaBrowser.Controller/SyncPlay/GroupStates/AbstractGroupState.cs@@ -1,3 +1,5 @@+#nullable disable+using System.Threading;using MediaBrowser.Controller.Session;using MediaBrowser.Controller.SyncPlay.PlaybackRequests;diff --git a/MediaBrowser.Controller/SyncPlay/GroupStates/IdleGroupState.cs b/MediaBrowser.Controller/SyncPlay/GroupStates/IdleGroupState.csindex 12ce6c8f82..6b5a7cdf9a 100644--- a/MediaBrowser.Controller/SyncPlay/GroupStates/IdleGroupState.cs+++ b/MediaBrowser.Controller/SyncPlay/GroupStates/IdleGroupState.cs@@ -1,3 +1,5 @@+#nullable disable+using System.Threading;using MediaBrowser.Controller.Session;using MediaBrowser.Controller.SyncPlay.PlaybackRequests;diff --git a/MediaBrowser.Controller/SyncPlay/GroupStates/PausedGroupState.cs b/MediaBrowser.Controller/SyncPlay/GroupStates/PausedGroupState.csindex fba8ba9e2e..b9786ddb08 100644--- a/MediaBrowser.Controller/SyncPlay/GroupStates/PausedGroupState.cs+++ b/MediaBrowser.Controller/SyncPlay/GroupStates/PausedGroupState.cs@@ -1,3 +1,5 @@+#nullable disable+using System;using System.Threading;using MediaBrowser.Controller.Session;diff --git a/MediaBrowser.Controller/SyncPlay/GroupStates/PlayingGroupState.cs b/MediaBrowser.Controller/SyncPlay/GroupStates/PlayingGroupState.csindex 9797b247ce..cb1cadf0bc 100644--- a/MediaBrowser.Controller/SyncPlay/GroupStates/PlayingGroupState.cs+++ b/MediaBrowser.Controller/SyncPlay/GroupStates/PlayingGroupState.cs@@ -1,3 +1,5 @@+#nullable disable+using System;using System.Threading;using MediaBrowser.Controller.Session;diff --git a/MediaBrowser.Controller/SyncPlay/GroupStates/WaitingGroupState.cs b/MediaBrowser.Controller/SyncPlay/GroupStates/WaitingGroupState.csindex 507573653f..a0c38b3097 100644--- a/MediaBrowser.Controller/SyncPlay/GroupStates/WaitingGroupState.cs+++ b/MediaBrowser.Controller/SyncPlay/GroupStates/WaitingGroupState.cs@@ -1,3 +1,5 @@+#nullable disable+using System;using System.Threading;using MediaBrowser.Controller.Session;diff --git a/MediaBrowser.Controller/SyncPlay/IGroupPlaybackRequest.cs b/MediaBrowser.Controller/SyncPlay/IGroupPlaybackRequest.csindex 201f29952f..9045063eed 100644--- a/MediaBrowser.Controller/SyncPlay/IGroupPlaybackRequest.cs+++ b/MediaBrowser.Controller/SyncPlay/IGroupPlaybackRequest.cs@@ -1,3 +1,5 @@+#nullable disable+using System.Threading;using MediaBrowser.Controller.Session;using MediaBrowser.Model.SyncPlay;diff --git a/MediaBrowser.Controller/SyncPlay/IGroupState.cs b/MediaBrowser.Controller/SyncPlay/IGroupState.csindex 95ee09985f..0666a62a85 100644--- a/MediaBrowser.Controller/SyncPlay/IGroupState.cs+++ b/MediaBrowser.Controller/SyncPlay/IGroupState.cs@@ -1,3 +1,5 @@+#nullable disable+using System.Threading;using MediaBrowser.Controller.Session;using MediaBrowser.Controller.SyncPlay.PlaybackRequests;diff --git a/MediaBrowser.Controller/SyncPlay/IGroupStateContext.cs b/MediaBrowser.Controller/SyncPlay/IGroupStateContext.csindex aa263638aa..de26c7d9ef 100644--- a/MediaBrowser.Controller/SyncPlay/IGroupStateContext.cs+++ b/MediaBrowser.Controller/SyncPlay/IGroupStateContext.cs@@ -1,3 +1,5 @@+#nullable disable+using System;using System.Collections.Generic;using System.Threading;diff --git a/MediaBrowser.Controller/SyncPlay/ISyncPlayManager.cs b/MediaBrowser.Controller/SyncPlay/ISyncPlayManager.csindex 1c954828c3..a6999a12c9 100644--- a/MediaBrowser.Controller/SyncPlay/ISyncPlayManager.cs+++ b/MediaBrowser.Controller/SyncPlay/ISyncPlayManager.cs@@ -1,3 +1,5 @@+#nullable disable+using System;using System.Collections.Generic;using System.Threading;diff --git a/MediaBrowser.Controller/SyncPlay/PlaybackRequests/AbstractPlaybackRequest.cs b/MediaBrowser.Controller/SyncPlay/PlaybackRequests/AbstractPlaybackRequest.csindex 4090f65b9c..ef496c1038 100644--- a/MediaBrowser.Controller/SyncPlay/PlaybackRequests/AbstractPlaybackRequest.cs+++ b/MediaBrowser.Controller/SyncPlay/PlaybackRequests/AbstractPlaybackRequest.cs@@ -1,3 +1,5 @@+#nullable disable+using System.Threading;using MediaBrowser.Controller.Session;using MediaBrowser.Model.SyncPlay;diff --git a/MediaBrowser.Controller/SyncPlay/PlaybackRequests/BufferGroupRequest.cs b/MediaBrowser.Controller/SyncPlay/PlaybackRequests/BufferGroupRequest.csindex 11cc99fcda..d188114c34 100644--- a/MediaBrowser.Controller/SyncPlay/PlaybackRequests/BufferGroupRequest.cs+++ b/MediaBrowser.Controller/SyncPlay/PlaybackRequests/BufferGroupRequest.cs@@ -1,3 +1,5 @@+#nullable disable+using System;using System.Threading;using MediaBrowser.Controller.Session;diff --git a/MediaBrowser.Controller/SyncPlay/PlaybackRequests/IgnoreWaitGroupRequest.cs b/MediaBrowser.Controller/SyncPlay/PlaybackRequests/IgnoreWaitGroupRequest.csindex 64ef791ed7..464c81dfd2 100644--- a/MediaBrowser.Controller/SyncPlay/PlaybackRequests/IgnoreWaitGroupRequest.cs+++ b/MediaBrowser.Controller/SyncPlay/PlaybackRequests/IgnoreWaitGroupRequest.cs@@ -1,3 +1,5 @@+#nullable disable+using System.Threading;using MediaBrowser.Controller.Session;using MediaBrowser.Model.SyncPlay;diff --git a/MediaBrowser.Controller/SyncPlay/PlaybackRequests/MovePlaylistItemGroupRequest.cs b/MediaBrowser.Controller/SyncPlay/PlaybackRequests/MovePlaylistItemGroupRequest.csindex 9cd8da5668..be314e807b 100644--- a/MediaBrowser.Controller/SyncPlay/PlaybackRequests/MovePlaylistItemGroupRequest.cs+++ b/MediaBrowser.Controller/SyncPlay/PlaybackRequests/MovePlaylistItemGroupRequest.cs@@ -1,3 +1,5 @@+#nullable disable+using System;using System.Threading;using MediaBrowser.Controller.Session;diff --git a/MediaBrowser.Controller/SyncPlay/PlaybackRequests/NextItemGroupRequest.cs b/MediaBrowser.Controller/SyncPlay/PlaybackRequests/NextItemGroupRequest.csindex e0ae0deb76..679076239e 100644--- a/MediaBrowser.Controller/SyncPlay/PlaybackRequests/NextItemGroupRequest.cs+++ b/MediaBrowser.Controller/SyncPlay/PlaybackRequests/NextItemGroupRequest.cs@@ -1,3 +1,5 @@+#nullable disable+using System;using System.Threading;using MediaBrowser.Controller.Session;diff --git a/MediaBrowser.Controller/SyncPlay/PlaybackRequests/PauseGroupRequest.cs b/MediaBrowser.Controller/SyncPlay/PlaybackRequests/PauseGroupRequest.csindex 2869b35f77..7ee18a3666 100644--- a/MediaBrowser.Controller/SyncPlay/PlaybackRequests/PauseGroupRequest.cs+++ b/MediaBrowser.Controller/SyncPlay/PlaybackRequests/PauseGroupRequest.cs@@ -1,3 +1,5 @@+#nullable disable+using System.Threading;using MediaBrowser.Controller.Session;using MediaBrowser.Model.SyncPlay;diff --git a/MediaBrowser.Controller/SyncPlay/PlaybackRequests/PingGroupRequest.cs b/MediaBrowser.Controller/SyncPlay/PlaybackRequests/PingGroupRequest.csindex 8ef3b20303..beab655c59 100644--- a/MediaBrowser.Controller/SyncPlay/PlaybackRequests/PingGroupRequest.cs+++ b/MediaBrowser.Controller/SyncPlay/PlaybackRequests/PingGroupRequest.cs@@ -1,3 +1,5 @@+#nullable disable+using System.Threading;using MediaBrowser.Controller.Session;using MediaBrowser.Model.SyncPlay;diff --git a/MediaBrowser.Controller/SyncPlay/PlaybackRequests/PlayGroupRequest.cs b/MediaBrowser.Controller/SyncPlay/PlaybackRequests/PlayGroupRequest.csindex 16f9b40874..05ff262c1e 100644--- a/MediaBrowser.Controller/SyncPlay/PlaybackRequests/PlayGroupRequest.cs+++ b/MediaBrowser.Controller/SyncPlay/PlaybackRequests/PlayGroupRequest.cs@@ -1,3 +1,5 @@+#nullable disable+using System;using System.Collections.Generic;using System.Threading;diff --git a/MediaBrowser.Controller/SyncPlay/PlaybackRequests/PreviousItemGroupRequest.cs b/MediaBrowser.Controller/SyncPlay/PlaybackRequests/PreviousItemGroupRequest.csindex 166ee08007..3e34b6ce46 100644--- a/MediaBrowser.Controller/SyncPlay/PlaybackRequests/PreviousItemGroupRequest.cs+++ b/MediaBrowser.Controller/SyncPlay/PlaybackRequests/PreviousItemGroupRequest.cs@@ -1,3 +1,5 @@+#nullable disable+using System;using System.Threading;using MediaBrowser.Controller.Session;diff --git a/MediaBrowser.Controller/SyncPlay/PlaybackRequests/QueueGroupRequest.cs b/MediaBrowser.Controller/SyncPlay/PlaybackRequests/QueueGroupRequest.csindex d4af63b6d4..0f91476de1 100644--- a/MediaBrowser.Controller/SyncPlay/PlaybackRequests/QueueGroupRequest.cs+++ b/MediaBrowser.Controller/SyncPlay/PlaybackRequests/QueueGroupRequest.cs@@ -1,3 +1,5 @@+#nullable disable+using System;using System.Collections.Generic;using System.Threading;diff --git a/MediaBrowser.Controller/SyncPlay/PlaybackRequests/ReadyGroupRequest.cs b/MediaBrowser.Controller/SyncPlay/PlaybackRequests/ReadyGroupRequest.csindex 74f01cbeaf..b1f0bd3602 100644--- a/MediaBrowser.Controller/SyncPlay/PlaybackRequests/ReadyGroupRequest.cs+++ b/MediaBrowser.Controller/SyncPlay/PlaybackRequests/ReadyGroupRequest.cs@@ -1,3 +1,5 @@+#nullable disable+using System;using System.Threading;using MediaBrowser.Controller.Session;diff --git a/MediaBrowser.Controller/SyncPlay/PlaybackRequests/RemoveFromPlaylistGroupRequest.cs b/MediaBrowser.Controller/SyncPlay/PlaybackRequests/RemoveFromPlaylistGroupRequest.csindex 47c06c2227..6891452934 100644--- a/MediaBrowser.Controller/SyncPlay/PlaybackRequests/RemoveFromPlaylistGroupRequest.cs+++ b/MediaBrowser.Controller/SyncPlay/PlaybackRequests/RemoveFromPlaylistGroupRequest.cs@@ -1,3 +1,5 @@+#nullable disable+using System;using System.Collections.Generic;using System.Threading;diff --git a/MediaBrowser.Controller/SyncPlay/PlaybackRequests/SeekGroupRequest.cs b/MediaBrowser.Controller/SyncPlay/PlaybackRequests/SeekGroupRequest.csindex ecaa689ae3..1961133749 100644--- a/MediaBrowser.Controller/SyncPlay/PlaybackRequests/SeekGroupRequest.cs+++ b/MediaBrowser.Controller/SyncPlay/PlaybackRequests/SeekGroupRequest.cs@@ -1,3 +1,5 @@+#nullable disable+using System.Threading;using MediaBrowser.Controller.Session;using MediaBrowser.Model.SyncPlay;diff --git a/MediaBrowser.Controller/SyncPlay/PlaybackRequests/SetPlaylistItemGroupRequest.cs b/MediaBrowser.Controller/SyncPlay/PlaybackRequests/SetPlaylistItemGroupRequest.csindex c3451703ed..44df127a6f 100644--- a/MediaBrowser.Controller/SyncPlay/PlaybackRequests/SetPlaylistItemGroupRequest.cs+++ b/MediaBrowser.Controller/SyncPlay/PlaybackRequests/SetPlaylistItemGroupRequest.cs@@ -1,3 +1,5 @@+#nullable disable+using System;using System.Threading;using MediaBrowser.Controller.Session;diff --git a/MediaBrowser.Controller/SyncPlay/PlaybackRequests/SetRepeatModeGroupRequest.cs b/MediaBrowser.Controller/SyncPlay/PlaybackRequests/SetRepeatModeGroupRequest.csindex 51011672ea..d250eab56e 100644--- a/MediaBrowser.Controller/SyncPlay/PlaybackRequests/SetRepeatModeGroupRequest.cs+++ b/MediaBrowser.Controller/SyncPlay/PlaybackRequests/SetRepeatModeGroupRequest.cs@@ -1,3 +1,5 @@+#nullable disable+using System.Threading;using MediaBrowser.Controller.Session;using MediaBrowser.Model.SyncPlay;diff --git a/MediaBrowser.Controller/SyncPlay/PlaybackRequests/SetShuffleModeGroupRequest.cs b/MediaBrowser.Controller/SyncPlay/PlaybackRequests/SetShuffleModeGroupRequest.csindex d7b2504b4b..5034e992eb 100644--- a/MediaBrowser.Controller/SyncPlay/PlaybackRequests/SetShuffleModeGroupRequest.cs+++ b/MediaBrowser.Controller/SyncPlay/PlaybackRequests/SetShuffleModeGroupRequest.cs@@ -1,3 +1,5 @@+#nullable disable+using System.Threading;using MediaBrowser.Controller.Session;using MediaBrowser.Model.SyncPlay;diff --git a/MediaBrowser.Controller/SyncPlay/Queue/PlayQueueManager.cs b/MediaBrowser.Controller/SyncPlay/Queue/PlayQueueManager.csindex fdec29417e..b8ae9f3ff6 100644--- a/MediaBrowser.Controller/SyncPlay/Queue/PlayQueueManager.cs+++ b/MediaBrowser.Controller/SyncPlay/Queue/PlayQueueManager.cs@@ -1,3 +1,5 @@+#nullable disable+using System;using System.Collections.Generic;using System.Linq;diff --git a/MediaBrowser.LocalMetadata/Images/EpisodeLocalImageProvider.cs b/MediaBrowser.LocalMetadata/Images/EpisodeLocalImageProvider.csindex 2d3b2d889c..bc62ca4d53 100644--- a/MediaBrowser.LocalMetadata/Images/EpisodeLocalImageProvider.cs+++ b/MediaBrowser.LocalMetadata/Images/EpisodeLocalImageProvider.cs@@ -42,6 +42,10 @@ namespace MediaBrowser.LocalMetadata.Imagespublic IEnumerable<LocalImageInfo> GetImages(BaseItem item, IDirectoryService directoryService){var parentPath = Path.GetDirectoryName(item.Path);+ if (parentPath == null)+ {+ return Enumerable.Empty<LocalImageInfo>();+ }var parentPathFiles = directoryService.GetFiles(parentPath);