Skip to content

fix: resolve slow metadata updates and volume showing zero on song ch…#80

Merged
chrisuthe merged 1 commit intomainfrom
task/metadata-delay-and-volume-display
Mar 8, 2026
Merged

fix: resolve slow metadata updates and volume showing zero on song ch…#80
chrisuthe merged 1 commit intomainfrom
task/metadata-delay-and-volume-display

Conversation

@chrisuthe
Copy link
Copy Markdown
Owner

  • Fix volume display resetting to zero: onSyncOffsetApplied was calling setSessionExtras with a bare 2-key bundle, overwriting the full session state (volume, metadata, connection). Now stores sync offset values and includes them in the unified broadcastSessionExtras call.

  • Fix slow metadata updates (1.5-2.5s) when tapping queue items: add optimistic UI update that immediately displays the tapped item's metadata (title, artist, album, artwork, duration) before the server round-trip through Music Assistant completes.

…ange

- Fix volume display resetting to zero: onSyncOffsetApplied was calling
  setSessionExtras with a bare 2-key bundle, overwriting the full session
  state (volume, metadata, connection). Now stores sync offset values and
  includes them in the unified broadcastSessionExtras call.

- Fix slow metadata updates (1.5-2.5s) when tapping queue items: add
  optimistic UI update that immediately displays the tapped item's
  metadata (title, artist, album, artwork, duration) before the server
  round-trip through Music Assistant completes.
@chrisuthe chrisuthe merged commit b10dc75 into main Mar 8, 2026
@chrisuthe chrisuthe deleted the task/metadata-delay-and-volume-display branch March 8, 2026 03:17
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.

1 participant