I’ve been trying to update the Google Play Music Desktop Player snap. I’ve managed to get everything building again (yay!), but somehow the MPRIS support fails with AppArmor denials unless I manually specify the name in the slot, like so
apps:
google-play-music-desktop-player:
command: desktop-launch google-play-music-desktop-player
environment:
TMPDIR: $XDG_RUNTIME_DIR
desktop: usr/share/applications/google-play-music-desktop-player.desktop
extensions:
- gnome-3-28
plugs:
- unity7
- alsa
- audio-playback
- pulseaudio
- opengl
- browser-support
- network
- network-bind
- gsettings
- avahi-observe
slots:
- mpris-player
slots:
mpris-player:
interface: mpris
name: google_play_music_desktop_player
This used to work without the manual specification of the slot, and manually specifying the slot means that it needs to go through review. Is there something that has changed in the handling of the mpris
interface? Is there something I can do to not need to manually specify the name?