diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-04-26 23:42:05 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-04-26 23:42:05 -0400 |
| commit | fadda8ef5663beea338f65ef9c69cd96ec1c5858 (patch) | |
| tree | 911b8d1d86af4452ab93487a2243f0d3197fc7a3 /MediaBrowser.ServerApplication/ApplicationHost.cs | |
| parent | bdffaf22c99a114d33a7485f9a9c5766e0fbbcaa (diff) | |
add new notification features
Diffstat (limited to 'MediaBrowser.ServerApplication/ApplicationHost.cs')
| -rw-r--r-- | MediaBrowser.ServerApplication/ApplicationHost.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/MediaBrowser.ServerApplication/ApplicationHost.cs b/MediaBrowser.ServerApplication/ApplicationHost.cs index c3f1afa33..157f39755 100644 --- a/MediaBrowser.ServerApplication/ApplicationHost.cs +++ b/MediaBrowser.ServerApplication/ApplicationHost.cs @@ -34,6 +34,7 @@ using MediaBrowser.Controller.Sorting; using MediaBrowser.Controller.Themes; using MediaBrowser.Dlna; using MediaBrowser.Dlna.Eventing; +using MediaBrowser.Dlna.Main; using MediaBrowser.Dlna.PlayTo; using MediaBrowser.Dlna.Server; using MediaBrowser.MediaEncoding.BdInfo; @@ -527,7 +528,7 @@ namespace MediaBrowser.ServerApplication LiveTvManager = new LiveTvManager(ServerConfigurationManager, FileSystemManager, Logger, ItemRepository, ImageProcessor, UserDataManager, DtoService, UserManager, LibraryManager, TaskManager); RegisterSingleInstance(LiveTvManager); - NotificationManager = new NotificationManager(LogManager, UserManager); + NotificationManager = new NotificationManager(LogManager, UserManager, ServerConfigurationManager); RegisterSingleInstance(NotificationManager); var displayPreferencesTask = Task.Run(async () => await ConfigureDisplayPreferencesRepositories().ConfigureAwait(false)); @@ -713,7 +714,7 @@ namespace MediaBrowser.ServerApplication ChannelManager.AddParts(GetExports<IChannel>()); - NotificationManager.AddParts(GetExports<INotificationService>()); + NotificationManager.AddParts(GetExports<INotificationService>(), GetExports<INotificationTypeFactory>()); } /// <summary> @@ -846,7 +847,7 @@ namespace MediaBrowser.ServerApplication list.Add(typeof(MediaEncoder).Assembly); // Dlna - list.Add(typeof(PlayToServerEntryPoint).Assembly); + list.Add(typeof(DlnaEntryPoint).Assembly); list.AddRange(Assemblies.GetAssembliesWithParts()); |
