mirror of
https://github.com/stashapp/stash.git
synced 2025-12-16 20:07:05 +03:00
Fix ffmpeg resolution when in current directory (#4899)
* Use absolute path to resolve ffmpeg in config directory * Pass absolute config path to plugins
This commit is contained in:
@@ -91,7 +91,7 @@ type PluginSetting struct {
|
||||
type ServerConfig interface {
|
||||
GetHost() string
|
||||
GetPort() int
|
||||
GetConfigPath() string
|
||||
GetConfigPathAbs() string
|
||||
HasTLSConfig() bool
|
||||
GetPluginsPath() string
|
||||
GetDisabledPlugins() []string
|
||||
@@ -249,7 +249,7 @@ func (c Cache) makeServerConnection(ctx context.Context) common.StashServerConne
|
||||
Host: c.config.GetHost(),
|
||||
Port: c.config.GetPort(),
|
||||
SessionCookie: cookie,
|
||||
Dir: c.config.GetConfigPath(),
|
||||
Dir: c.config.GetConfigPathAbs(),
|
||||
}
|
||||
|
||||
if c.config.HasTLSConfig() {
|
||||
|
||||
Reference in New Issue
Block a user