summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@gmail.com>2008-07-16 21:12:54 +0200
committerLars-Dominik Braun <PromyLOPh@gmail.com>2008-07-16 21:12:54 +0200
commit3116926fefa426e0663f4caee06819163d8a6b82 (patch)
tree0ab24deae0bea04caa3f52c9af5cfa2736cb551f /src
parent87ed2514e36a2411fff7951856c61d0496d01ecf (diff)
downloadpianobar-3116926fefa426e0663f4caee06819163d8a6b82.tar.gz
pianobar-3116926fefa426e0663f4caee06819163d8a6b82.tar.bz2
pianobar-3116926fefa426e0663f4caee06819163d8a6b82.zip
Support rating of songs played by QuickMix
Attention! This breaks libpiano's api compatibility because of a changed argument count in PianoRateTrack
Diffstat (limited to 'src')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index fb9e02d..14091ca 100644
--- a/src/main.c
+++ b/src/main.c
@@ -418,7 +418,7 @@ int main (int argc, char **argv) {
break;
}
BarUiMsg ("Banning song... ");
- if (PianoRateTrack (&ph, curStation, curSong,
+ if (PianoRateTrack (&ph, curSong,
PIANO_RATE_BAN) == PIANO_RET_OK) {
BarUiMsg ("Ok.\n");
player.doQuit = 1;
@@ -476,7 +476,7 @@ int main (int argc, char **argv) {
break;
}
BarUiMsg ("Loving song... ");
- if (PianoRateTrack (&ph, curStation, curSong,
+ if (PianoRateTrack (&ph, curSong,
PIANO_RATE_LOVE) == PIANO_RET_OK) {
BarUiMsg ("Ok.\n");
} else {