Method

GrlSourcestore_metadata

since: 0.2.0

Declaration [src]

void
grl_source_store_metadata (
  GrlSource* source,
  GrlMedia* media,
  GList* keys,
  GrlWriteFlags flags,
  GrlSourceStoreCb callback,
  gpointer user_data
)

Description [src]

Get the values for keys from media and store it permanently. After calling this method, future queries that return this media object shall return this new values for the selected keys.

This function is asynchronous and uses the Glib’s main loop.

Available since: 0.2.0

Parameters

media

Type: GrlMedia

The GrlMedia object that we want to operate on.

The data is owned by the caller of the method.
keys

Type: A list of None

A list of GrlKeyID whose values we want to change.

The argument can be NULL.
The data is owned by the caller of the method.
flags

Type: GrlWriteFlags

Flags to configure specific behaviors of the operation.

callback

Type: GrlSourceStoreCb

The callback to execute when the operation is finished.

user_data

Type: gpointer

User data set for the callback.

The argument can be NULL.
The data is owned by the caller of the method.