Bugfixes/misc (#196)
* Removed an error log statment which wasn't valid. Was showing error when a comicinfo.xml was not found in a directory. * Fixed #191. Don't overwrite summary information if we already have something set from UI. * Fixes #192 * Fixed #194 by moving the Take to after the query runs, so we take only distinct series. * Added another case for Regex parsing for VanDread-v01-c01.zip
This commit is contained in:
parent
e2e755145c
commit
9c43833989
7 changed files with 17 additions and 17 deletions
|
@ -124,7 +124,11 @@ namespace API.Services
|
|||
if (firstFile != null &&
|
||||
(forceUpdate || firstFile.HasFileBeenModified())) // !new FileInfo(firstFile.FilePath).IsLastWriteLessThan(firstFile.LastModified)
|
||||
{
|
||||
series.Summary = isBook ? _bookService.GetSummaryInfo(firstFile.FilePath) : _archiveService.GetSummaryInfo(firstFile.FilePath);
|
||||
var summary = isBook ? _bookService.GetSummaryInfo(firstFile.FilePath) : _archiveService.GetSummaryInfo(firstFile.FilePath);
|
||||
if (string.IsNullOrEmpty(series.Summary))
|
||||
{
|
||||
series.Summary = summary;
|
||||
}
|
||||
|
||||
firstFile.LastModified = DateTime.Now;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue