diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-04-30 11:07:02 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-04-30 11:07:02 -0400 |
| commit | 98c0b28d14d68cc2989fb60fb09dde0501a8d928 (patch) | |
| tree | 82fee78dd8e0c1f003364ca1320eb1b0061e3d6b /MediaBrowser.Server.Implementations/EntryPoints | |
| parent | e9fb806478e974b200b54f8acff5eb09bdef4c32 (diff) | |
re-enable mobile media controller
Diffstat (limited to 'MediaBrowser.Server.Implementations/EntryPoints')
| -rw-r--r-- | MediaBrowser.Server.Implementations/EntryPoints/Notifications/Notifier.cs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/MediaBrowser.Server.Implementations/EntryPoints/Notifications/Notifier.cs b/MediaBrowser.Server.Implementations/EntryPoints/Notifications/Notifier.cs index 36ee4a0c9..1e3f8b0b0 100644 --- a/MediaBrowser.Server.Implementations/EntryPoints/Notifications/Notifier.cs +++ b/MediaBrowser.Server.Implementations/EntryPoints/Notifications/Notifier.cs @@ -70,7 +70,7 @@ namespace MediaBrowser.Server.Implementations.EntryPoints.Notifications _appHost.ApplicationUpdated += _appHost_ApplicationUpdated; } - async void _appHost_ApplicationUpdated(object sender, GenericEventArgs<Version> e) + async void _appHost_ApplicationUpdated(object sender, GenericEventArgs<PackageVersionInfo> e) { var type = NotificationType.ApplicationUpdateInstalled.ToString(); @@ -79,8 +79,9 @@ namespace MediaBrowser.Server.Implementations.EntryPoints.Notifications NotificationType = type }; - notification.Variables["Version"] = e.Argument.ToString(); - + notification.Variables["Version"] = e.Argument.versionStr; + notification.Variables["ReleaseNotes"] = e.Argument.description; + await SendNotification(notification).ConfigureAwait(false); } @@ -98,6 +99,7 @@ namespace MediaBrowser.Server.Implementations.EntryPoints.Notifications notification.Variables["Name"] = installationInfo.Name; notification.Variables["Version"] = installationInfo.Version.ToString(); + notification.Variables["ReleaseNotes"] = e.Argument.Item2.description; await SendNotification(notification).ConfigureAwait(false); } @@ -249,6 +251,7 @@ namespace MediaBrowser.Server.Implementations.EntryPoints.Notifications }; notification.Variables["Name"] = e.Argument.Name; + notification.Variables["ErrorMessage"] = e.Argument.ErrorMessage; await SendNotification(notification).ConfigureAwait(false); } |
