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

@ -26,7 +26,7 @@ namespace NzbDrone.Core.Notifications.Xbmc
public void Notify(XbmcSettings settings, string title, string message)
{
var notification = String.Format("Notification({0},{1},{2},{3})", title, message, 5000, "https://raw.github.com/NzbDrone/NzbDrone/vnext/NzbDrone.Core/NzbDrone.jpg");
var notification = String.Format("Notification({0},{1},{2},{3})", title, message, settings.DisplayTime * 1000, "https://raw.github.com/NzbDrone/NzbDrone/vnext/NzbDrone.Core/NzbDrone.jpg");
var command = BuildExecBuiltInCommand(notification);
SendCommand(settings, command);