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, 1 insertions, 4 deletions
diff --git a/src/ui.c b/src/ui.c
index 3f23a23..b1a6407 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -556,7 +556,6 @@ void BarStationFromGenre (BarApp_t *app) {
WaitressReturn_t wRet;
PianoGenreCategory_t *curCat;
PianoGenre_t *curGenre;
- PianoRequestDataCreateStation_t reqData;
int i;
/* receive genre stations list if not yet available */
@@ -613,9 +612,7 @@ void BarStationFromGenre (BarApp_t *app) {
/* create station */
BarUiMsg (&app->settings, MSG_INFO, "Adding shared station \"%s\"... ", curGenre->name);
- reqData.id = curGenre->musicId;
- reqData.type = "mi";
- BarUiPianoCall (app, PIANO_REQUEST_CREATE_STATION, &reqData, &pRet, &wRet);
+ BarUiPianoCall (app, PIANO_REQUEST_CREATE_STATION, curGenre->musicId, &pRet, &wRet);
}
/* replaces format characters (%x) in format string with custom strings