The Free Software Media System - Server Backend & API
fixed new item notifier
Luke Pulverenti5386aaa04413
diff --git a/MediaBrowser.ServerApplication/EntryPoints/NewItemNotifier.cs b/MediaBrowser.ServerApplication/EntryPoints/NewItemNotifier.csindex bf4eb6e917..6bc6d50658 100644--- a/MediaBrowser.ServerApplication/EntryPoints/NewItemNotifier.cs+++ b/MediaBrowser.ServerApplication/EntryPoints/NewItemNotifier.cs@@ -113,7 +113,7 @@ namespace MediaBrowser.ServerApplication.EntryPoints{Application.Current.Dispatcher.InvokeAsync(() =>{- var window = (MainWindow)Application.Current.MainWindow;+ var window = Application.Current.Windows.OfType<MainWindow>().First();window.Dispatcher.InvokeAsync(() => window.MbTaskbarIcon.ShowCustomBalloon(new ItemUpdateNotification(_logger){