diff --git a/MediaBrowser.Controller/Entities/BaseItem.cs b/MediaBrowser.Controller/Entities/BaseItem.cs index a342cf0e34..da6e3e9e15 100644 --- a/MediaBrowser.Controller/Entities/BaseItem.cs +++ b/MediaBrowser.Controller/Entities/BaseItem.cs @@ -58,7 +58,7 @@ namespace MediaBrowser.Controller.Entities public string PreferredMetadataCountryCode { get; set; } public string PreferredMetadataLanguage { get; set; } - + public List ImageInfos { get; set; } /// @@ -198,7 +198,7 @@ namespace MediaBrowser.Controller.Entities /// The etag. [IgnoreDataMember] public string ExternalEtag { get; set; } - + [IgnoreDataMember] public virtual bool IsHidden { @@ -373,7 +373,7 @@ namespace MediaBrowser.Controller.Entities [IgnoreDataMember] public bool IsLocked { get; set; } - + /// /// Gets or sets the locked fields. /// @@ -520,7 +520,7 @@ namespace MediaBrowser.Controller.Entities } set { - + } } @@ -674,7 +674,7 @@ namespace MediaBrowser.Controller.Entities { get { - if (!string.IsNullOrEmpty(CustomRating)) + if (!string.IsNullOrWhiteSpace(CustomRating)) { return CustomRating; } @@ -717,7 +717,7 @@ namespace MediaBrowser.Controller.Entities { var files = fileSystemChildren.OfType() .Where(i => string.Equals(i.Name, ThemeSongsFolderName, StringComparison.OrdinalIgnoreCase)) - .SelectMany(i => directoryService.GetFiles(i.FullName)) + .SelectMany(i => directoryService.GetFiles(i.FullName)) .ToList(); // Support plex/xbmc convention @@ -753,7 +753,7 @@ namespace MediaBrowser.Controller.Entities { var files = fileSystemChildren.OfType() .Where(i => string.Equals(i.Name, ThemeVideosFolderName, StringComparison.OrdinalIgnoreCase)) - .SelectMany(i => directoryService.GetFiles(i.FullName)); + .SelectMany(i => directoryService.GetFiles(i.FullName)); return LibraryManager.ResolvePaths(files, directoryService, null) .OfType