mirror of https://github.com/lidarr/Lidarr
New: PushBullet to all devices (leave device id blank)
This commit is contained in:
parent
9edb261c16
commit
48a92696e9
|
@ -11,7 +11,6 @@ namespace NzbDrone.Core.Notifications.PushBullet
|
||||||
public PushBulletSettingsValidator()
|
public PushBulletSettingsValidator()
|
||||||
{
|
{
|
||||||
RuleFor(c => c.ApiKey).NotEmpty();
|
RuleFor(c => c.ApiKey).NotEmpty();
|
||||||
RuleFor(c => c.DeviceId).NotEmpty();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -22,7 +21,7 @@ namespace NzbDrone.Core.Notifications.PushBullet
|
||||||
[FieldDefinition(0, Label = "API Key", HelpLink = "https://www.pushbullet.com/")]
|
[FieldDefinition(0, Label = "API Key", HelpLink = "https://www.pushbullet.com/")]
|
||||||
public String ApiKey { get; set; }
|
public String ApiKey { get; set; }
|
||||||
|
|
||||||
[FieldDefinition(1, Label = "Device ID", HelpText = "device_iden in the device's URL on pubshbullet.com")]
|
[FieldDefinition(1, Label = "Device ID", HelpText = "device_iden in the device's URL on pubshbullet.com (leave blank to send to all devices)")]
|
||||||
public String DeviceId { get; set; }
|
public String DeviceId { get; set; }
|
||||||
|
|
||||||
public bool IsValid
|
public bool IsValid
|
||||||
|
|
Loading…
Reference in New Issue