mirror of
https://github.com/Sonarr/Sonarr
synced 2025-03-03 10:17:17 +00:00
Added default ports for notifications
This commit is contained in:
parent
07f7bba1f4
commit
d339d1208f
5 changed files with 21 additions and 0 deletions
|
@ -5,6 +5,11 @@ namespace NzbDrone.Core.Notifications.Email
|
||||||
{
|
{
|
||||||
public class EmailSettings : INotifcationSettings
|
public class EmailSettings : INotifcationSettings
|
||||||
{
|
{
|
||||||
|
public EmailSettings()
|
||||||
|
{
|
||||||
|
Port = 25;
|
||||||
|
}
|
||||||
|
|
||||||
[FieldDefinition(0, Label = "Server", HelpText = "Hostname or IP of Email server")]
|
[FieldDefinition(0, Label = "Server", HelpText = "Hostname or IP of Email server")]
|
||||||
public String Server { get; set; }
|
public String Server { get; set; }
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,11 @@ namespace NzbDrone.Core.Notifications.Growl
|
||||||
{
|
{
|
||||||
public class GrowlSettings : INotifcationSettings
|
public class GrowlSettings : INotifcationSettings
|
||||||
{
|
{
|
||||||
|
public GrowlSettings()
|
||||||
|
{
|
||||||
|
Port = 23053;
|
||||||
|
}
|
||||||
|
|
||||||
[FieldDefinition(0, Label = "Host")]
|
[FieldDefinition(0, Label = "Host")]
|
||||||
public String Host { get; set; }
|
public String Host { get; set; }
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,11 @@ namespace NzbDrone.Core.Notifications.Plex
|
||||||
{
|
{
|
||||||
public class PlexClientSettings : INotifcationSettings
|
public class PlexClientSettings : INotifcationSettings
|
||||||
{
|
{
|
||||||
|
public PlexClientSettings()
|
||||||
|
{
|
||||||
|
Port = 3000;
|
||||||
|
}
|
||||||
|
|
||||||
[FieldDefinition(0, Label = "Host")]
|
[FieldDefinition(0, Label = "Host")]
|
||||||
public String Host { get; set; }
|
public String Host { get; set; }
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,11 @@ namespace NzbDrone.Core.Notifications.Plex
|
||||||
{
|
{
|
||||||
public class PlexServerSettings : INotifcationSettings
|
public class PlexServerSettings : INotifcationSettings
|
||||||
{
|
{
|
||||||
|
public PlexServerSettings()
|
||||||
|
{
|
||||||
|
Port = 32400;
|
||||||
|
}
|
||||||
|
|
||||||
[FieldDefinition(0, Label = "Host")]
|
[FieldDefinition(0, Label = "Host")]
|
||||||
public String Host { get; set; }
|
public String Host { get; set; }
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,7 @@ namespace NzbDrone.Core.Notifications.Xbmc
|
||||||
public XbmcSettings()
|
public XbmcSettings()
|
||||||
{
|
{
|
||||||
DisplayTime = 5;
|
DisplayTime = 5;
|
||||||
|
Port = 8080;
|
||||||
}
|
}
|
||||||
|
|
||||||
[FieldDefinition(0, Label = "Host")]
|
[FieldDefinition(0, Label = "Host")]
|
||||||
|
|
Loading…
Reference in a new issue