Ensure Koreader hash is generated for existing files.
This commit is contained in:
parent
54c572a83b
commit
6498aa7fe5
2 changed files with 8 additions and 4 deletions
|
|
@ -880,6 +880,8 @@ public class ProcessSeries : IProcessSeries
|
|||
existingFile.FileName = Parser.Parser.RemoveExtensionIfSupported(existingFile.FilePath);
|
||||
existingFile.FilePath = Parser.Parser.NormalizePath(existingFile.FilePath);
|
||||
existingFile.Bytes = fileInfo.Length;
|
||||
existingFile.KoreaderHash = KoreaderHelper.HashContents(existingFile.FilePath);
|
||||
|
||||
// We skip updating DB here with last modified time so that metadata refresh can do it
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue