set notification info url

This commit is contained in:
Luke Pulverenti 2016-04-03 14:23:17 -04:00
parent 024d1928df
commit d328ae208a
3 changed files with 6 additions and 2 deletions

View File

@ -113,7 +113,8 @@ namespace MediaBrowser.Common.Implementations.Updates
targetFilename = targetFilename,
versionStr = version.ToString(),
requiredVersionStr = "1.0.0",
description = obj.body
description = obj.body,
infoUrl = obj.html_url
}
};
}

View File

@ -87,5 +87,7 @@ namespace MediaBrowser.Model.Updates
/// </summary>
/// <value>The target filename.</value>
public string targetFilename { get; set; }
public string infoUrl { get; set; }
}
}

View File

@ -118,7 +118,8 @@ namespace MediaBrowser.Server.Implementations.EntryPoints.Notifications
var notification = new NotificationRequest
{
NotificationType = type
NotificationType = type,
Url = e.Argument.infoUrl
};
notification.Variables["Version"] = e.Argument.versionStr;