Scan Issues (#470)
* Fixed an oversight where unique file extensions for KavitaStats wouldn't ignore case. * Fixed an issue where series were getting removed then re-added due to bad logic when comparing if the series from disk matched the series in DB based on format.
This commit is contained in:
parent
7e36c56416
commit
9c57984bff
2 changed files with 38 additions and 8 deletions
|
@ -20,7 +20,7 @@ namespace API.Data
|
|||
{
|
||||
var fileExtensions = await _dbContext.MangaFile
|
||||
.AsNoTracking()
|
||||
.Select(x => x.FilePath)
|
||||
.Select(x => x.FilePath.ToLower())
|
||||
.Distinct()
|
||||
.ToArrayAsync();
|
||||
|
||||
|
@ -32,4 +32,4 @@ namespace API.Data
|
|||
return uniqueFileTypes;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue