Skip to content

fix(macos-media): add album artwork to macOS Now Playing metadata#136

Merged
LargeModGames merged 1 commit into
LargeModGames:mainfrom
wfinken:fix/macos-now-playing-artwork
Mar 2, 2026
Merged

fix(macos-media): add album artwork to macOS Now Playing metadata#136
LargeModGames merged 1 commit into
LargeModGames:mainfrom
wfinken:fix/macos-now-playing-artwork

Conversation

@wfinken
Copy link
Copy Markdown
Contributor

@wfinken wfinken commented Mar 2, 2026

Summary

Fixes missing album/episode artwork in macOS Control Center / Now Playing for spotatui.

Changes

  • Extended macOS media metadata updates to carry an optional artwork URL.
  • Fetched artwork image data and converted it to MPMediaItemArtwork.
  • Published MPMediaItemPropertyArtwork in Now Playing info.
  • Added a macOS metadata sync path from playback state with dedupe to avoid redundant updates/fetches.
  • Updated macOS feature dependencies to include objc2-app-kit (NSImage) for artwork construction.
  • Updated CHANGELOG.md under Unreleased > Fixed.

Validation

  • cargo fmt
  • cargo check --features macos-media --offline

Impact

  • macOS Now Playing now shows album/episode cover art when available.
  • Media key handling and existing playback metadata behavior remain unchanged.

fix(macos-media): add album artwork to macOS Now Playing metadata

- Extend MacMediaManager metadata command to carry optional artwork URL.
- Fetch artwork image and set MPMediaItemPropertyArtwork in Now Playing
info.
- Add macOS metadata sync path in main loop with dedupe/caching
behavior.
- Wire objc2-app-kit (NSImage) into macos-media feature/dependencies.
- Update track-changed call sites and lockfile accordingly.
@wfinken
Copy link
Copy Markdown
Contributor Author

wfinken commented Mar 2, 2026

image

@LargeModGames
Copy link
Copy Markdown
Owner

Its so amazing to finally have someone on macOS help

@LargeModGames LargeModGames merged commit a8c676f into LargeModGames:main Mar 2, 2026
5 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