mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-23 22:45:06 -04:00
New: Calculate custom formats on demand
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace NzbDrone.Core.CustomFormats
|
||||
{
|
||||
public class CustomFormatMatchResult
|
||||
{
|
||||
public CustomFormat CustomFormat { get; set; }
|
||||
|
||||
public List<FormatTagMatchesGroup> GroupMatches { get; set; }
|
||||
|
||||
public bool GoodMatch => GroupMatches.All(g => g.DidMatch);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user