A class that implements an MPRIS service over D-Bus. More...
#include <mpris-service.hpp>
Public Member Functions | |
MPRISService (const std::string &applicationName) | |
Constructs a new MPRISService object. | |
A class that implements an MPRIS service over D-Bus.
This class provides a service for exposing media player properties and methods over D-Bus using the MPRIS interface, which includes features like controlling playback, retrieving metadata, and exposing basic media player information such as supported URI schemes.
|
inline |
Constructs a new MPRISService object.
This constructor sets up the D-Bus connection, registers the service on the session bus, and initializes default metadata values for the media player.
applicationName | The name of the media player application. |