OpenVoiceOS/buildroot-external/rootfs-overlay/etc/dbus-1/system.d/spotifyd-mpris-policy.conf

22 lines
765 B
Plaintext
Raw Normal View History

2021-10-31 19:30:37 +01:00
<!-- initial version, based on /etc/dbus-1/system.d/avahi-dbus.conf, with thanks -->
<!DOCTYPE busconfig PUBLIC
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<!-- Allow users "root" and "mycroft" to own the SpotifyD MPRIS service -->
<policy user="mycroft">
<allow own="org.mpris.MediaPlayer2.spotifyd"/>
</policy>
<policy user="root">
<allow own="org.mpris.MediaPlayer2.spotifyd"/>
</policy>
<!-- Allow anyone to invoke methods on SpotifyD MPRIS server -->
<policy context="default">
<allow send_destination="org.mpris.MediaPlayer2.spotifyd"/>
<allow receive_sender="org.mpris.MediaPlayer2.spotifyd"/>
</policy>
</busconfig>