stash/internal
Speck Pratt e9e427772b Make marker preview duration ceiling configurable
Replaces the hardcoded maxMarkerPreviewDuration = 20 constant in
pkg/scene/generate/marker_preview.go with a configurable setting on
ConfigGeneral, mirroring the PreviewSegments wiring pattern.

- Default 20 preserves existing behavior for all installs
- Positive N sets the ceiling in seconds
- 0 (or any value <= 0) disables the ceiling, honoring explicit
  endSeconds verbatim
- Adds logger.Warnf for non-positive intervals to aid diagnosis of
  imported or malformed marker data
- Incidentally prevents zero/negative-duration ffmpeg calls that
  were possible under the previous logic

Context: closed issue #6852 (template non-conformance), Discussion
#6851 (mobile-first direction).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-22 07:08:15 -04:00
..
api Make marker preview duration ceiling configurable 2026-04-22 07:08:15 -04:00
autotag Backend support for image custom fields (#6598) 2026-02-24 07:41:40 +11:00
build Add package docs and project vision/goals (#5169) 2024-08-28 09:01:39 +10:00
desktop [Feature] Reveal file in system file manager from file info panel (#6587) 2026-02-23 12:51:35 +11:00
dlna fix(dlna): improve activity tracking accuracy and efficiency (#6483) 2026-01-12 11:12:03 +11:00
identify FR: Change Identify Settings to Use Gender Checkboxes (#6557) 2026-02-11 11:43:18 +11:00
log add lumberjack log rotation (#5696) 2025-11-18 14:04:22 +11:00
manager Make marker preview duration ceiling configurable 2026-04-22 07:08:15 -04:00
static Performer image rewrite (#6566) 2026-02-16 15:06:10 +11:00