mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-18 21:34:28 -04:00
New: Search for new editions from goodreads when identifying
This commit is contained in:
@@ -78,7 +78,7 @@ namespace Readarr.Api.V1.ManualImport
|
||||
Size = resource.Size,
|
||||
Author = resource.Author == null ? null : _authorService.GetAuthor(resource.Author.Id),
|
||||
Book = resource.Book == null ? null : _bookService.GetBook(resource.Book.Id),
|
||||
Edition = resource.EditionId == 0 ? null : _editionService.GetEdition(resource.EditionId),
|
||||
Edition = resource.ForeignEditionId == null ? null : _editionService.GetEditionByForeignEditionId(resource.ForeignEditionId),
|
||||
Quality = resource.Quality,
|
||||
DownloadId = resource.DownloadId,
|
||||
AdditionalFile = resource.AdditionalFile,
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace Readarr.Api.V1.ManualImport
|
||||
public long Size { get; set; }
|
||||
public AuthorResource Author { get; set; }
|
||||
public BookResource Book { get; set; }
|
||||
public int EditionId { get; set; }
|
||||
public string ForeignEditionId { get; set; }
|
||||
public QualityModel Quality { get; set; }
|
||||
public int QualityWeight { get; set; }
|
||||
public string DownloadId { get; set; }
|
||||
@@ -45,7 +45,7 @@ namespace Readarr.Api.V1.ManualImport
|
||||
Size = model.Size,
|
||||
Author = model.Author.ToResource(),
|
||||
Book = model.Book.ToResource(),
|
||||
EditionId = model.Edition?.Id ?? 0,
|
||||
ForeignEditionId = model.Edition?.ForeignEditionId,
|
||||
Quality = model.Quality,
|
||||
|
||||
//QualityWeight
|
||||
|
||||
Reference in New Issue
Block a user