mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 18:57:39 -07:00
ExternalNotifications enabled (Xbmc only right now).
- Grab, Download, Rename Notification Settings for Xbmc uses definitions.
This commit is contained in:
parent
0ed898b6db
commit
ee4b6c9442
13 changed files with 211 additions and 175 deletions
17
NzbDrone.Core/Repository/ExternalNotificationDefinition.cs
Normal file
17
NzbDrone.Core/Repository/ExternalNotificationDefinition.cs
Normal file
|
@ -0,0 +1,17 @@
|
|||
using PetaPoco;
|
||||
|
||||
namespace NzbDrone.Core.Repository
|
||||
{
|
||||
[TableName("ExternalNotificationDefinitions")]
|
||||
[PrimaryKey("Id", autoIncrement = true)]
|
||||
public class ExternalNotificationDefinition
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public bool Enable { get; set; }
|
||||
|
||||
public string ExternalNotificationProviderType { get; set; }
|
||||
|
||||
public string Name { get; set; }
|
||||
}
|
||||
}
|
|
@ -1,17 +0,0 @@
|
|||
using PetaPoco;
|
||||
|
||||
namespace NzbDrone.Core.Repository
|
||||
{
|
||||
[TableName("ExternalNotificationSettings")]
|
||||
[PrimaryKey("Id", autoIncrement = true)]
|
||||
public class ExternalNotificationSetting
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public bool Enabled { get; set; }
|
||||
|
||||
public string NotifierName { get; set; }
|
||||
|
||||
public string Name { get; set; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue