fix(chapters): drop duplicate timestamps in the EXAMPLE template and docs

Log a get_chapters failure at debug level on the API tracks route.
This commit is contained in:
imSp4rky
2026-11-23 14:01:58 -07:00
parent 91fbe67fa6
commit 530f78ecf5
3 changed files with 15 additions and 8 deletions
+2 -1
View File
@@ -4290,7 +4290,8 @@ async def session_tracks_handler(
try:
chapters = await asyncio.to_thread(service_instance.get_chapters, title)
session.chapters_by_title[str(title_id)] = chapters if chapters else []
except (Exception, SystemExit):
except (Exception, SystemExit) as e:
log.debug("get_chapters failed for title %s: %s", title_id, e)
session.chapters_by_title[str(title_id)] = []
snapshot = await asyncio.to_thread(capture, tracks, config.serve.get("compression_level", 1))