Function

Purpleutil_set_current_song

Declaration [src]

void
purple_util_set_current_song (
  const char* title,
  const char* artist,
  const char* album
)

Description [src]

Set the appropriate presence values for the currently playing song.

Parameters

title const char*
 

The title of the song, NULL to unset the value.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
artist const char*
 

The artist of the song, can be NULL.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
album const char*
 

The album of the song, can be NULL.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.