Skip to content

Music Controller 0.2.0: artwork-led watch face - #42

Merged
freethinkel merged 1 commit into
fmctools:mainfrom
boxmol71-gif:feat/music-controller-0.2.0
Nov 22, 2026
Merged

freethinkel merged 1 commit into
fmctools:mainfrom
boxmol71-gif:feat/music-controller-0.2.0

Conversation

@boxmol71-gif

Copy link
Copy Markdown
Contributor

Summary

  • redesign Music Controller around the current notification artwork, title, and artist
  • add large bordered transport and volume controls in the red/grey Nothing visual language
  • add bounded M1 methods for 64×64 RGB332 artwork and printable-ASCII title/artist records
  • assemble artwork atomically with manifest, nonce, offset, generation, and CRC validation
  • keep transferred artwork and track text RAM-only; the watch NAND cache remains playback state and volume only
  • preserve Music Companion 0.1.1 compatibility: unsupported methods return BAD_REQUEST, controls remain live, and the artwork well shows a placeholder
  • document the owner-approved privacy exception and that nearby clients with the channel key can observe or inject watch-facing messages

Artwork is selected only from the notification whose MediaSession.Token exactly matches the active media session. MediaMetadata artwork and artwork from another notification are never substituted.

Protocol bounds

  • artwork request: M1Q id 0x62 nonce_u32_le known_generation_u64_le
  • artwork response: one 25-byte manifest and 27 chunks; records are at most 121 bytes and messages at most 128 bytes
  • track request: M1Q id 0x63
  • track response: title and artist records, each capped at 60 printable ASCII bytes and validated again on the watch
  • artwork payload: 3,072 bytes, continuously packed MSB-first at 6 bits per pixel (R3/G2/B1)

Validation

  • make check — all store listings pass
  • make test APP=music-controller — 47 Music Controller tests pass; shared crate tests also pass
  • simulator exercised snapshot, controls, title/artist, the complete 28-record artwork transfer, old-companion BAD_REQUEST, timeout/retry, empty/long text, and final rendering
  • simulator screenshots are byte-identical to the committed store screenshots
  • companion release: https://github.com/boxmol71-gif/music-companion/releases/tag/v0.2.0
    • APK SHA-256: 101c7acd77360b3025445334fb260dc8d4ce01802b4c63875d7dc7058e613ee2

The local package wrapper is currently unable to refresh a corrupted Git dependency in the existing uv cache, so the authoritative release package and relocations are checked by the clean CI runner. No physical-watch write was performed.

@boxmol71-gif

Copy link
Copy Markdown
Contributor Author

@freethinkel — the Music Controller 0.2.0 release candidate is ready for upstream review and merge.

Final validation:

  • clean CI build passed on the rebased branch (9ba4495)
  • CI .wp2app: 72,408 bytes total, 71,392-byte image, ABI 1.3, version build 2048, menu app (features: []), 238 pack-supported relocations, package CRC valid
  • emitted stack frames: largest single frame 464 bytes; deepest observed control/text drawing chain below 1 KiB (limit 8 KiB)
  • 47 watch host tests and all store-listing checks pass
  • simulator covers controls, old-companion BAD_REQUEST, timeout/retry, empty/long text, and the complete 28-record artwork transfer
  • companion v0.2.0 is published and byte-verified: https://github.com/boxmol71-gif/music-companion/releases/tag/v0.2.0

No physical-watch write was performed. Please merge when the upstream review is satisfied so the Store workflow can publish Music Controller 0.2.0.

@freethinkel
freethinkel merged commit 01a0449 into fmctools:main Nov 22, 2026
2 checks passed
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.

2 participants