Ver código fonte

reduce uses of mobile.activepage

Luke Pulverenti 9 anos atrás
pai
commit
2107736584

+ 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);
         }