Artist subsystem


Functions

const char * sp_artist_name (sp_artist *artist)
bool sp_artist_is_loaded (sp_artist *artist)
void sp_artist_add_ref (sp_artist *artist)
void sp_artist_release (sp_artist *artist)

Function Documentation

void sp_artist_add_ref ( sp_artist artist  ) 

Increase the reference count of a artist

Parameters:
[in] artist The artist object

bool sp_artist_is_loaded ( sp_artist artist  ) 

Check if the artist object is populated with data

Parameters:
[in] artist An artist object
Returns:
True if metadata is present, false if not

const char* sp_artist_name ( sp_artist artist  ) 

Return name of artist

Parameters:
[in] artist Artist object
Returns:
Name of artist. Returned string is valid as long as the artist object stays allocated and no longer than the next call to sp_session_process_events()

void sp_artist_release ( sp_artist artist  ) 

Decrease the reference count of a artist

Parameters:
[in] artist The artist object


Generated on Wed Nov 3 12:46:14 2010.
Copyright © 2006–2009 Spotify Ltd