Grl
Description:
Content:
Classes:
Structs:
- KeyID
- MetadataKey
- 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.
Enums:
- CoreError - These constants identify all the available core errors
- LogLevel - Grilo log levels.
- MediaSerializeType - GrlMedia serialize type
- MediaType
- Rank - Source priority ranks.
- ResolutionFlags - Resolution flags
- SourceChangeType - Specifies which kind of change has happened in the plugin
- SupportedMedia
- SupportedOps - Bitwise flags which reflect the kind of operations that a Source supports.
- TypeFilter - Type of media to allow.
- WriteFlags - Flags for writing operations.
Constants:
- public const string CONFIG_KEY_APIKEY
- public const string CONFIG_KEY_APIKEY_BLOB
- public const string CONFIG_KEY_APISECRET
- public const string CONFIG_KEY_APITOKEN
- public const string CONFIG_KEY_APITOKEN_SECRET
- public const string CONFIG_KEY_PASSWORD
- public const string CONFIG_KEY_PLUGIN
- public const string CONFIG_KEY_SOURCE
- public const string CONFIG_KEY_USERNAME
- public const string CONFIG_PATH_VAR
- public const int COUNT_INFINITY
- public const string KEYID_FORMAT
- public const int METADATA_KEY_ALBUM
- public const int METADATA_KEY_ALBUM_ARTIST
- public const int METADATA_KEY_ALBUM_DISC_NUMBER
- public const int METADATA_KEY_ARTIST
- public const int METADATA_KEY_AUDIO_TRACK
- public const int METADATA_KEY_AUTHOR
- public const int METADATA_KEY_BITRATE
- public const int METADATA_KEY_CAMERA_MODEL
- public const int METADATA_KEY_CERTIFICATE
- public const int METADATA_KEY_CHILDCOUNT
- public const int METADATA_KEY_CHILDCOUNT_UNKNOWN
- public const int METADATA_KEY_COMPOSER
- public const int METADATA_KEY_CREATION_DATE
- public const int METADATA_KEY_DESCRIPTION
- public const int METADATA_KEY_DIRECTOR
- public const int METADATA_KEY_DURATION
- public const int METADATA_KEY_EPISODE
- public const int METADATA_KEY_EPISODE_TITLE
- public const int METADATA_KEY_EXPOSURE_TIME
- public const int METADATA_KEY_EXTERNAL_PLAYER
- public const int METADATA_KEY_EXTERNAL_URL
- public const int METADATA_KEY_FAVOURITE
- public const int METADATA_KEY_FLASH_USED
- public const int METADATA_KEY_FRAMERATE
- public const int METADATA_KEY_GENRE
- public const int METADATA_KEY_HEIGHT
- public const int METADATA_KEY_ID
- public const int METADATA_KEY_INVALID
- public const int METADATA_KEY_ISO_SPEED
- public const int METADATA_KEY_KEYWORD
- public const int METADATA_KEY_LAST_PLAYED
- public const int METADATA_KEY_LAST_POSITION
- public const int METADATA_KEY_LICENSE
- public const int METADATA_KEY_LYRICS
- public const int METADATA_KEY_MB_ALBUM_ID
- public const int METADATA_KEY_MB_ARTIST_ID
- public const int METADATA_KEY_MB_RECORDING_ID
- public const int METADATA_KEY_MB_RELEASE_GROUP_ID
- public const int METADATA_KEY_MB_RELEASE_ID
- public const int METADATA_KEY_MB_TRACK_ID
- public const int METADATA_KEY_MIME
- public const int METADATA_KEY_MODIFICATION_DATE
- public const int METADATA_KEY_ORIENTATION
- public const int METADATA_KEY_ORIGINAL_TITLE
- public const int METADATA_KEY_PERFORMER
- public const int METADATA_KEY_PLAY_COUNT
- public const int METADATA_KEY_PRODUCER
- public const int METADATA_KEY_PUBLICATION_DATE
- public const int METADATA_KEY_RATING
- public const int METADATA_KEY_REGION
- public const int METADATA_KEY_SEASON
- public const int METADATA_KEY_SHOW
- public const int METADATA_KEY_SITE
- public const int METADATA_KEY_SIZE
- public const int METADATA_KEY_SOURCE
- public const int METADATA_KEY_START_TIME
- public const int METADATA_KEY_STUDIO
- public const int METADATA_KEY_THUMBNAIL
- public const int METADATA_KEY_THUMBNAIL_BINARY
- public const int METADATA_KEY_TITLE
- public const int METADATA_KEY_TITLE_FROM_FILENAME
- public const int METADATA_KEY_TRACK_NUMBER
- public const int METADATA_KEY_URL
- public const int METADATA_KEY_WIDTH
- public const int PADDING
- public const int PADDING_SMALL
- public const string PLUGIN_AUTHOR
- public const string PLUGIN_DESCRIPTION
- public const string PLUGIN_LICENSE
- public const string PLUGIN_LIST_VAR
- public const string PLUGIN_NAME
- public const string PLUGIN_PATH_VAR
- public const string PLUGIN_RANKS_VAR
- public const string PLUGIN_SITE
- public const string PLUGIN_VERSION
- public const int SOURCE_REMAINING_UNKNOWN
Delegates:
- public delegate void PluginDeinitFunc (Plugin plugin)
- public delegate void PluginRegisterKeysFunc (Registry registry, Plugin plugin)
- public delegate void SourceRemoveCb (Source source, owned Media media, Error? error)
Prototype for the callback passed to remove
- public delegate void SourceResolveCb (Source source, uint operation_id, owned Media media, Error? error)
Prototype for the callback passed to resolve.
- public delegate void SourceResultCb (Source source, uint operation_id, owned Media? media, uint remaining, Error? error)
Prototype for the callback passed to the media sources' methods
- public delegate void SourceStoreCb (Source source, Media media, List<KeyID> failed_keys, Error? error)
Prototype for the callback passed to grl_source_store_foo functions
Functions:
- 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 insources
. - 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 insources
. - 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
andcount
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 ()