summaryrefslogtreecommitdiff
path: root/src/ui_act.c
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2011-09-22 12:22:14 +0200
committerLars-Dominik Braun <lars@6xq.net>2011-09-22 12:24:59 +0200
commit349bb987049eac94867c6a556449b57ca4674546 (patch)
tree243ef5fcda1fa3a909fb424d525104b9d29212a4 /src/ui_act.c
parent17825f0bca1d946df98e952db16e9480bb6699d8 (diff)
downloadpianobar-349bb987049eac94867c6a556449b57ca4674546.tar.gz
pianobar-349bb987049eac94867c6a556449b57ca4674546.tar.bz2
pianobar-349bb987049eac94867c6a556449b57ca4674546.zip
piano: Protocol version bump (v32)
Keys stay the same. Quickmix and seed suggestion API calls changed. Listener id is not part of the url any more. Bookmark API calls seem to be deprecated.
Diffstat (limited to 'src/ui_act.c')
-rw-r--r--src/ui_act.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui_act.c b/src/ui_act.c
index 6bdecf4..c1e7cb7 100644
--- a/src/ui_act.c
+++ b/src/ui_act.c
@@ -98,8 +98,8 @@ BarUiActCallback(BarUiActAddMusic) {
assert (selStation != NULL);
- reqData.musicId = BarUiSelectMusicId (app, app->playlist->musicId,
- "Add artist or title to station: ");
+ reqData.musicId = BarUiSelectMusicId (app, selStation,
+ selSong, "Add artist or title to station: ");
if (reqData.musicId != NULL) {
if (!BarTransformIfShared (app, selStation)) {
return;
@@ -147,7 +147,7 @@ BarUiActCallback(BarUiActCreateStation) {
WaitressReturn_t wRet;
PianoRequestDataCreateStation_t reqData;
- reqData.id = BarUiSelectMusicId (app, NULL,
+ reqData.id = BarUiSelectMusicId (app, NULL, NULL,
"Create station from artist or title: ");
if (reqData.id != NULL) {
reqData.type = "mi";