diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2018-10-30 09:43:32 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2018-12-14 14:03:12 +0100 |
commit | bea9cf7b1ee2eb87f1067e1cfafa3c627a982cf5 (patch) | |
tree | caa6f67f608c86ba9a667218a0a2872f0b3156e3 /apps/settings_list.c | |
parent | 6f020ef155de094fd2cdf30ed8258e7fed07a2e8 (diff) | |
download | rockbox-bea9cf7b1ee2eb87f1067e1cfafa3c627a982cf5.tar.gz rockbox-bea9cf7b1ee2eb87f1067e1cfafa3c627a982cf5.zip |
FS11473: Add bookmarking option: one per track.
Modified version from ticket, taken from Igor Poretsky's tree, and
further modified to incorporate feedback.
Change-Id: I9284497d53a0247a51739d29fdc1db5fbbebfadc
Diffstat (limited to 'apps/settings_list.c')
-rw-r--r-- | apps/settings_list.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/settings_list.c b/apps/settings_list.c index 57763d345a..d4ad6f64dc 100644 --- a/apps/settings_list.c +++ b/apps/settings_list.c | |||
@@ -1246,9 +1246,10 @@ const struct settings_list settings[] = { | |||
1246 | ID2P(LANG_ASK)), | 1246 | ID2P(LANG_ASK)), |
1247 | CHOICE_SETTING(0, usemrb, LANG_BOOKMARK_SETTINGS_MAINTAIN_RECENT_BOOKMARKS, | 1247 | CHOICE_SETTING(0, usemrb, LANG_BOOKMARK_SETTINGS_MAINTAIN_RECENT_BOOKMARKS, |
1248 | BOOKMARK_NO, "use most-recent-bookmarks", | 1248 | BOOKMARK_NO, "use most-recent-bookmarks", |
1249 | "off,on,unique only", NULL, 3, ID2P(LANG_SET_BOOL_NO), | 1249 | "off,on,unique only,one per track", NULL, 4, ID2P(LANG_SET_BOOL_NO), |
1250 | ID2P(LANG_SET_BOOL_YES), | 1250 | ID2P(LANG_SET_BOOL_YES), |
1251 | ID2P(LANG_BOOKMARK_SETTINGS_UNIQUE_ONLY)), | 1251 | ID2P(LANG_BOOKMARK_SETTINGS_ONE_PER_PLAYLIST), |
1252 | ID2P(LANG_BOOKMARK_SETTINGS_ONE_PER_TRACK)), | ||
1252 | #ifdef HAVE_LCD_BITMAP | 1253 | #ifdef HAVE_LCD_BITMAP |
1253 | /* peak meter */ | 1254 | /* peak meter */ |
1254 | STRINGCHOICE_SETTING(0, peak_meter_clip_hold, LANG_PM_CLIP_HOLD, 16, | 1255 | STRINGCHOICE_SETTING(0, peak_meter_clip_hold, LANG_PM_CLIP_HOLD, 16, |