The Free Software Media System - Server Backend & API
Small fixes
Mark Monteiro377f9896ce65
diff --git a/Emby.Naming/Video/ExtraRuleType.cs b/Emby.Naming/Video/ExtraRuleType.csindex 0a304874d2..76872f3bc4 100644--- a/Emby.Naming/Video/ExtraRuleType.cs+++ b/Emby.Naming/Video/ExtraRuleType.cs@@ -20,7 +20,7 @@ namespace Emby.Naming.VideoRegex = 2,/// <summary>- /// Match <see cref="ExtraRule.Token"/> against the directory name of the file.+ /// Match <see cref="ExtraRule.Token"/> against the name of the directory containing the file./// </summary>DirectoryName = 3,}diff --git a/MediaBrowser.Api/UserLibrary/UserLibraryService.cs b/MediaBrowser.Api/UserLibrary/UserLibraryService.csindex 4cd201c3b0..7fa750adba 100644--- a/MediaBrowser.Api/UserLibrary/UserLibraryService.cs+++ b/MediaBrowser.Api/UserLibrary/UserLibraryService.cs@@ -381,7 +381,7 @@ namespace MediaBrowser.Api.UserLibraryvar dtoOptions = GetDtoOptions(_authContext, request);- var dtosExtras = item.GetExtras(new ExtraType[] { ExtraType.Trailer })+ var dtosExtras = item.GetExtras(new[] { ExtraType.Trailer }).Select(i => _dtoService.GetBaseItemDto(i, dtoOptions, user, item)).ToArray();