diff options
author | Lars-Dominik Braun <PromyLOPh@gmail.com> | 2008-06-10 14:37:26 +0200 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@gmail.com> | 2008-06-10 14:37:26 +0200 |
commit | 37482265ddc20dcb8c6d4cbb5e7ba5470df0e2df (patch) | |
tree | 955803c80baadabba685b8a03bf5f71e8cb96125 /libpiano | |
parent | f990468cc7f40e5e890d8904e8edaa531d5dfefb (diff) | |
download | pianobar-windows-37482265ddc20dcb8c6d4cbb5e7ba5470df0e2df.tar.gz pianobar-windows-37482265ddc20dcb8c6d4cbb5e7ba5470df0e2df.tar.bz2 pianobar-windows-37482265ddc20dcb8c6d4cbb5e7ba5470df0e2df.zip |
PianoRateTrack documentation
Diffstat (limited to 'libpiano')
-rw-r--r-- | libpiano/main.c | 11 |
1 files changed, 11 insertions, 0 deletions
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]; |