summaryrefslogtreecommitdiffstats
path: root/apps/settings_list.c
diff options
context:
space:
mode:
authorMichael Giacomelli <giac2000@hotmail.com>2011-01-02 02:49:13 +0000
committerMichael Giacomelli <giac2000@hotmail.com>2011-01-02 02:49:13 +0000
commit66e8fc0f0d05d926a90e8d9991f78b7a855eb7f3 (patch)
tree7db19ba9c1f166c1f35e0581cd69801d7dc7e234 /apps/settings_list.c
parent4048cf27a24b93e76c4262974831669e79c71da8 (diff)
downloadrockbox-66e8fc0f0d05d926a90e8d9991f78b7a855eb7f3.tar.gz
rockbox-66e8fc0f0d05d926a90e8d9991f78b7a855eb7f3.zip
Commit part of FS#11748 by Michael Hohmuth. Adds support for automatically resuming any song that is not played to completion at any point later in time, regardless of how many intermediate tracks are played. This is accomplished by expanding the database to record incompletely played tracks. Currently, the feature is simply on or off, in which case all tracks automatically resume, or they do not. The remainder of patches in the task expand this feature by allowing only certain file to automatically resume, only resuming in certain circumstances, etc but are not included until we reach agreement on what should be included. Additionally, the manual will need to be updated once we agree on the available settings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28942 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings_list.c')
-rw-r--r--apps/settings_list.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/settings_list.c b/apps/settings_list.c
index 80000ab23f..3da5f1db62 100644
--- a/apps/settings_list.c
+++ b/apps/settings_list.c
@@ -1257,6 +1257,9 @@ const struct settings_list settings[] = {
ID2P(LANG_RANDOM)),
#ifdef HAVE_TAGCACHE
+ BOOL_SETTING(0, autoresume_enable, LANG_AUTORESUME_ENABLE, false,
+ "autoresume enable", off_on,
+ LANG_AUTORESUME_ENABLE_YES, LANG_SET_BOOL_NO, NULL),
OFFON_SETTING(0, runtimedb, LANG_RUNTIMEDB_ACTIVE, false,
"gather runtime data", NULL),
#endif