Media art management

Media art management — Media art request and management.

Synopsis

#include <libtracker-miner/tracker-media-art.h>

gboolean            tracker_media_art_queue_remove      (const gchar *uri,
                                                         const gchar *mime_type);
void                tracker_media_art_queue_empty       (TrackerSparqlConnection *connection);

Description

This is a convenience API using D-Bus to talk to the media management service.

Details

tracker_media_art_queue_remove ()

gboolean            tracker_media_art_queue_remove      (const gchar *uri,
                                                         const gchar *mime_type);

Adds a new request to tell the media art subsystem that uri was removed. Stored requests can be processed with tracker_media_art_queue_empty().

uri :

URI of the file

mime_type :

mime-type of the file

Returns :

TRUE if successfully stored to be reported, FALSE otherwise.

Since 0.10.4


tracker_media_art_queue_empty ()

void                tracker_media_art_queue_empty       (TrackerSparqlConnection *connection);

Using connection, find all media art associated with content in Tracker (so as not to remove media art for other processes) and remove caches for that media art.

Note, this highly depends on built in support for libmediaart. If there is no support, this API does nothing.

connection :

a TrackerSparqlConnection

Since 0.10.4