inLimbo
TUI Music Player that keeps you in Limbo.
 
Loading...
Searching...
No Matches
MPRISService Class Reference

A class that implements an MPRIS service over D-Bus. More...

#include <mpris-service.hpp>

Public Member Functions

 MPRISService (std::string applicationName)
 Constructs a new MPRISService object.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ MPRISService()

MPRISService::MPRISService ( std::string applicationName)
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.

Parameters
applicationNameThe name of the media player application.

The documentation for this class was generated from the following file: