Re: [PATCH BlueZ 1/1] Add cover art support

Bastien Nocera <[email protected]> Tue, 04 Aug 2026 00:29:37 +0200
Newsgroups org.kernel.vger.linux-bluetooth
Message-ID <[email protected]>
On Mon, 2026-08-03 at 23:03 +0200, Jan-Michael Brummer wrote:
> Maybe you have an alternative solution in mind? I'm open to change
> it.

I think you might need to extend MPRIS to allow making image data
available instead of a URL.

This could also help with avoiding, say, gnome-shell having to make
https calls to fetch a remote cover, or third-party playback control
apps having to cross apps boundaries to get to another sandbox app's
cover art.

Maybe this new feature is what we want?
https://gitlab.freedesktop.org/mpris/mpris-spec/-/merge_requests/4

I looked through the MPRIS repo after writing the above.

Cheers

> Am 3. August 2026 22:56:39 MESZ schrieb Bastien Nocera
> <[email protected]>:
> > Hey,
> >=20
> > On Mon, 2026-08-03 at 21:55 +0200, Jan-Michael wrote:
> > > =C2=A0# Filesystem lockdown
> > > -ProtectHome=3Dtrue
> > > +# Cover art referenced by MediaPlayer1 metadata (mpris:artUrl)
> > > usually
> > > +# lives in the user's home directory (e.g. ~/.cache of the
> > > player),
> > > so
> > > +# bluetoothd needs read access to serve it via the AVRCP BIP
> > > responder.
> > > +ProtectHome=3Dread-only
> > >=20
> >=20
> > This is going to be a show-stopper.
> >=20
> > Having a root-running daemon rummaging around in user's files is
> > not
> > something we want *at all*.
> >=20
> > Cheers