MafwURI

MafwURI — built-in MafwSource capable of telling the metadata of random URLs

Synopsis

#define             MAFW_URI_SOURCE_UUID
MafwURISource*      mafw_get_uri_source                 (void);

Description

This is a simple built-in MafwSource capable of telling the metadata of random URLs. This source is not browseable, to obtain an object ID you need to mafw_source_create_objectid(). You can for example add the returned object ID to a playlist and inquire about its metadata the usual way (determining the source by splitting it and finding the source with mafw_registry_find_by_uuid()) later. Currently only the MAFW_METADATA_KEY_URI is supported.

Details

MAFW_URI_SOURCE_UUID

#define MAFW_URI_SOURCE_UUID	"urisource"

URI's source id


mafw_get_uri_source ()

MafwURISource*      mafw_get_uri_source                 (void);

Gets the framework-wide instance of the uri-source.

Returns : the URISource. Use this function to get hold on it. Don't unref the returned source.