mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-08-02 17:12:16 +03:00
Miscellaneous fixes (#23155)
* Change order * Improve title * add loading spinner to exports * Simplify JSON since not all providers see or use this the same * Add fields to primary prompt * Adjust centering for no overrides * Use GenAI title for exports when available * detect form-root objects by field path instead of schema identity * add bosnian * Strip v1 if included in url * prevent fast clicks in video controls from selecting text * Use title for metadata chapters --------- Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
This commit is contained in:
co-authored by
Josh Hawkins
parent
0d4f1ec369
commit
c4b74c9148
@@ -380,9 +380,14 @@ class RecordingExporter(threading.Thread):
|
||||
if label and label not in labels:
|
||||
labels.append(label)
|
||||
|
||||
title = str(review.severity).capitalize()
|
||||
if labels:
|
||||
title = f"{title}: {', '.join(labels)}"
|
||||
metadata = data.get("metadata") or {}
|
||||
title = metadata.get("title")
|
||||
|
||||
if not title:
|
||||
title = str(review.severity).capitalize()
|
||||
|
||||
if labels:
|
||||
title = f"{title}: {', '.join(labels)}"
|
||||
|
||||
chapter_blocks.append(
|
||||
"[CHAPTER]\n"
|
||||
|
||||
Reference in New Issue
Block a user