Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Prowlarr/blame/commit/7320342123d6ed9296b9c13c305d3ab3a1da0314/NzbDrone.Core/Notifications/NotifyMyAndroid/NotifyMyAndroid.cs
You should set ROOT_URL correctly, otherwise the web may not work correctly.
|
|
|
|
using NzbDrone.Core.Tv;
|
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Core.Notifications.NotifyMyAndroid
|
|
|
|
|
{
|
|
|
|
|
public class NotifyMyAndroid : NotificationBase<NotifyMyAndroidSettings>
|
|
|
|
|
{
|
|
|
|
|
private readonly INotifyMyAndroidProxy _notifyMyAndroidProxy;
|
|
|
|
|
|
|
|
|
|
public NotifyMyAndroid(INotifyMyAndroidProxy notifyMyAndroidProxy)
|
|
|
|
|
{
|
|
|
|
|
_notifyMyAndroidProxy = notifyMyAndroidProxy;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override string Name
|
|
|
|
|
{
|
|
|
|
|
get { return "NotifyMyAndroid"; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override string ImplementationName
|
|
|
|
|
{
|
|
|
|
|
get { return "NotifyMyAndroid"; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override string Link
|
|
|
|
|
{
|
|
|
|
|
get { return "http://www.notifymyandroid.com/"; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override void OnGrab(string message)
|
|
|
|
|
{
|
|
|
|
|
const string title = "Episode Grabbed";
|
|
|
|
|
|
|
|
|
|
_notifyMyAndroidProxy.SendNotification(title, message, Settings.ApiKey, (NotifyMyAndroidPriority)Settings.Priority);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override void OnDownload(string message, Series series)
|
|
|
|
|
{
|
|
|
|
|
const string title = "Episode Downloaded";
|
|
|
|
|
|
|
|
|
|
_notifyMyAndroidProxy.SendNotification(title, message, Settings.ApiKey, (NotifyMyAndroidPriority)Settings.Priority);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override void AfterRename(Series series)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|