## RygelMusicItem RygelMusicItem — Represents a music item. |

## Synopsis

    #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;

## Object Hierarchy

      GObject
       +----RygelMediaObject
             +----RygelMediaItem
                   +----RygelAudioItem
                         +----RygelMusicItem

## Properties

      "album"                    gchar*                : Read / Write
      "album-art"                RygelThumbnail*       : Read / Write
      "artist"                   gchar*                : Read / Write
      "genre"                    gchar*                : Read / Write
      "track-number"             gint                  : Read / Write

## Description

## Details

### RYGEL_TYPE_MUSIC_ITEM

    #define RYGEL_TYPE_MUSIC_ITEM (rygel_music_item_get_type ())

The type for RygelMusicItem.

### rygel_music_item_lookup_album_art ()

    void                rygel_music_item_lookup_album_art   (RygelMusicItem *self);

`self` : | the RygelMusicItem instance

### RYGEL_MUSIC_ITEM_UPNP_CLASS

    #define RYGEL_MUSIC_ITEM_UPNP_CLASS "object.item.audioItem.musicTrack"

### rygel_music_item_new ()

    RygelMusicItem *    rygel_music_item_new                (const gchar *id,
                                                             RygelMediaContainer *parent,
                                                             const gchar *title,
                                                             const gchar *upnp_class);

### rygel_music_item_get_artist ()

    const gchar *       rygel_music_item_get_artist         (RygelMusicItem *self);

Get and return the current value of the "artist" property.

`self` : | the RygelMusicItem instance to query
Returns : | the value of the "artist" property

### rygel_music_item_set_artist ()

    void                rygel_music_item_set_artist         (RygelMusicItem *self,
                                                             const gchar *value);

Set the value of the "artist" property to `value`.

`self` : | the RygelMusicItem instance to modify
`value` : | the new value of the "artist" property

### rygel_music_item_get_album ()

    const gchar *       rygel_music_item_get_album          (RygelMusicItem *self);

Get and return the current value of the "album" property.

`self` : | the RygelMusicItem instance to query
Returns : | the value of the "album" property

### rygel_music_item_set_album ()

    void                rygel_music_item_set_album          (RygelMusicItem *self,
                                                             const gchar *value);

Set the value of the "album" property to `value`.

`self` : | the RygelMusicItem instance to modify
`value` : | the new value of the "album" property

### rygel_music_item_get_genre ()

    const gchar *       rygel_music_item_get_genre          (RygelMusicItem *self);

Get and return the current value of the "genre" property.

`self` : | the RygelMusicItem instance to query
Returns : | the value of the "genre" property

### rygel_music_item_set_genre ()

    void                rygel_music_item_set_genre          (RygelMusicItem *self,
                                                             const gchar *value);

Set the value of the "genre" property to `value`.

`self` : | the RygelMusicItem instance to modify
`value` : | the new value of the "genre" property

### rygel_music_item_get_track_number ()

    gint                rygel_music_item_get_track_number   (RygelMusicItem *self);

Get and return the current value of the "track-number" property.

`self` : | the RygelMusicItem instance to query
Returns : | the value of the "track-number" property

### rygel_music_item_set_track_number ()

    void                rygel_music_item_set_track_number   (RygelMusicItem *self,
                                                             gint value);

Set the value of the "track-number" property to `value`.

`self` : | the RygelMusicItem instance to modify
`value` : | the new value of the "track-number" property

### rygel_music_item_get_album_art ()

    RygelThumbnail *    rygel_music_item_get_album_art      (RygelMusicItem *self);

Get and return the current value of the "album-art" property.

`self` : | the RygelMusicItem instance to query
Returns : | the value of the "album-art" property

### rygel_music_item_set_album_art ()

    void                rygel_music_item_set_album_art      (RygelMusicItem *self,
                                                             RygelThumbnail *value);

Set the value of the "album-art" property to `value`.

`self` : | the RygelMusicItem instance to modify
`value` : | the new value of the "album-art" property

### struct RygelMusicItem

    struct RygelMusicItem;

Represents a music item.

### struct RygelMusicItemClass

    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 `parent_class`; | the parent class structure

## Property Details

### The `"album"` property

      "album"                    gchar*                : Read / Write

album.

Default value: NULL

### The `"album-art"` property

      "album-art"                RygelThumbnail*       : Read / Write

album-art.

### The `"artist"` property

      "artist"                   gchar*                : Read / Write

artist.

Default value: NULL

### The `"genre"` property

      "genre"                    gchar*                : Read / Write

genre.

Default value: NULL

### The `"track-number"` property

      "track-number"             gint                  : Read / Write

track-number.

Default value: -1