Getested und ein Berechnungsfehler beseitigt in Time to sec
This commit is contained in:
parent
8901279432
commit
c68aff4e87
2 changed files with 7 additions and 2 deletions
|
|
@ -191,9 +191,14 @@ async def receive_video_file(data: dict):
|
|||
else:
|
||||
logging.error(f"Videos konnten nicht verarbeitet werden! Warteschleife wurde nicht gestarted")
|
||||
|
||||
@app.get("/progress", response_class=HTMLResponse)
|
||||
@app.get("/command", response_class=HTMLResponse)
|
||||
async def display_paths(request: Request):
|
||||
return templates.TemplateResponse("progress.html", {"request": request, "videos": video_files})
|
||||
|
||||
for video in video_files.values():
|
||||
if video.finished == 3:
|
||||
ffmpeg.
|
||||
|
||||
return templates.TemplateResponse("command.html", {"request": request, "videos": video_files, "command": list_command})
|
||||
|
||||
@app.get("/webs-ui", response_class=HTMLResponse)
|
||||
async def display_paths(request: Request):
|
||||
|
|
|
|||
Loading…
Reference in a new issue