1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-04 10:02:40 +01:00

Updated: XBMC notification strings to Kodi

Co-Authored-By: sirloinofbeef <sirloinofbeef@users.noreply.github.com>
This commit is contained in:
Qstick 2019-10-28 22:38:03 -04:00
parent b1e3638b34
commit d320f8a713

View File

@ -47,7 +47,7 @@ public override ValidationResult Test()
{ {
var failures = new List<ValidationFailure>(); var failures = new List<ValidationFailure>();
failures.AddIfNotNull(_xbmcService.Test(Settings, "Success! XBMC has been successfully configured!")); failures.AddIfNotNull(_xbmcService.Test(Settings, "Success! Kodi has been successfully configured!"));
return new ValidationResult(failures); return new ValidationResult(failures);
} }
@ -63,7 +63,7 @@ private void Notify(XbmcSettings settings, string header, string message)
} }
catch (SocketException ex) catch (SocketException ex)
{ {
var logMessage = string.Format("Unable to connect to XBMC Host: {0}:{1}", Settings.Host, Settings.Port); var logMessage = string.Format("Unable to connect to Kodi Host: {0}:{1}", Settings.Host, Settings.Port);
_logger.Debug(ex, logMessage); _logger.Debug(ex, logMessage);
} }
} }
@ -84,7 +84,7 @@ private void UpdateAndCleanMovie(Movie movie, bool clean = true)
} }
catch (SocketException ex) catch (SocketException ex)
{ {
var logMessage = string.Format("Unable to connect to XBMC Host: {0}:{1}", Settings.Host, Settings.Port); var logMessage = string.Format("Unable to connect to Kodi Host: {0}:{1}", Settings.Host, Settings.Port);
_logger.Debug(ex, logMessage); _logger.Debug(ex, logMessage);
} }
} }