Skip to content

Fix ffmpeg resolution when in current directory #4899

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 30, 2024

Conversation

WithoutPants
Copy link
Collaborator

Added config.GetConfigPathAbs which returns the absolute path to the config file's directory, and use this to resolve ffmpeg. This fixes an issue where ffmpeg could not be run in the config directory because it's path was not included.

Also changes server_connection.dir sent to plugins to use the absolute path as well, since a relative path may not be useful to plugins.

@WithoutPants WithoutPants added the bug Something isn't working label May 30, 2024
@WithoutPants WithoutPants added this to the Version 0.26.0 milestone May 30, 2024
@WithoutPants WithoutPants merged commit 3b14658 into stashapp:develop May 30, 2024
halkeye pushed a commit to halkeye/stash that referenced this pull request Sep 1, 2024
* Use absolute path to resolve ffmpeg in config directory
* Pass absolute config path to plugins
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant