Method

GrlSourceresolve_sync

since: 0.2.0

Declaration [src]

GrlMedia*
grl_source_resolve_sync (
  GrlSource* source,
  GrlMedia* media,
  const GList* keys,
  GrlOperationOptions* options,
  GError** error
)

Description [src]

This method is intended to fetch the requested keys of metadata of a given media to the media source.

This method is synchronous.

Available since: 0.2.0

Parameters

media

Type: GrlMedia

A data transfer object.

The argument can be NULL.
The instance takes ownership of the data, and is responsible for freeing it.
keys

Type: A list of None

The GList of GrlKeyIDs to request.

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

Type: GrlOperationOptions

Options to pass to this operation.

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

Type: GError **

The return location for a recoverable error.

The argument can be NULL.
If the return location is not NULL, then you must initialize it to a NULL GError*.
The argument will be left initialized to NULL by the method if there are no errors.
In case of error, the argument will be set to a newly allocated GError; the caller will take ownership of the data, and be responsible for freeing it.

Return value

Type: GrlMedia

A filled GrlMedia.

The caller of the method takes ownership of the data, and is responsible for freeing it.