Introduce thumbnail filtering options.

This commit is contained in:
PJ-Watson
2022-08-05 19:37:55 +01:00
parent 446ef9a464
commit 5c4eeef870
11 changed files with 508 additions and 28 deletions

View File

@@ -10,6 +10,7 @@ type SiteInfo struct {
InitialSetup bool `gorm:"not null"`
PeriodicScanInterval int `gorm:"not null"`
ConcurrentWorkers int `gorm:"not null"`
ThumbnailMethod int `gorm:"not null"`
}
func (SiteInfo) TableName() string {
@@ -26,6 +27,7 @@ func DefaultSiteInfo(db *gorm.DB) SiteInfo {
InitialSetup: true,
PeriodicScanInterval: 0,
ConcurrentWorkers: defaultConcurrentWorkers,
ThumbnailMethod: 0,
}
}