
* 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. * Default to automatic scaling * Fix an issue where malformed epubs wouldn't be readable due to incorrect keys in the OPF. We now check if key is valid and if not, try to correct it. This makes a page load about a second on malformed books. * Fixed #176. Refactored the recently added query to be restricted to user's access to libraries. * Fixed a one off bug with In Progress series * Implemented the ability to refresh metadata of just a single series directly
32 lines
No EOL
1,009 B
C#
32 lines
No EOL
1,009 B
C#
using System;
|
|
|
|
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 DateTime Created { get; set; }
|
|
|
|
public int LibraryId { get; set; }
|
|
public string LibraryName { get; set; }
|
|
}
|
|
} |