aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Entities/BaseItem.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-09-04 13:07:35 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-09-04 13:07:35 -0400
commite7e18af2d76e1d44a9ca80644b9cd562059626c4 (patch)
tree5a5aa5c2b6efe2e40677da16ec07a10c6a9bc0cf /MediaBrowser.Controller/Entities/BaseItem.cs
parentdfe91e43b676915b840f0958e331ba2cb57966d4 (diff)
fixes #433 - Add root collection type to ItemResolveArgs
Diffstat (limited to 'MediaBrowser.Controller/Entities/BaseItem.cs')
-rw-r--r--MediaBrowser.Controller/Entities/BaseItem.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Controller/Entities/BaseItem.cs b/MediaBrowser.Controller/Entities/BaseItem.cs
index a15c30e42..fb2260769 100644
--- a/MediaBrowser.Controller/Entities/BaseItem.cs
+++ b/MediaBrowser.Controller/Entities/BaseItem.cs
@@ -327,7 +327,7 @@ namespace MediaBrowser.Controller.Entities
if (LocationType == LocationType.Remote || LocationType == LocationType.Virtual)
{
- return new ItemResolveArgs(ConfigurationManager.ApplicationPaths);
+ return new ItemResolveArgs(ConfigurationManager.ApplicationPaths, LibraryManager);
}
var isDirectory = false;
@@ -345,7 +345,7 @@ namespace MediaBrowser.Controller.Entities
throw new IOException("Unable to retrieve file system info for " + path);
}
- var args = new ItemResolveArgs(ConfigurationManager.ApplicationPaths)
+ var args = new ItemResolveArgs(ConfigurationManager.ApplicationPaths, LibraryManager)
{
FileInfo = pathInfo,
Path = path,