Skip to content

Respect START/END for preview fallback#1354

Draft
dgruss wants to merge 1 commit into
UltraStar-Deluxe:masterfrom
dgruss:fix-preview-start-end-1353
Draft

Respect START/END for preview fallback#1354
dgruss wants to merge 1 commit into
UltraStar-Deluxe:masterfrom
dgruss:fix-preview-start-end-1353

Conversation

@dgruss

@dgruss dgruss commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

Refactor the preview start computation into a TSong.GetPreviewStart helper function for preview seek computation.
We keep #PREVIEWSTART as an absolute audio position but when no explicit preview is set, we compute the fallback preview inside the effective audio window defined by #START and #END. Fixes #1353.

I don't have a file in my collection to test this properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

#START and #END are not respected for the preview

1 participant