Skip to content
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

Adding OIL to Autosubs #131

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
added job status updater block
  • Loading branch information
4Fortune8 committed Dec 9, 2024
commit fde8c960e8ba82b24799005a89293456a42882c3
8 changes: 7 additions & 1 deletion AutoSubs-App/src-tauri/resources/AutoSubs V2.lua
Original file line number Diff line number Diff line change
@@ -277,10 +277,16 @@ function ExportAudio(outputDir)
markIn = renderSettings["MarkIn"],
markOut = renderSettings["MarkOut"]
}

local renderingLoops = 0
while project:IsRenderingInProgress() do
print("Rendering...")
sleep(0.5) -- Check every 500 milliseconds
renderingLoops = renderingLoops + 1
if renderingLoops > 3 then
print("Render Status")
print(project:GetRenderStatus(pid))
renderingLoops = 0
end
end
end)