Scanner Fixes (#2800)
This commit is contained in:
parent
123917fbec
commit
8167fc5a4f
34 changed files with 462 additions and 203 deletions
|
@ -781,7 +781,7 @@ public class BookService : IBookService
|
|||
/// <returns></returns>
|
||||
public ParserInfo? ParseInfo(string filePath)
|
||||
{
|
||||
if (!Parser.IsEpub(filePath)) return null;
|
||||
if (!Parser.IsEpub(filePath) || !_directoryService.FileSystem.File.Exists(filePath)) return null;
|
||||
|
||||
try
|
||||
{
|
||||
|
@ -848,7 +848,7 @@ public class BookService : IBookService
|
|||
Format = MangaFormat.Epub,
|
||||
Filename = Path.GetFileName(filePath),
|
||||
Title = specialName?.Trim() ?? string.Empty,
|
||||
FullFilePath = filePath,
|
||||
FullFilePath = Parser.NormalizePath(filePath),
|
||||
IsSpecial = false,
|
||||
Series = series.Trim(),
|
||||
SeriesSort = series.Trim(),
|
||||
|
@ -870,7 +870,7 @@ public class BookService : IBookService
|
|||
Format = MangaFormat.Epub,
|
||||
Filename = Path.GetFileName(filePath),
|
||||
Title = epubBook.Title.Trim(),
|
||||
FullFilePath = filePath,
|
||||
FullFilePath = Parser.NormalizePath(filePath),
|
||||
IsSpecial = false,
|
||||
Series = epubBook.Title.Trim(),
|
||||
Volumes = Parser.LooseLeafVolume,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue