Fixed: Displaying capabilities for Newznab and Torznab feeds (#2083)

This commit is contained in:
Bogdan
2024-04-01 00:49:31 +03:00
committed by GitHub
parent 5aefb46790
commit 4dac60bef9
6 changed files with 75 additions and 17 deletions
@@ -1,4 +1,3 @@
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using FluentValidation;
@@ -76,7 +75,7 @@ namespace NzbDrone.Core.Indexers.Newznab
[FieldDefinition(7)]
public IndexerBaseSettings BaseSettings { get; set; } = new ();
public List<IndexerCategory> Categories { get; set; }
public NewznabCapabilitiesSettings Capabilities { get; set; }
// Field 8 is used by TorznabSettings MinimumSeeders
// If you need to add another field here, update TorznabSettings as well and this comment