1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-09 12:32:31 +01:00

Added default ports for notifications

This commit is contained in:
Mark McDowall 2013-08-08 23:22:26 -07:00
parent 07f7bba1f4
commit d339d1208f
5 changed files with 21 additions and 0 deletions

View File

@ -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; }

View File

@ -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; }

View File

@ -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; }

View File

@ -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; }

View File

@ -10,6 +10,7 @@ public class XbmcSettings : INotifcationSettings
public XbmcSettings() public XbmcSettings()
{ {
DisplayTime = 5; DisplayTime = 5;
Port = 8080;
} }
[FieldDefinition(0, Label = "Host")] [FieldDefinition(0, Label = "Host")]