mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-23 06:45:19 -07:00
Update notification logos (#804)
This commit is contained in:
parent
9f2fcebc24
commit
7d6a518f30
4 changed files with 6 additions and 6 deletions
|
@ -75,8 +75,8 @@ namespace NzbDrone.Core.Notifications.Boxcar
|
||||||
request.AddParameter("user_credentials", settings.Token);
|
request.AddParameter("user_credentials", settings.Token);
|
||||||
request.AddParameter("notification[title]", title);
|
request.AddParameter("notification[title]", title);
|
||||||
request.AddParameter("notification[long_message]", message);
|
request.AddParameter("notification[long_message]", message);
|
||||||
request.AddParameter("notification[source_name]", "Sonarr");
|
request.AddParameter("notification[source_name]", "Radarr");
|
||||||
request.AddParameter("notification[icon_url]", "https://raw.githubusercontent.com/Sonarr/Sonarr/7818f0c59b787312f0bcbc5c0eafc3c9dd7e5451/Logo/64.png");
|
request.AddParameter("notification[icon_url]", "https://raw.githubusercontent.com/Radarr/Radarr/develop/Logo/64.png");
|
||||||
|
|
||||||
client.ExecuteAndValidate(request);
|
client.ExecuteAndValidate(request);
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,7 +25,7 @@ namespace NzbDrone.Core.Notifications.MediaBrowser
|
||||||
{
|
{
|
||||||
Name = title,
|
Name = title,
|
||||||
Description = message,
|
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());
|
}.ToJson());
|
||||||
|
|
||||||
ProcessRequest(request, settings);
|
ProcessRequest(request, settings);
|
||||||
|
|
|
@ -29,11 +29,11 @@ namespace NzbDrone.Core.Notifications.Pushalot
|
||||||
var client = RestClientFactory.BuildClient(URL);
|
var client = RestClientFactory.BuildClient(URL);
|
||||||
var request = BuildRequest();
|
var request = BuildRequest();
|
||||||
|
|
||||||
request.AddParameter("Source", "Sonarr");
|
request.AddParameter("Source", "Radarr");
|
||||||
|
|
||||||
if (settings.Image)
|
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);
|
request.AddParameter("Title", title);
|
||||||
|
|
|
@ -28,7 +28,7 @@ namespace NzbDrone.Core.Notifications.Xbmc
|
||||||
|
|
||||||
public void Notify(XbmcSettings settings, string title, string message)
|
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);
|
var command = BuildExecBuiltInCommand(notification);
|
||||||
|
|
||||||
SendCommand(settings, command);
|
SendCommand(settings, command);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue