diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-06-23 13:48:30 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-06-23 13:48:30 -0400 |
| commit | d6cf7b51acda145d32c9944f1b66728c7e09a9f8 (patch) | |
| tree | 461ce04491def89ecf8b0aa41996a3f700e04334 /MediaBrowser.ServerApplication | |
| parent | cc2cfabda83aa29532bc1808174e888b6fde2cd4 (diff) | |
added movie, series, folder and episode xml saving support
Diffstat (limited to 'MediaBrowser.ServerApplication')
| -rw-r--r-- | MediaBrowser.ServerApplication/ApplicationHost.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/MediaBrowser.ServerApplication/ApplicationHost.cs b/MediaBrowser.ServerApplication/ApplicationHost.cs index 9f28006ba..09e33d7fd 100644 --- a/MediaBrowser.ServerApplication/ApplicationHost.cs +++ b/MediaBrowser.ServerApplication/ApplicationHost.cs @@ -271,7 +271,7 @@ namespace MediaBrowser.ServerApplication DirectoryWatchers = new DirectoryWatchers(LogManager, TaskManager, LibraryManager, ServerConfigurationManager); RegisterSingleInstance(DirectoryWatchers); - ProviderManager = new ProviderManager(HttpClient, ServerConfigurationManager, DirectoryWatchers, LogManager); + ProviderManager = new ProviderManager(HttpClient, ServerConfigurationManager, DirectoryWatchers, LogManager, LibraryManager); RegisterSingleInstance(ProviderManager); RegisterSingleInstance<ILibrarySearchEngine>(() => new LuceneSearchEngine(ApplicationPaths, LogManager, LibraryManager)); @@ -397,10 +397,10 @@ namespace MediaBrowser.ServerApplication GetExports<IIntroProvider>(), GetExports<IBaseItemComparer>(), GetExports<ILibraryPrescanTask>(), - GetExports<ILibraryPostScanTask>(), - GetExports<IMetadataSaver>()); + GetExports<ILibraryPostScanTask>()); - ProviderManager.AddMetadataProviders(GetExports<BaseMetadataProvider>().ToArray()); + ProviderManager.AddParts(GetExports<BaseMetadataProvider>().ToArray(), + GetExports<IMetadataSaver>()); } /// <summary> |
