mirror of
https://github.com/n00mkrad/flowframes.git
synced 2025-12-16 16:37:48 +01:00
Fixed custom output dir not working for queue
This commit is contained in:
@@ -153,7 +153,8 @@ namespace Flowframes.Forms
|
||||
Logger.Log($"BatchForm: Dropped path: '{path}'", true);
|
||||
|
||||
InterpSettings current = Program.mainForm.GetCurrentSettings();
|
||||
current.UpdatePaths(path, path.GetParentDir());
|
||||
string outDir = (Config.GetInt("outFolderLoc") == 0) ? path.GetParentDir() : Config.Get("custOutDir").Trim();
|
||||
current.UpdatePaths(path, outDir);
|
||||
|
||||
current.inFpsDetected = await IOUtils.GetFpsFolderOrVideo(path);
|
||||
current.inFps = current.inFpsDetected;
|
||||
|
||||
@@ -26,10 +26,7 @@ namespace Flowframes.UI
|
||||
if (Config.GetBool(Config.Key.clearLogOnInput))
|
||||
Logger.ClearLogBox();
|
||||
|
||||
if(Config.GetInt("outFolderLoc") == 0)
|
||||
outputTbox.Text = inputTbox.Text.Trim().GetParentDir();
|
||||
else
|
||||
outputTbox.Text = Config.Get("custOutDir").Trim();
|
||||
outputTbox.Text = (Config.GetInt("outFolderLoc") == 0) ? inputTbox.Text.Trim().GetParentDir() : Config.Get("custOutDir").Trim();
|
||||
|
||||
Program.lastInputPath = path;
|
||||
Program.lastInputPathIsSsd = OSUtils.DriveIsSSD(path);
|
||||
|
||||
Reference in New Issue
Block a user