stash/pkg
Speck Pratt ebca98b46f Honor marker end times by default; skip zero-interval previews
Follow-up to the initial ceiling-configurable change, incorporating
product-review feedback. Two design shifts plus a read-side bug fix:

- Default MaxMarkerPreviewDuration flipped from 20 to 0 (ceiling
  disabled). User-set end times are now honored by default; the
  ceiling becomes an opt-in safety for imports or untrusted data.
  A buried setting at its old 20s default was unlikely to be found
  by users hitting the silent-truncation case.

- Non-positive intervals (endSeconds <= seconds) now skip preview
  generation entirely rather than falling back to the 20s default.
  A user who sets zero or negative duration either made a mistake
  (don't invent output) or marked a point without wanting a video
  (don't generate one they didn't ask for). Either way, skip with
  a warning log.

- Fix missing ConfigGeneralResult field wiring in
  resolver_query_configuration.go. The schema and mutation sides
  were wired in the initial commit but the query read path was
  missed, causing the Settings UI to display Go's zero-value (0)
  regardless of the stored config value.

Behavior change on upgrade: existing preview files remain unchanged.
To refresh previews for markers whose end times were previously
truncated at 20s, run Generate > Marker Previews with "Overwrite
Existing" enabled. To keep the old 20s ceiling, set Max marker
preview duration to 20 under Settings > System > Preview Generation.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-22 08:03:37 -04:00
..
exec Fix/ffprobe unmarshalling error (#2685) 2022-06-22 10:49:14 +10:00
ffmpeg [hwaccel] add envvar for /dev/dri device (#6728) 2026-03-23 16:10:22 +11:00
file Add option to ignore zip contents during clean (#6700) 2026-03-18 15:58:32 +11:00
fsutil Allow unicode characters when stripping filenames for json export (#6748) 2026-03-30 11:38:20 +11:00
gallery Make gallery/scene association during scan more consistent (#6705) 2026-03-19 08:54:44 +11:00
group Backend support for Group custom fields (#6596) 2026-02-23 11:53:12 +11:00
hash Use ffmpeg as a general fallback when generating phash (#6641) 2026-03-05 07:58:51 +11:00
image Make gallery/scene association during scan more consistent (#6705) 2026-03-19 08:54:44 +11:00
javascript Add package docs and project vision/goals (#5169) 2024-08-28 09:01:39 +10:00
job fix memory leak (#6796) 2026-04-07 09:39:30 +10:00
logger Log errors returned from graphql (#3562) 2023-04-17 15:27:25 +10:00
match Match tag names/aliases exactly when testing uniqueness (#6809) 2026-04-08 13:11:12 +10:00
models Match tag names/aliases exactly when testing uniqueness (#6809) 2026-04-08 13:11:12 +10:00
performer Convert career length fields to dates (#6682) 2026-03-17 15:48:30 +11:00
pkg Add mutex to repositoryCache for thread safety (#6741) 2026-03-30 09:09:28 +11:00
plugin [packaging] switch to pnpm (#6186) 2025-11-10 09:17:25 +11:00
python Add package docs and project vision/goals (#5169) 2024-08-28 09:01:39 +10:00
savedfilter Maintain saved filters in full export/import (#5465) 2024-11-12 16:59:28 +11:00
scene Honor marker end times by default; skip zero-interval previews 2026-04-22 08:03:37 -04:00
scraper Match tag names/aliases exactly when testing uniqueness (#6809) 2026-04-08 13:11:12 +10:00
session [Feature] Reveal file in system file manager from file info panel (#6587) 2026-02-23 12:51:35 +11:00
sliceutil feat: auto-remove duplicate aliases (#6514) 2026-02-04 10:37:15 +11:00
sqlite Match tag names/aliases exactly when testing uniqueness (#6809) 2026-04-08 13:11:12 +10:00
stashbox Fix: Remove padFuzzyDate From Performer (#6757) 2026-03-30 09:07:54 +11:00
studio Feature Request: Add organized flag to studios (#6303) 2026-02-19 09:05:17 +11:00
tag Match tag names/aliases exactly when testing uniqueness (#6809) 2026-04-08 13:11:12 +10:00
txn Database connection pool refactor (#5274) 2024-09-20 12:56:26 +10:00
utils Convert career length fields to dates (#6682) 2026-03-17 15:48:30 +11:00