photoprism/internal/config/darktable.go
Michael Mayer 4a9f992056 Thumbs: Use fit_4096 in favor of fit_3840 and add convert limit #362 #388
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-13 15:23:54 +02:00

11 lines
360 B
Go

package config
// DarktableBin returns the darktable-cli executable file name.
func (c *Config) DarktableBin() string {
return findExecutable(c.params.DarktableBin, "darktable-cli")
}
// DarktableUnlock checks if presets should be disabled to run multiple instances concurrently.
func (c *Config) DarktableUnlock() bool {
return c.params.DarktableUnlock
}