mirror of
https://github.com/MrSleeps/jellyfin-scene-search.git
synced 2026-11-13 13:41:24 +00:00
Use real newline separators in edited Jellyfin summaries
This commit is contained in:
@@ -678,7 +678,7 @@ def edit_overview(*, db_path: Path, media_id: str, expected_overview: str,
|
||||
if current != draft["applied_overview"]:
|
||||
raise RuntimeError("Jellyfin Overview changed externally; refusing to overwrite it")
|
||||
original = str(draft["original_overview"] or "")
|
||||
proposed = original.rstrip() + ("\\n\\n" if original.strip() else "") + AI_OVERVIEW_HEADING + "\\n\\n" + updated
|
||||
proposed = original.rstrip() + ("\n\n" if original.strip() else "") + AI_OVERVIEW_HEADING + "\n\n" + updated
|
||||
# Save intended metadata before network call; publish() can recover a failed write.
|
||||
with connect(db_path) as con:
|
||||
result = con.execute(
|
||||
|
||||
Reference in New Issue
Block a user