mirror of
https://github.com/n00mkrad/flowframes.git
synced 2025-12-16 16:37:48 +01:00
Basic CLI/batch support
-start - Auto-start interpolation if file was also given -quit-when-done - Auto-quit after task or queue -factor - Interpolation factor (2/4/8) -ai - Interpolation AI by dropdown index -output-mode - Export mode by dropdown index -model - AI model by dropdown index
This commit is contained in:
@@ -115,7 +115,7 @@ namespace Flowframes.Forms
|
||||
await LoadDroppedPaths(droppedPaths);
|
||||
}
|
||||
|
||||
public async Task LoadDroppedPaths (string[] droppedPaths)
|
||||
public async Task LoadDroppedPaths (string[] droppedPaths, bool start = false)
|
||||
{
|
||||
foreach (string path in droppedPaths)
|
||||
{
|
||||
@@ -131,6 +131,9 @@ namespace Flowframes.Forms
|
||||
Program.batchQueue.Enqueue(current);
|
||||
RefreshGui();
|
||||
}
|
||||
|
||||
if (start)
|
||||
runBtn_Click(null, null);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user