1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2025-01-31 11:22:06 +00:00

New: PushBullet to all devices (leave device id blank)

This commit is contained in:
Mark McDowall 2014-04-02 17:17:38 -07:00
parent 9edb261c16
commit 48a92696e9

View file

@ -11,7 +11,6 @@ public class PushBulletSettingsValidator : AbstractValidator<PushBulletSettings>
public PushBulletSettingsValidator() public PushBulletSettingsValidator()
{ {
RuleFor(c => c.ApiKey).NotEmpty(); RuleFor(c => c.ApiKey).NotEmpty();
RuleFor(c => c.DeviceId).NotEmpty();
} }
} }
@ -22,7 +21,7 @@ public class PushBulletSettings : IProviderConfig
[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