mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
Manager refactor, part 1 (#4298)
* Move BackupDatabase and AnonymiseDatabase to internal/manager * Rename config.Instance to config.Config * Rename FFMPEG * Rework manager and initialization process * Fix Makefile * Tweak phasher * Fix config races * Fix setup error not clearing
This commit is contained in:
@@ -56,7 +56,7 @@ func (t *GenerateCoverTask) Start(ctx context.Context) {
|
||||
logger.Debugf("Creating screenshot for %s", scenePath)
|
||||
|
||||
g := generate.Generator{
|
||||
Encoder: instance.FFMPEG,
|
||||
Encoder: instance.FFMpeg,
|
||||
FFMpegConfig: instance.Config,
|
||||
LockManager: instance.ReadLockManager,
|
||||
ScenePaths: instance.Paths.Scene,
|
||||
|
||||
Reference in New Issue
Block a user