Browse Source

fix channel items in emc

Luke Pulverenti 9 năm trước cách đây
mục cha
commit
be4f301198
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      MediaBrowser.Controller/Entities/BaseItem.cs

+ 1 - 1
MediaBrowser.Controller/Entities/BaseItem.cs

@@ -1439,7 +1439,7 @@ namespace MediaBrowser.Controller.Entities
 
         public virtual string GetClientTypeName()
         {
-            if (IsFolder && SourceType == SourceType.Channel)
+            if (IsFolder && SourceType == SourceType.Channel && !(this is Channel))
             {
                 return "ChannelFolderItem";
             }