mirror of
https://github.com/MrSleeps/jellyfin-scene-search.git
synced 2026-11-20 00:33:36 +00:00
Display overview routing and allow explicit specialist preview style
This commit is contained in:
@@ -996,11 +996,18 @@ def cmd_jellyfin_overview(args: argparse.Namespace) -> None:
|
||||
model=args.model,
|
||||
max_captions=args.max_captions,
|
||||
regenerate=args.regenerate,
|
||||
style=args.style,
|
||||
)
|
||||
print(f"Title: {result['title']}")
|
||||
print(f"Media ID: {result['media_id']}")
|
||||
print(f"Jellyfin: {result['jellyfin_item_id']}")
|
||||
print(f"LLM model: {result['model']}")
|
||||
print(f"Style: {result['style']}")
|
||||
counts = result["route_counts"]
|
||||
print(
|
||||
f"Routes: {counts['general']} general, "
|
||||
f"{counts['specialist']} specialist, {counts['unknown']} unknown"
|
||||
)
|
||||
print(
|
||||
f"Evidence: {result['sampled_captions']}/"
|
||||
f"{result['total_captions']} caption segments"
|
||||
@@ -1125,6 +1132,11 @@ def make_parser() -> argparse.ArgumentParser:
|
||||
overview.add_argument(
|
||||
"--model", help="Override OVERVIEW_MODEL when generating drafts"
|
||||
)
|
||||
overview.add_argument(
|
||||
"--style", choices=["auto", "general", "specialist"],
|
||||
default="auto",
|
||||
help="Auto-detect from saved caption routes, or force a style",
|
||||
)
|
||||
overview.add_argument(
|
||||
"--max-captions", type=int, default=64,
|
||||
help="Max evenly spaced caption segments sent to Ollama (1-64)",
|
||||
|
||||
Reference in New Issue
Block a user