diff options
Diffstat (limited to 'apps/plugins/lib/playback_control.c')
| -rw-r--r-- | apps/plugins/lib/playback_control.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/apps/plugins/lib/playback_control.c b/apps/plugins/lib/playback_control.c index 34401e1..177f26a 100644 --- a/apps/plugins/lib/playback_control.c +++ b/apps/plugins/lib/playback_control.c @@ -65,10 +65,12 @@ static bool volume(void) static bool shuffle(void) { - struct opt_items names[] = { - { "No", -1 }, - { "Yes", -1 } - }; + struct opt_items names[2]; + names[0].string = "No"; + names[0].voice_id = -1; + names[1].string = "Yes"; + names[1].voice_id = -1; + return api->set_option("Shuffle", &api->global_settings->playlist_shuffle, BOOL, names, 2,NULL); } |