The Free Software Media System - Server Backend & API
set notification info url
Luke Pulverentid328ae208a93
diff --git a/MediaBrowser.Common.Implementations/Updates/GithubUpdater.cs b/MediaBrowser.Common.Implementations/Updates/GithubUpdater.csindex 3604280729..90a3241931 100644--- a/MediaBrowser.Common.Implementations/Updates/GithubUpdater.cs+++ b/MediaBrowser.Common.Implementations/Updates/GithubUpdater.cs@@ -113,7 +113,8 @@ namespace MediaBrowser.Common.Implementations.UpdatestargetFilename = targetFilename,versionStr = version.ToString(),requiredVersionStr = "1.0.0",- description = obj.body+ description = obj.body,+ infoUrl = obj.html_url}};}diff --git a/MediaBrowser.Model/Updates/PackageVersionInfo.cs b/MediaBrowser.Model/Updates/PackageVersionInfo.csindex b9bf6e7fe6..22404b6f66 100644--- a/MediaBrowser.Model/Updates/PackageVersionInfo.cs+++ b/MediaBrowser.Model/Updates/PackageVersionInfo.cs@@ -87,5 +87,7 @@ namespace MediaBrowser.Model.Updates/// </summary>/// <value>The target filename.</value>public string targetFilename { get; set; }++ public string infoUrl { get; set; }}}\ No newline at end of filediff --git a/MediaBrowser.Server.Implementations/EntryPoints/Notifications/Notifications.cs b/MediaBrowser.Server.Implementations/EntryPoints/Notifications/Notifications.csindex da1d25f2ce..ca430eda9a 100644--- a/MediaBrowser.Server.Implementations/EntryPoints/Notifications/Notifications.cs+++ b/MediaBrowser.Server.Implementations/EntryPoints/Notifications/Notifications.cs@@ -118,7 +118,8 @@ namespace MediaBrowser.Server.Implementations.EntryPoints.Notificationsvar notification = new NotificationRequest{- NotificationType = type+ NotificationType = type,+ Url = e.Argument.infoUrl};notification.Variables["Version"] = e.Argument.versionStr;