stash/ui/v2.5/graphql/data
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
..
config.graphql Make marker preview duration ceiling configurable 2026-04-22 07:08:15 -04:00
file.graphql Add folder criteria to scenes, images and galleries and sidebars (#6636) 2026-03-05 08:02:13 +11:00
filter.graphql Improve client-side graphql scalar types (#4511) 2024-02-07 09:49:32 +11:00
gallery-chapter.graphql Improve client-side graphql scalar types (#4511) 2024-02-07 09:49:32 +11:00
gallery-slim.graphql Gallery cover url (#5182) 2024-09-03 16:31:55 +10:00
gallery.graphql FR: Custom Fields Frontend (#6601) 2026-02-25 14:56:24 +11:00
group-slim.graphql Add group graphql interfaces (#5017) 2024-07-03 13:59:40 +10:00
group.graphql FR: Custom Fields Frontend (#6601) 2026-02-25 14:56:24 +11:00
image-slim.graphql Don't set image.title to file basename in graphql (#5658) 2025-02-18 16:32:33 +11:00
image.graphql FR: Custom Fields Frontend (#6601) 2026-02-25 14:56:24 +11:00
job.graphql Make migration an asynchronous task (#4666) 2024-03-14 11:06:23 +11:00
log.graphql Improve client-side graphql scalar types (#4511) 2024-02-07 09:49:32 +11:00
package.graphql Improve client-side graphql scalar types (#4511) 2024-02-07 09:49:32 +11:00
performer-slim.graphql FR: Change Career Length to Career Start and Career End (#6449) 2026-02-17 13:44:03 +11:00
performer.graphql FR: Change Career Length to Career Start and Career End (#6449) 2026-02-17 13:44:03 +11:00
scene-marker.graphql Scene Marker grid view (#5443) 2024-11-29 17:02:20 +11:00
scene-slim.graphql Add updated_at field to stash_id's (#5259) 2024-10-31 15:56:16 +11:00
scene.graphql FR: Custom Fields Frontend (#6601) 2026-02-25 14:56:24 +11:00
scrapers.graphql Add parent tag hierarchy support to tag tagger (#6620) 2026-03-16 11:34:57 +11:00
studio-slim.graphql Feature Request: Add organized flag to studios (#6303) 2026-02-19 09:05:17 +11:00
studio.graphql FR: Custom Fields Frontend (#6601) 2026-02-25 14:56:24 +11:00
tag-slim.graphql Fix issues linking a tag that already exists in the tag list (#6395) 2025-12-11 11:45:56 +11:00
tag.graphql Merge tag values dialog (#6552) 2026-02-11 11:27:57 +11:00