RygelMediaArtStore

RygelMediaArtStore — This maps RygelMusicItem objects to their cached cover art, implementing the GNOME MediaArt storage specification and the simplified version that Banshee uses.

Synopsis

#define             RYGEL_TYPE_MEDIA_ART_STORE
RygelThumbnail *    rygel_media_art_store_find_media_art
                                                        (RygelMediaArtStore *self,
                                                         RygelMusicItem *item,
                                                         gboolean simple,
                                                         GError **error);
RygelThumbnail *    rygel_media_art_store_find_media_art_any
                                                        (RygelMediaArtStore *self,
                                                         RygelMusicItem *item,
                                                         GError **error);
GFile *             rygel_media_art_store_get_media_art_file
                                                        (RygelMediaArtStore *self,
                                                         const gchar *type,
                                                         RygelMusicItem *item,
                                                         gboolean simple);
RygelMediaArtStore * rygel_media_art_store_get_default  (void);
struct              RygelMediaArtStore;
struct              RygelMediaArtStoreClass;

Object Hierarchy

  GObject
   +----RygelMediaArtStore

Description

Details

RYGEL_TYPE_MEDIA_ART_STORE

#define RYGEL_TYPE_MEDIA_ART_STORE (rygel_media_art_store_get_type ())

The type for RygelMediaArtStore.


rygel_media_art_store_find_media_art ()

RygelThumbnail *    rygel_media_art_store_find_media_art
                                                        (RygelMediaArtStore *self,
                                                         RygelMusicItem *item,
                                                         gboolean simple,
                                                         GError **error);

self :

the RygelMediaArtStore instance

error :

location to store the error occuring, or NULL to ignore

rygel_media_art_store_find_media_art_any ()

RygelThumbnail *    rygel_media_art_store_find_media_art_any
                                                        (RygelMediaArtStore *self,
                                                         RygelMusicItem *item,
                                                         GError **error);

self :

the RygelMediaArtStore instance

error :

location to store the error occuring, or NULL to ignore

rygel_media_art_store_get_media_art_file ()

GFile *             rygel_media_art_store_get_media_art_file
                                                        (RygelMediaArtStore *self,
                                                         const gchar *type,
                                                         RygelMusicItem *item,
                                                         gboolean simple);

self :

the RygelMediaArtStore instance

rygel_media_art_store_get_default ()

RygelMediaArtStore * rygel_media_art_store_get_default  (void);

struct RygelMediaArtStore

struct RygelMediaArtStore;

This maps RygelMusicItem objects to their cached cover art, implementing the GNOME MediaArt storage specification and the simplified version that Banshee uses.


struct RygelMediaArtStoreClass

struct RygelMediaArtStoreClass {
	GObjectClass parent_class;
};

The class structure for RYGEL_TYPE_MEDIA_ART_STORE. All the fields in this structure are private and should never be accessed directly.

GObjectClass parent_class;

the parent class structure