mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-18 21:34:28 -04:00
Added test button to notification edit
This commit is contained in:
@@ -107,11 +107,16 @@ namespace NzbDrone.Core.Notifications.Xbmc
|
||||
Username = message.Username,
|
||||
Password = message.Password
|
||||
};
|
||||
|
||||
|
||||
Logger.Trace("Determining version of XBMC Host: {0}", settings.Address);
|
||||
var version = GetJsonVersion(settings);
|
||||
Logger.Trace("Version is: {0}", version);
|
||||
|
||||
if (version == new XbmcVersion(0))
|
||||
{
|
||||
throw new InvalidXbmcVersionException("Verion received from XBMC is invalid, please correct your settings.");
|
||||
}
|
||||
|
||||
Notify(settings, "Test Notification", "Success! XBMC has been successfully configured!");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user