Fixed auto hotcue overlap and analysis locked hotcue

This commit is contained in:
patben8 committed 2026-09-24 14:05:35 +02:00
1 parent 46ce3db916
commit 6c123e2597
14 files changed
+132 -100

No files matched your search

+6 -3
View File
@@ -120,7 +120,7 @@ export interface CuePoint {
/** False when the adapter refuses commands on this cue. Gate on THIS, never
* on a platform-specific reason like grid_marker. */
editable: boolean
readonly_reason: 'beatgrid_companion' | 'platform_managed' | null
readonly_reason: 'platform_managed' | null
/** Index of the grid marker this cue mirrors, where the platform pairs them.
* A display hint only; null on platforms that do not. */
grid_marker: number | null
@@ -166,8 +166,10 @@ export interface AutoCueSlot {
/** What happened to one requested slot. `not_found`: the track has no such
* event (e.g. no third drop); `out_of_range`: the offset moves it outside the
* track; `occupied`: a cue is there and overwrite was off; `protected`: a cue
* the adapter will not replace (a grid marker's). */
export type AutoCueStatus = 'placed' | 'not_found' | 'out_of_range' | 'occupied' | 'protected'
* the adapter will not replace (a grid marker's); `duplicate`: a lower slot
* already got a cue on the same beat (`duplicate_of`). */
export type AutoCueStatus =
| 'placed' | 'not_found' | 'out_of_range' | 'occupied' | 'protected' | 'duplicate'
export interface AutoCueOutcome {
slot: number
@@ -175,6 +177,7 @@ export interface AutoCueOutcome {
status: AutoCueStatus
start: number | null
name: string | null
duplicate_of: number | null
}
export interface AutoHotcuesResult {