Added default ports for notifications

pull/4/head
Mark McDowall 11 years ago
parent 07f7bba1f4
commit d339d1208f

@ -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…
Cancel
Save