Method

AstalMprisPlayerget_meta

Declaration

GVariant*
astal_mpris_player_get_meta (
  AstalMprisPlayer* self,
  const gchar* key
)

Description

Lookup a key from AstalMprisPlayer:metadata. This method is useful for languages that fail to introspect hashtables.

Parameters

key

Type: const gchar*

No description available.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.

Return value

Type: GVariant

No description available.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The return value can be NULL.