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> |
||
|---|---|---|
| .. | ||
| config | ||
| task | ||
| apikey.go | ||
| backup.go | ||
| checksum.go | ||
| downloads.go | ||
| enums.go | ||
| exclude_files.go | ||
| exclude_files_test.go | ||
| fingerprint.go | ||
| generator.go | ||
| generator_interactive_heatmap_speed.go | ||
| generator_sprite.go | ||
| import.go | ||
| init.go | ||
| json_utils.go | ||
| log.go | ||
| manager.go | ||
| manager_tasks.go | ||
| models.go | ||
| repository.go | ||
| running_streams.go | ||
| scan_stashignore_test.go | ||
| scene.go | ||
| subscribe.go | ||
| task.go | ||
| task_autotag.go | ||
| task_clean.go | ||
| task_export.go | ||
| task_generate.go | ||
| task_generate_clip_preview.go | ||
| task_generate_image_phash.go | ||
| task_generate_image_thumbnail.go | ||
| task_generate_interactive_heatmap_speed.go | ||
| task_generate_markers.go | ||
| task_generate_phash.go | ||
| task_generate_preview.go | ||
| task_generate_screenshot.go | ||
| task_generate_sprite.go | ||
| task_identify.go | ||
| task_import.go | ||
| task_migrate_hash.go | ||
| task_optimise.go | ||
| task_plugin.go | ||
| task_scan.go | ||
| task_stash_box_tag.go | ||
| task_transcode.go | ||