From 0ef52c739ee9edcd367679e4f063fcd9276ee458 Mon Sep 17 00:00:00 2001 From: Claus Vium Date: Thu, 16 May 2019 07:27:38 +0200 Subject: [PATCH] Review changes Untested --- MediaBrowser.Controller/Entities/BaseItem.cs | 41 +++++++++++--------- 1 file changed, 22 insertions(+), 19 deletions(-) diff --git a/MediaBrowser.Controller/Entities/BaseItem.cs b/MediaBrowser.Controller/Entities/BaseItem.cs index 1c6902b73f..10a603e42c 100644 --- a/MediaBrowser.Controller/Entities/BaseItem.cs +++ b/MediaBrowser.Controller/Entities/BaseItem.cs @@ -78,18 +78,18 @@ namespace MediaBrowser.Controller.Entities /// /// The trailer folder name /// - public static string TrailerFolderName = "trailers"; - public static string ThemeSongsFolderName = "theme-music"; - public static string ThemeSongFilename = "theme"; - public static string ThemeVideosFolderName = "backdrops"; - public static string ExtrasFolderName = "extras"; - public static string BehindTheScenesFolderName = "behind the scenes"; - public static string DeletedScenesFolderName = "deleted scenes"; - public static string InterviewFolderName = "interviews"; - public static string SceneFolderName = "scenes"; - public static string SampleFolderName = "samples"; - - public static string[] AllExtrasTypesFolderNames = { + public const string TrailerFolderName = "trailers"; + public const string ThemeSongsFolderName = "theme-music"; + public const string ThemeSongFilename = "theme"; + public const string ThemeVideosFolderName = "backdrops"; + public const string ExtrasFolderName = "extras"; + public const string BehindTheScenesFolderName = "behind the scenes"; + public const string DeletedScenesFolderName = "deleted scenes"; + public const string InterviewFolderName = "interviews"; + public const string SceneFolderName = "scenes"; + public const string SampleFolderName = "samples"; + + public static readonly string[] AllExtrasTypesFolderNames = { ExtrasFolderName, BehindTheScenesFolderName, DeletedScenesFolderName, @@ -1312,9 +1312,10 @@ namespace MediaBrowser.Controller.Entities { var extras = new List