Automatic Collection Creation (#1768)
* Made the unread badges slightly smaller and rounded on top right. * A bit more tweaks on the not read badges. Looking really nice now. * In order to start the work on managing collections from ScanLoop, I needed to refactor collection apis into the service layer and add unit tests. Removed ToUpper Normalization for new tags. * Hooked up ability to auto generate collections from SeriesGroup metadata tag.
This commit is contained in:
parent
91a2a6854f
commit
1da27f085c
26 changed files with 2222 additions and 121 deletions
|
@ -30,6 +30,10 @@ public class LibraryDto
|
|||
/// </summary>
|
||||
public bool IncludeInRecommended { get; set; } = true;
|
||||
/// <summary>
|
||||
/// Should this library create and manage collections from Metadata
|
||||
/// </summary>
|
||||
public bool ManageCollections { get; set; } = true;
|
||||
/// <summary>
|
||||
/// Include library series in Search
|
||||
/// </summary>
|
||||
public bool IncludeInSearch { get; set; } = true;
|
||||
|
|
|
@ -1,17 +1,28 @@
|
|||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using API.Entities.Enums;
|
||||
|
||||
namespace API.DTOs;
|
||||
|
||||
public class UpdateLibraryDto
|
||||
{
|
||||
[Required]
|
||||
public int Id { get; init; }
|
||||
[Required]
|
||||
public string Name { get; init; }
|
||||
[Required]
|
||||
public LibraryType Type { get; set; }
|
||||
[Required]
|
||||
public IEnumerable<string> Folders { get; init; }
|
||||
[Required]
|
||||
public bool FolderWatching { get; init; }
|
||||
[Required]
|
||||
public bool IncludeInDashboard { get; init; }
|
||||
[Required]
|
||||
public bool IncludeInRecommended { get; init; }
|
||||
[Required]
|
||||
public bool IncludeInSearch { get; init; }
|
||||
[Required]
|
||||
public bool CreateCollections { get; init; }
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue