mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-12-02 11:15:06 -05:00
* Remove automatic retry for scanLibraries as if something fails, it wont pass magically. Catch exceptions when opening books for parsing and swallow to ignore the file. * Delete extra attempts * Switched to using FirstOrDefault for finding existing series. This will help avoid pointless crashes. * Updated message when duplicate series are found (not sure how this happens) * Fixed a negation for deleting volumes where files still exist. * Implemented the ability to automatically scale the manga reader based on screen size.
28 lines
939 B
C#
28 lines
939 B
C#
namespace API.DTOs
|
|
{
|
|
public class SeriesDto
|
|
{
|
|
public int Id { get; init; }
|
|
public string Name { get; init; }
|
|
public string OriginalName { get; init; }
|
|
public string LocalizedName { get; init; }
|
|
public string SortName { get; init; }
|
|
public string Summary { get; init; }
|
|
public int Pages { get; init; }
|
|
/// <summary>
|
|
/// Sum of pages read from linked Volumes. Calculated at API-time.
|
|
/// </summary>
|
|
public int PagesRead { get; set; }
|
|
/// <summary>
|
|
/// Rating from logged in user. Calculated at API-time.
|
|
/// </summary>
|
|
public int UserRating { get; set; }
|
|
/// <summary>
|
|
/// Review from logged in user. Calculated at API-time.
|
|
/// </summary>
|
|
public string UserReview { get; set; }
|
|
|
|
public int LibraryId { get; set; }
|
|
public string LibraryName { get; set; }
|
|
}
|
|
} |