consolidate ibn api a bit

This commit is contained in:
Luke Pulverenti
2014-02-22 15:20:22 -05:00
parent 014c06ea43
commit b52d99568b
8 changed files with 56 additions and 322 deletions

View File

@@ -424,7 +424,7 @@ namespace MediaBrowser.Controller.Entities
{
BaseItem currentChild;
if (currentChildren.TryGetValue(child.Id, out currentChild))
if (currentChildren.TryGetValue(child.Id, out currentChild) && child.IsInMixedFolder == currentChild.IsInMixedFolder)
{
var currentChildLocationType = currentChild.LocationType;
if (currentChildLocationType != LocationType.Remote &&
@@ -433,7 +433,6 @@ namespace MediaBrowser.Controller.Entities
currentChild.DateModified = child.DateModified;
}
currentChild.IsInMixedFolder = child.IsInMixedFolder;
currentChild.IsOffline = false;
}
else