Namespace
Grl – 0.3
A framework for browsing and searching media content from various sources using a single API.
Dependencies
GModule—2.0 | Portable API for dynamically loading modules |
Browse documentation | |
GObject—2.0 | The base type system library |
Browse documentation |
Structs
LogDomain | |
PluginDescriptor |
This structure is used for the module loader. since: 0.3.0 |
RangeValue | |
SourceBrowseSpec |
Data transport structure used internally by the plugins which support browse vmethod. |
SourceMediaFromUriSpec |
Data transport structure used internally by the plugins which support media_from_uri vmethod. |
SourceQuerySpec |
Data transport structure used internally by the plugins which support query vmethod. |
SourceRemoveSpec |
Data transport structure used internally by the plugins which support store vmethod. |
SourceResolveSpec |
Data transport structure used internally by the plugins which support resolve vmethod. |
SourceSearchSpec |
Data transport structure used internally by the plugins which support search vmethod. |
SourceStoreMetadataSpec |
Data transport structure used internally by the plugins which support store_metadata vmethod. |
SourceStoreSpec |
Data transport structure used internally by the plugins which support store vmethod. |
Enumerations
CoreError |
These constants identify all the available core errors. |
LogLevel |
Grilo log levels. Defines the level of verbosity selected in Grilo. |
MediaSerializeType |
GrlMedia serialize type. since: 0.2.3 |
MediaType | |
Rank |
Source priority ranks. Defines the order in which the resolver (or similar rank-picking mechanisms) will choose this source over an alternative one with the same function. |
SourceChangeType |
Specifies which kind of change has happened in the plugin. |
Bitfields
ResolutionFlags |
Resolution flags. |
SupportedMedia | |
SupportedOps |
Bitwise flags which reflect the kind of operations that a
|
TypeFilter |
Type of media to allow. |
WriteFlags |
Flags for writing operations. |
Callbacks
PluginDeinitFunc | |
PluginInitFunc | |
PluginRegisterKeysFunc | |
SourceRemoveCb |
Prototype for the callback passed to |
SourceResolveCb |
Prototype for the callback passed to grl_source_resolve(). If the URI did
not resolve to a valid media record, |
SourceResultCb |
Prototype for the callback passed to the media sources’ methods. |
SourceStoreCb |
Prototype for the callback passed to grl_source_store_foo functions. |
Functions
date_time_from_iso8601 |
since: 0.2.0 |
deinit |
Deinitializes the Grilo library. since: 0.2.8 |
g_value_dup | |
g_value_free | |
g_value_hashtable_new | |
g_value_hashtable_new_direct | |
g_value_new | |
init |
Initializes the Grilo library. since: 0.1.6 |
init_get_option_group |
Returns a since: 0.1.6 |
list_from_va |
Returns a since: 0.1.6 |
log |
Send a log message. since: 0.1.7 |
log_configure |
Configure a set of log domains. The default configuration is to display warning and error messages only for all the log domains. since: 0.1.7 |
metadata_key_get_desc |
Retrieves the description associated with the key. since: 0.1.6 |
metadata_key_get_name |
Retrieves the name associated with the key. since: 0.1.6 |
metadata_key_get_type |
Retrieves the expected type for values associated with this key. since: 0.2.0 |
metadata_key_list_new |
Returns a since: 0.2.0 |
multiple_get_media_from_uri |
Goes though all available media sources until it finds one capable of
constructing a GrlMedia object representing the media resource exposed
by since: 0.2.0 |
multiple_search |
Search for since: 0.2.0 |
multiple_search_sync |
Search for since: 0.2.0 |
operation_cancel |
Cancel an operation. |
operation_get_data |
Obtains the previously attached data. |
operation_set_data |
Attach a pointer to the specific operation. |
operation_set_data_full |
Attach a pointer to the specific operation. since: 0.2.7 |
paging_translate |
Grilo browsing implements a paging mechanism through since: 0.1.6 |
Function Macros
DEBUG |
Output a debugging message in the default log domain. |
ERROR |
Output an error message in the default log domain. |
INFO |
Output an informational message in the default log domain. |
LOG |
Outputs a debugging message. This is the most general macro for outputting debugging messages. You will probably want to use one of the ones described below. |
LOG_DOMAIN_EXTERN |
Declares a GrlLogDomain variable as extern. Use in header files. |
LOG_DOMAIN_FREE |
Free a previously allocated |
LOG_DOMAIN_INIT |
Creates a new |
LOG_DOMAIN_STATIC |
Defines a static GrlLogDomain variable. |
MESSAGE |
Output a logging message in the default log domain. |
PLUGIN_DEFINE |
since: 0.3.0 |
WARNING |
Output a warning message in the default log domain. |