mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
New: Indexer Setting for absolute maximum size for a release
This commit is contained in:
parent
96c59e2b2b
commit
d9a8a92b8e
9 changed files with 158 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
using NzbDrone.Core.Configuration;
|
||||
using NzbDrone.Core.Configuration;
|
||||
using Lidarr.Http.REST;
|
||||
|
||||
namespace Lidarr.Api.V1.Config
|
||||
|
@ -6,6 +6,7 @@ namespace Lidarr.Api.V1.Config
|
|||
public class IndexerConfigResource : RestResource
|
||||
{
|
||||
public int MinimumAge { get; set; }
|
||||
public int MaximumSize { get; set; }
|
||||
public int Retention { get; set; }
|
||||
public int RssSyncInterval { get; set; }
|
||||
}
|
||||
|
@ -17,6 +18,7 @@ namespace Lidarr.Api.V1.Config
|
|||
return new IndexerConfigResource
|
||||
{
|
||||
MinimumAge = model.MinimumAge,
|
||||
MaximumSize = model.MaximumSize,
|
||||
Retention = model.Retention,
|
||||
RssSyncInterval = model.RssSyncInterval,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue