浏览代码

Merge pull request #7217 from SenorSmartyPants/LibraryImages

Cody Robibero 3 年之前
父节点
当前提交
ee43b5117d
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      Emby.Server.Implementations/Images/CollectionFolderImageProvider.cs

+ 4 - 0
Emby.Server.Implementations/Images/CollectionFolderImageProvider.cs

@@ -42,6 +42,10 @@ namespace Emby.Server.Implementations.Images
             {
                 includeItemTypes = new[] { BaseItemKind.MusicAlbum };
             }
+            else if (string.Equals(viewType, CollectionType.MusicVideos, StringComparison.Ordinal))
+            {
+                includeItemTypes = new[] { BaseItemKind.MusicVideo };
+            }
             else if (string.Equals(viewType, CollectionType.Books, StringComparison.Ordinal))
             {
                 includeItemTypes = new[] { BaseItemKind.Book, BaseItemKind.AudioBook };