ShelfPlayer icon indicating copy to clipboard operation
ShelfPlayer copied to clipboard

AirPlay cover is missing

Open UtopianCitizen opened this issue 3 months ago • 1 comments

Currently when casting to an Apple TV via AirPlay, the cover art is not displayed — the Apple TV shows the generic audio screen.

It would be a big improvement if ShelfPlayer passed along the audiobook artwork through iOS’s [MPNowPlayingInfoCenter], so that cover art appears on the TV during AirPlay sessions.

Why this matters: • Other apps (Prologue, Apple Books) send cover art successfully, which makes for a more polished listening experience. • The artwork is already visible in ShelfPlayer and Audiobookshelf metadata, so it seems like a matter of including it in the AirPlay handoff.

Suggested behavior: • When AirPlaying an audiobook, Apple TV should show the book’s cover art along with title/author (if available). • This could likely be implemented by populating the MPNowPlayingInfoCenter.default().nowPlayingInfo dictionary with the artwork (MPMediaItemPropertyArtwork) in addition to the current title/position metadata.

UtopianCitizen avatar Sep 01 '25 02:09 UtopianCitizen

The API is already used by ShelfPlayer, I have no idea why the cover is not displayed...

rasmuslos avatar Oct 10 '25 08:10 rasmuslos