fixes #433 - Add root collection type to ItemResolveArgs

This commit is contained in:
Luke Pulverenti
2013-09-04 13:07:35 -04:00
parent dfe91e43b6
commit e7e18af2d7
7 changed files with 19 additions and 33 deletions

View File

@@ -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,