updated nuget

This commit is contained in:
Luke Pulverenti
2013-09-04 14:39:01 -04:00
parent 12dd9daf49
commit 09ff7391b4
4 changed files with 15 additions and 6 deletions

View File

@@ -370,9 +370,18 @@ namespace MediaBrowser.Controller.Library
return GetFileSystemEntryByName(name) != null;
}
private bool _collectionTypeDiscovered;
private string _collectionType;
public string GetCollectionType()
{
return Parent == null ? null : _libraryManager.FindCollectionType(Parent);
if (!_collectionTypeDiscovered)
{
_collectionType = Parent == null ? null : _libraryManager.FindCollectionType(Parent);
_collectionTypeDiscovered = true;
}
return _collectionType;
}
#region Equality Overrides