Constructor
AstalMprisPlayernew
Description
Construct a Player that tracks a dbus name. For example “org.mpris.MediaPlayer2.spotify”. The “org.mpris.MediaPlayer2.”
prefix can be leftout so simply “spotify” would mean the same. AstalMprisPlayer:available
indicates whether the player
is actually running or not.
Parameters
name
-
Type:
const gchar*
Dbus name of the player. .
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
Return value
Type: AstalMprisPlayer
No description available.
The caller of the function takes ownership of the data, and is responsible for freeing it. |