summaryrefslogtreecommitdiff
path: root/src/ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui.c')
-rw-r--r--src/ui.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ui.c b/src/ui.c
index b1a6407..8543018 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -611,8 +611,11 @@ void BarStationFromGenre (BarApp_t *app) {
} while (curGenre == NULL);
/* create station */
+ PianoRequestDataCreateStation_t reqData;
+ reqData.token = curGenre->musicId;
+ reqData.type = PIANO_MUSICTYPE_INVALID;
BarUiMsg (&app->settings, MSG_INFO, "Adding shared station \"%s\"... ", curGenre->name);
- BarUiPianoCall (app, PIANO_REQUEST_CREATE_STATION, curGenre->musicId, &pRet, &wRet);
+ BarUiPianoCall (app, PIANO_REQUEST_CREATE_STATION, &reqData, &pRet, &wRet);
}
/* replaces format characters (%x) in format string with custom strings