compute_status_normal

@accepts(gint, glong, guint64, utf8, utf8)
@returns(utf8)
def compute_status_normal(n_songs, duration, size, singular, plural)

Creates a string containing the "status" information about a list of tracks. The singular and plural strings must be used in a direct ngettext call elsewhere in order for them to be marked for translation correctly.

n_songs :

the number of tracks.

duration :

the total duration of the tracks.

size :

the total size of the tracks.

singular :

singular form of the format string to use for entries (eg "%d song")

plural :

plural form of the format string to use for entries (eg "%d songs")

Returns :

the string, which should be freed with g_free.