muesli / deckmaster

An application to control your Elgato Stream Deck on Linux
MIT License
258 stars 46 forks source link

Media player (using DBUS) widget and commands #105

Open DemonTPx opened 2 years ago

DemonTPx commented 2 years ago

This adds a media player widget and commands using dbus.

It allows control over all players which are following the dbus MPRIS MediaPlayer2 specification, however if multiple players are started, the player you want to control needs to be selected (using the select+ or select- command).

The widget can be used to view the album art (tested with Spotify and Rhythmbox), the name of the selected player and conditional icons depending on the current playback status (eg: a stop button when playing and a play button when paused.)

eduardopicado commented 1 year ago

This is a great PR, I got it working with Tidal-hifi on Ubuntu!