vixalien / decibels

Play audio files
https://gitlab.gnome.org/vixalien/decibels
GNU General Public License v3.0
52 stars 17 forks source link

Unnecesary sandbox hole for MPRIS #65

Open A6GibKm opened 6 months ago

A6GibKm commented 6 months ago

The permission at https://github.com/flathub/com.vixalien.decibels/blob/master/com.vixalien.decibels.json#L21 is unnecessary, by default apps can serve MPRIS over org.mpris.MediaPlayer2.APP_ID , e.g. org.mpris.MediaPlayer2.com.vixalien.decibel.

Of course for this to work you would need to modify the MPRIS related code. See https://gitlab.gnome.org/World/podcasts/-/commit/026145e0c7354f5b9df43916168d42885a74d005 for example.