mirror of
https://github.com/stashapp/stash.git
synced 2026-05-09 05:05:29 +02:00
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> |
||
|---|---|---|
| .. | ||
| generate | ||
| create.go | ||
| delete.go | ||
| export.go | ||
| export_test.go | ||
| filename_parser.go | ||
| filter.go | ||
| find.go | ||
| fingerprints.go | ||
| hash.go | ||
| import.go | ||
| import_test.go | ||
| marker_import.go | ||
| marker_import_test.go | ||
| marker_query.go | ||
| merge.go | ||
| migrate_hash.go | ||
| migrate_screenshots.go | ||
| query.go | ||
| scan.go | ||
| scan_test.go | ||
| service.go | ||
| update.go | ||
| update_test.go | ||