Explorar o código

reduce uses of mobile.activepage

Luke Pulverenti %!s(int64=9) %!d(string=hai) anos
pai
achega
2107736584
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      MediaBrowser.Controller/Entities/UserViewBuilder.cs

+ 1 - 0
MediaBrowser.Controller/Entities/UserViewBuilder.cs

@@ -665,6 +665,7 @@ namespace MediaBrowser.Controller.Entities
             query.SetUser(user);
             query.Limit = GetSpecialItemsLimit();
             query.IncludeItemTypes = new[] { typeof(Episode).Name };
+            query.ExcludeLocationTypes = new[] { LocationType.Virtual };
 
             return _libraryManager.GetItemsResult(query);
         }