Open cedricdekimpe opened 3 years ago
If it doesn't show up in that list, there's no way I can interact with the player. Check your configuration and if you still think it's an issue, open it up on the project for the player.
@cedricbousmanne
You need to run it on the system bus_type
, then setup the config file as described in the readme
Specifically (but always check the above URL as it could always change):
To solve this, create the file /etc/dbus-1/system.d/org.mpris.MediaPlayer2.mopidy.conf with the following contents:
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<!-- Allow mopidy user to publish the Mopidy-MPRIS service -->
<policy user="mopidy">
<allow own="org.mpris.MediaPlayer2.mopidy"/>
</policy>
<!-- Allow anyone to invoke methods on the Mopidy-MPRIS service -->
<policy context="default">
<allow send_destination="org.mpris.MediaPlayer2.mopidy"/>
<allow receive_sender="org.mpris.MediaPlayer2.mopidy"/>
</policy>
</busconfig>
If you run Mopidy as another user than mopidy, you must update user="mopidy" in the above file accordingly.
The player I am using is mopidy.
I installed the mopidy-mpris plugin and it is enabled
When I try a playerctl command, i receive the "No players found" error.
Mopidy doesn't appear in the result of the following command :
Versions :
mopidy 3.1.1-1 Mopidy-MPRIS 3.0.3 playerctl 2.3.1-1