diff options
Diffstat (limited to 'src/ui.c')
-rw-r--r-- | src/ui.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |