Add scan option to force gallery zip rescan (#4113)

* Add scan option to force rescan
---------
Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
This commit is contained in:
CJ
2024-05-19 22:52:36 -05:00
committed by GitHub
parent 5ba1ea8fbc
commit 0fa71be697
5 changed files with 24 additions and 6 deletions

View File

@@ -1,6 +1,8 @@
package config
type ScanMetadataOptions struct {
// Forces a rescan on files even if they have not changed
Rescan bool `json:"rescan"`
// Generate scene covers during scan
ScanGenerateCovers bool `json:"scanGenerateCovers"`
// Generate previews during scan