fix: indexing of beat annotations after unpaired tracks

This commit is contained in:
2026-05-31 12:10:02 +02:00
parent a10102c10a
commit 88db4ad18d
4 changed files with 21 additions and 9 deletions

View File

@@ -8,8 +8,10 @@ data class TrackBoundaryEvent(
val trackId: String,
val title: String,
val artist: String,
/** 0-based index in the current play queue when this track was current. */
/** 0-based index in the paired-only play queue when this track was current. */
val queueIndex: Int,
/** 0-based position in the full Spotify playlist (used for beat/run-data file slots). */
val playlistPosition: Int,
val queueSize: Int,
val reason: TrackBoundaryReason,
)