From 340a2c651276d911285a6ff09944c5eba2384a51 Mon Sep 17 00:00:00 2001 From: Bond_009 Date: Thu, 27 Dec 2018 22:43:48 +0100 Subject: Post GPL cleanup --- MediaBrowser.Model/Configuration/LibraryOptions.cs | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'MediaBrowser.Model/Configuration/LibraryOptions.cs') diff --git a/MediaBrowser.Model/Configuration/LibraryOptions.cs b/MediaBrowser.Model/Configuration/LibraryOptions.cs index a271d43af..cc70cc888 100644 --- a/MediaBrowser.Model/Configuration/LibraryOptions.cs +++ b/MediaBrowser.Model/Configuration/LibraryOptions.cs @@ -6,7 +6,6 @@ namespace MediaBrowser.Model.Configuration { public class LibraryOptions { - public bool EnableArchiveMediaFiles { get; set; } public bool EnablePhotos { get; set; } public bool EnableRealtimeMonitor { get; set; } public bool EnableChapterImageExtraction { get; set; } @@ -65,10 +64,10 @@ namespace MediaBrowser.Model.Configuration public LibraryOptions() { - TypeOptions = new TypeOptions[] { }; - DisabledSubtitleFetchers = new string[] { }; - SubtitleFetcherOrder = new string[] { }; - DisabledLocalMetadataReaders = new string[] { }; + TypeOptions = Array.Empty(); + DisabledSubtitleFetchers = Array.Empty(); + SubtitleFetcherOrder = Array.Empty(); + DisabledLocalMetadataReaders = Array.Empty(); SkipSubtitlesIfAudioTrackMatches = true; RequirePerfectSubtitleMatch = true; @@ -76,7 +75,7 @@ namespace MediaBrowser.Model.Configuration EnablePhotos = true; SaveSubtitlesWithMedia = true; EnableRealtimeMonitor = true; - PathInfos = new MediaPathInfo[] { }; + PathInfos = Array.Empty(); EnableInternetProviders = true; EnableAutomaticSeriesGrouping = true; SeasonZeroDisplayName = "Specials"; @@ -141,11 +140,11 @@ namespace MediaBrowser.Model.Configuration public TypeOptions() { - MetadataFetchers = new string[] { }; - MetadataFetcherOrder = new string[] { }; - ImageFetchers = new string[] { }; - ImageFetcherOrder = new string[] { }; - ImageOptions = new ImageOption[] { }; + MetadataFetchers = Array.Empty(); + MetadataFetcherOrder = Array.Empty(); + ImageFetchers = Array.Empty(); + ImageFetcherOrder = Array.Empty(); + ImageOptions = Array.Empty(); } public static Dictionary DefaultImageOptions = new Dictionary -- cgit v1.2.3