1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-05 10:32:35 +01:00

Update notification logos (#804)

This commit is contained in:
hotio 2017-02-20 17:15:26 +01:00 committed by Devin Buhl
parent 9f2fcebc24
commit 7d6a518f30
4 changed files with 6 additions and 6 deletions

View File

@ -75,8 +75,8 @@ private void SendNotification(string title, string message, RestRequest request,
request.AddParameter("user_credentials", settings.Token);
request.AddParameter("notification[title]", title);
request.AddParameter("notification[long_message]", message);
request.AddParameter("notification[source_name]", "Sonarr");
request.AddParameter("notification[icon_url]", "https://raw.githubusercontent.com/Sonarr/Sonarr/7818f0c59b787312f0bcbc5c0eafc3c9dd7e5451/Logo/64.png");
request.AddParameter("notification[source_name]", "Radarr");
request.AddParameter("notification[icon_url]", "https://raw.githubusercontent.com/Radarr/Radarr/develop/Logo/64.png");
client.ExecuteAndValidate(request);
}

View File

@ -25,7 +25,7 @@ public void Notify(MediaBrowserSettings settings, string title, string message)
{
Name = title,
Description = message,
ImageUrl = "https://raw.github.com/NzbDrone/NzbDrone/develop/Logo/64.png"
ImageUrl = "https://raw.github.com/Radarr/Radarr/develop/Logo/64.png"
}.ToJson());
ProcessRequest(request, settings);

View File

@ -29,11 +29,11 @@ public void SendNotification(string title, string message, PushalotSettings sett
var client = RestClientFactory.BuildClient(URL);
var request = BuildRequest();
request.AddParameter("Source", "Sonarr");
request.AddParameter("Source", "Radarr");
if (settings.Image)
{
request.AddParameter("Image", "https://raw.githubusercontent.com/Sonarr/Sonarr/develop/Logo/128.png");
request.AddParameter("Image", "https://raw.githubusercontent.com/Radarr/Radarr/develop/Logo/128.png");
}
request.AddParameter("Title", title);

View File

@ -28,7 +28,7 @@ public bool CanHandle(XbmcVersion version)
public void Notify(XbmcSettings settings, string title, string message)
{
var notification = string.Format("Notification({0},{1},{2},{3})", title, message, settings.DisplayTime * 1000, "https://raw.github.com/Sonarr/Sonarr/develop/Logo/64.png");
var notification = string.Format("Notification({0},{1},{2},{3})", title, message, settings.DisplayTime * 1000, "https://raw.github.com/Radarr/Radarr/develop/Logo/64.png");
var command = BuildExecBuiltInCommand(notification);
SendCommand(settings, command);