- public DateTime date_time_from_iso8601 (string date)
- public void deinit ()
Deinitializes the Grilo library.
- public Value? g_value_dup (Value value)
- public void g_value_free (Value value)
- public HashTable<string,Value?> g_value_hashtable_new ()
- public HashTable<void*,Value?> g_value_hashtable_new_direct ()
- public Value? g_value_new (Type g_type)
- public void init (ref unowned string[]? argv)
Initializes the Grilo library
- public OptionGroup init_get_option_group ()
Returns a OptionGroup with Grilo's argument
specifications.
- public void log_configure (string config)
Configure a set of log domains.
- public unowned string metadata_key_get_desc (KeyID key)
Retrieves the description associated with the key
- public unowned string metadata_key_get_name (KeyID key)
Retrieves the name associated with the key
- public Type metadata_key_get_type (KeyID key)
Retrieves the expected type for values associated with this key
- public void multiple_get_media_from_uri (string uri, List<KeyID> keys, OperationOptions options, SourceResolveCb callback)
Goes though all available media sources until it finds one capable of
constructing a GrlMedia object representing the media resource exposed by uri
.
- public uint multiple_search (List<Source>? sources, string text, List<KeyID> keys, OperationOptions options, SourceResultCb callback)
Search for text
in all the sources specified in
sources
.
- public List<Media> multiple_search_sync (List<Source>? sources, string text, List<KeyID> keys, OperationOptions options) throws Error
Search for text
in all the sources specified in
sources
.
- public void operation_cancel (uint operation_id)
Cancel an operation.
- public void* operation_get_data (uint operation_id)
Obtains the previously attached data
- public void operation_set_data (uint operation_id, void* user_data)
Attach a pointer to the specific operation.
- public void operation_set_data_full (uint operation_id, void* user_data, DestroyNotify? destroy_func)
Attach a pointer to the specific operation.
- public void paging_translate (uint skip, uint count, uint max_page_size, uint page_size, uint page_number, uint internal_offset)
Grilo browsing implements a paging mechanism through skip
and count
values.
- public void range_value_hashtable_insert (HashTable<void*,void*> hash_table, void* key, Value min, Value max)
- public HashTable<void*,RangeValue> range_value_hashtable_new ()