|  |  |  | librygel-server Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | ||||
#define RYGEL_TYPE_MUSIC_ITEM void rygel_music_item_lookup_album_art (RygelMusicItem *self); #define RYGEL_MUSIC_ITEM_UPNP_CLASS RygelMusicItem * rygel_music_item_new (const gchar *id,RygelMediaContainer *parent,const gchar *title,const gchar *upnp_class); const gchar * rygel_music_item_get_artist (RygelMusicItem *self); void rygel_music_item_set_artist (RygelMusicItem *self,const gchar *value); const gchar * rygel_music_item_get_album (RygelMusicItem *self); void rygel_music_item_set_album (RygelMusicItem *self,const gchar *value); const gchar * rygel_music_item_get_genre (RygelMusicItem *self); void rygel_music_item_set_genre (RygelMusicItem *self,const gchar *value); gint rygel_music_item_get_track_number (RygelMusicItem *self); void rygel_music_item_set_track_number (RygelMusicItem *self,gint value); RygelThumbnail * rygel_music_item_get_album_art (RygelMusicItem *self); void rygel_music_item_set_album_art (RygelMusicItem *self,RygelThumbnail *value); struct RygelMusicItem; struct RygelMusicItemClass;
#define RYGEL_TYPE_MUSIC_ITEM (rygel_music_item_get_type ())
The type for RygelMusicItem.
void                rygel_music_item_lookup_album_art   (RygelMusicItem *self);
| 
 | the RygelMusicItem instance | 
RygelMusicItem * rygel_music_item_new (const gchar *id,RygelMediaContainer *parent,const gchar *title,const gchar *upnp_class);
const gchar *       rygel_music_item_get_artist         (RygelMusicItem *self);
Get and return the current value of the "artist" property.
| 
 | the RygelMusicItem instance to query | 
| Returns : | the value of the "artist" property | 
void rygel_music_item_set_artist (RygelMusicItem *self,const gchar *value);
Set the value of the "artist" property to value.
| 
 | the RygelMusicItem instance to modify | 
| 
 | the new value of the "artist" property | 
const gchar *       rygel_music_item_get_album          (RygelMusicItem *self);
Get and return the current value of the "album" property.
| 
 | the RygelMusicItem instance to query | 
| Returns : | the value of the "album" property | 
void rygel_music_item_set_album (RygelMusicItem *self,const gchar *value);
Set the value of the "album" property to value.
| 
 | the RygelMusicItem instance to modify | 
| 
 | the new value of the "album" property | 
const gchar *       rygel_music_item_get_genre          (RygelMusicItem *self);
Get and return the current value of the "genre" property.
| 
 | the RygelMusicItem instance to query | 
| Returns : | the value of the "genre" property | 
void rygel_music_item_set_genre (RygelMusicItem *self,const gchar *value);
Set the value of the "genre" property to value.
| 
 | the RygelMusicItem instance to modify | 
| 
 | the new value of the "genre" property | 
gint                rygel_music_item_get_track_number   (RygelMusicItem *self);
Get and return the current value of the "track-number" property.
| 
 | the RygelMusicItem instance to query | 
| Returns : | the value of the "track-number" property | 
void rygel_music_item_set_track_number (RygelMusicItem *self,gint value);
Set the value of the "track-number" property to value.
| 
 | the RygelMusicItem instance to modify | 
| 
 | the new value of the "track-number" property | 
RygelThumbnail *    rygel_music_item_get_album_art      (RygelMusicItem *self);
Get and return the current value of the "album-art" property.
| 
 | the RygelMusicItem instance to query | 
| Returns : | the value of the "album-art" property | 
void rygel_music_item_set_album_art (RygelMusicItem *self,RygelThumbnail *value);
Set the value of the "album-art" property to value.
| 
 | the RygelMusicItem instance to modify | 
| 
 | the new value of the "album-art" property | 
struct RygelMusicItem {
	RygelAudioItem parent_instance;
	RygelMusicItemPrivate * priv;
};
Represents a music item.
struct RygelMusicItemClass {
	RygelAudioItemClass parent_class;
};
The class structure for RYGEL_TYPE_MUSIC_ITEM. All the fields in this structure are private and should never be accessed directly.
| RygelAudioItemClass  | the parent class structure |