Enumerations | |
enum | sp_albumtype { SP_ALBUMTYPE_ALBUM = 0, SP_ALBUMTYPE_SINGLE = 1, SP_ALBUMTYPE_COMPILATION = 2, SP_ALBUMTYPE_UNKNOWN = 3 } |
Functions | |
bool | sp_album_is_loaded (sp_album *album) |
bool | sp_album_is_available (sp_album *album) |
sp_artist * | sp_album_artist (sp_album *album) |
const byte * | sp_album_cover (sp_album *album, sp_image_size size) |
const char * | sp_album_name (sp_album *album) |
int | sp_album_year (sp_album *album) |
sp_albumtype | sp_album_type (sp_album *album) |
sp_error | sp_album_add_ref (sp_album *album) |
sp_error | sp_album_release (sp_album *album) |
enum sp_albumtype |
Increase the reference count of an album
[in] | album | The album object |
Get the artist associated with the given album
[in] | album | Album object |
const byte* sp_album_cover | ( | sp_album * | album, | |
sp_image_size | size | |||
) |
Return image ID representing the album's coverart.
[in] | album | Album object |
[in] | size | The desired size of the image |
bool sp_album_is_available | ( | sp_album * | album | ) |
Return true if the album is available in the current region.
[in] | album | The album |
bool sp_album_is_loaded | ( | sp_album * | album | ) |
Check if the album object is populated with data
[in] | album | Album object |
const char* sp_album_name | ( | sp_album * | album | ) |
Return name of album
[in] | album | Album object |
Decrease the reference count of an album
[in] | album | The album object |
sp_albumtype sp_album_type | ( | sp_album * | album | ) |
Return type of specified album
[in] | album | Album object |