summaryrefslogtreecommitdiff
path: root/apps/settings_list.c
diff options
context:
space:
mode:
authorTorne Wuff <torne@wolfpuppy.org.uk>2010-07-05 16:39:00 +0000
committerTorne Wuff <torne@wolfpuppy.org.uk>2010-07-05 16:39:00 +0000
commitdb1b823ac3ea524d80a83876c9c99593d29f3817 (patch)
tree52a5ee873e0a35860e1134c6e254b862012fa9fd /apps/settings_list.c
parentd265bcf965c8b51911ed8ce8d664eb9629d8bfa0 (diff)
downloadrockbox-db1b823ac3ea524d80a83876c9c99593d29f3817.tar.gz
rockbox-db1b823ac3ea524d80a83876c9c99593d29f3817.zip
Provide the option to automatically update existing bookmark files on stop, without creating ones that don't already exist.
Idea from FS#6272, but implemented differently. If you set "Update on stop" then it will check if the bookmark file exists on stop, and if so, write a new one without prompting. If the file doesn't exist, it will do whatever the "Bookmark on stop" setting tells it to do. This works quite well if you have an audiobook/podcast/etc folder/playlist: just bookmark it manually once and it will get bookmarked automatically after that, without creating bookmarks for regular music. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27294 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings_list.c')
-rw-r--r--apps/settings_list.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/settings_list.c b/apps/settings_list.c
index 9412ee4dd5..09eee6bb57 100644
--- a/apps/settings_list.c
+++ b/apps/settings_list.c
@@ -989,6 +989,8 @@ const struct settings_list settings[] = {
989 ID2P(LANG_SET_BOOL_NO), ID2P(LANG_SET_BOOL_YES), 989 ID2P(LANG_SET_BOOL_NO), ID2P(LANG_SET_BOOL_YES),
990 ID2P(LANG_ASK), ID2P(LANG_BOOKMARK_SETTINGS_RECENT_ONLY_YES), 990 ID2P(LANG_ASK), ID2P(LANG_BOOKMARK_SETTINGS_RECENT_ONLY_YES),
991 ID2P(LANG_BOOKMARK_SETTINGS_RECENT_ONLY_ASK)), 991 ID2P(LANG_BOOKMARK_SETTINGS_RECENT_ONLY_ASK)),
992 OFFON_SETTING(0, autoupdatebookmark, LANG_BOOKMARK_SETTINGS_AUTOUPDATE,
993 false, "autoupdate bookmarks", NULL),
992 CHOICE_SETTING(0, autoloadbookmark, LANG_BOOKMARK_SETTINGS_AUTOLOAD, 994 CHOICE_SETTING(0, autoloadbookmark, LANG_BOOKMARK_SETTINGS_AUTOLOAD,
993 BOOKMARK_NO, "autoload bookmarks", off_on_ask, NULL, 3, 995 BOOKMARK_NO, "autoload bookmarks", off_on_ask, NULL, 3,
994 ID2P(LANG_SET_BOOL_NO), ID2P(LANG_SET_BOOL_YES), 996 ID2P(LANG_SET_BOOL_NO), ID2P(LANG_SET_BOOL_YES),