From 37482265ddc20dcb8c6d4cbb5e7ba5470df0e2df Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Tue, 10 Jun 2008 14:37:26 +0200 Subject: PianoRateTrack documentation --- libpiano/main.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'libpiano') diff --git a/libpiano/main.c b/libpiano/main.c index 25fad38..2727719 100644 --- a/libpiano/main.c +++ b/libpiano/main.c @@ -218,6 +218,17 @@ void PianoGetPlaylist (PianoHandle_t *ph, char *stationId) { free (requestStr); } +/* love or ban track (you cannot remove your rating, so PIANO_RATE_NONE is + * not allowed + * @author PromyLOPh + * @added 2008-06-10 + * @public yes + * @param piano handle + * @param track will be added to this stations loved tracks list + * @param rate this track + * @param your rating + * @return value from return enum + */ PianoReturn_t PianoRateTrack (PianoHandle_t *ph, PianoStation_t *station, PianoSong_t *song, PianoSongRating_t rating) { char xmlSendBuf[10000], url[PIANO_URL_BUFFER_SIZE]; -- cgit v1.2.3