Pārlūkot izejas kodu

fix channel items in emc

Luke Pulverenti 9 gadi atpakaļ
vecāks
revīzija
be4f301198
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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";
             }