summaryrefslogtreecommitdiff
path: root/libpiano
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@gmail.com>2008-06-10 14:37:26 +0200
committerLars-Dominik Braun <PromyLOPh@gmail.com>2008-06-10 14:37:26 +0200
commit37482265ddc20dcb8c6d4cbb5e7ba5470df0e2df (patch)
tree955803c80baadabba685b8a03bf5f71e8cb96125 /libpiano
parentf990468cc7f40e5e890d8904e8edaa531d5dfefb (diff)
downloadpianobar-37482265ddc20dcb8c6d4cbb5e7ba5470df0e2df.tar.gz
pianobar-37482265ddc20dcb8c6d4cbb5e7ba5470df0e2df.tar.bz2
pianobar-37482265ddc20dcb8c6d4cbb5e7ba5470df0e2df.zip
PianoRateTrack documentation
Diffstat (limited to 'libpiano')
-rw-r--r--libpiano/main.c11
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];