Added Notification display time to XBMC

This commit is contained in:
Mark McDowall 2013-07-18 00:08:32 -07:00
parent deb4972cdc
commit 57c876a420
5 changed files with 20 additions and 7 deletions

View file

@ -27,7 +27,8 @@ namespace NzbDrone.Core.Notifications.Xbmc
var parameters = new JObject(
new JProperty("title", title),
new JProperty("message", message),
new JProperty("image", "https://raw.github.com/NzbDrone/NzbDrone/vnext/NzbDrone.Core/NzbDrone.jpg"));
new JProperty("image", "https://raw.github.com/NzbDrone/NzbDrone/vnext/NzbDrone.Core/NzbDrone.jpg"),
new JProperty("displaytime", settings.DisplayTime * 1000));
var postJson = BuildJsonRequest("GUI.ShowNotification", parameters);