New: Ability to tag series
New: Use tags to control which series use which notification channels
This commit is contained in:
Mark McDowall
2014-09-09 17:02:55 -07:00
parent 0e436f371b
commit e82b29e346
29 changed files with 1116 additions and 14 deletions

View File

@@ -1,13 +1,20 @@
using System;
using System.Collections.Generic;
using NzbDrone.Core.ThingiProvider;
namespace NzbDrone.Core.Notifications
{
public class NotificationDefinition : ProviderDefinition
{
public NotificationDefinition()
{
Tags = new HashSet<Int32>();
}
public Boolean OnGrab { get; set; }
public Boolean OnDownload { get; set; }
public Boolean OnUpgrade { get; set; }
public HashSet<Int32> Tags { get; set; }
public override Boolean Enable
{