Presto exposes an MPRIS player on the user session bus. This enables desktop media keys and tools like playerctl.
org.mpris.MediaPlayer2.presto/org/mpris/MediaPlayer2org.mpris.MediaPlayer2 and org.mpris.MediaPlayer2.PlayerRun Presto, then in another terminal:
playerctl -l
playerctl -p presto status
playerctl -p presto metadata
playerctl -p presto play-pause
playerctl -p presto next
playerctl -p presto previous
playerctl -p presto stop
Presto attempts to populate the common xesam/mpris fields when available:
xesam:titlexesam:artistxesam:albumxesam:urlmpris:length (microseconds)mpris:trackidNot all audio files have tags; in those cases you’ll see fewer fields.
If playerctl -l does not show presto:
dbus is running for your user.RUST_LOG=zbus=debug (or similar) if you add logging; Presto currently keeps stderr output minimal.If the player shows up but metadata doesn’t update:
playerctl -p presto metadata repeatedly during track changes.PropertiesChanged on track transitions (see src/mpris.rs).If media keys don’t work:
playerctl first; if playerctl works but keys don’t, it’s a desktop config issue.For broader runtime issues, see TROUBLESHOOTING.md.