summaryrefslogtreecommitdiff
path: root/apps/settings_list.c
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2022-06-01 02:00:30 +0100
committerAidan MacDonald <amachronic@protonmail.com>2022-12-03 07:29:42 -0500
commit8f582c90de487c5a29cb61f41a715630cb143d45 (patch)
treee5421113a175a1760e5d9676568f2638eb05c032 /apps/settings_list.c
parentf033fd390eaf23be3e94cc503c92f065660b4d72 (diff)
downloadrockbox-8f582c90de487c5a29cb61f41a715630cb143d45.tar.gz
rockbox-8f582c90de487c5a29cb61f41a715630cb143d45.zip
tagcache: add a setting for customizing the database path
Add a new setting, database path: /path/to/folder to change where the database files are stored, which allows it to be shared by multiple builds when using multiboot. This avoids the need to maintain a separate copy of the database for each build. This setting can only be set from the config file; it has no menu option yet (due to lack of a GUI to pick the directory). Change-Id: Ide7b3ccdd84abb62b52f900421bd3d101773e093
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 8aa476a133..eaa3b17e0c 100644
--- a/apps/settings_list.c
+++ b/apps/settings_list.c
@@ -1544,6 +1544,8 @@ const struct settings_list settings[] = {
1544 "gather runtime data", NULL), 1544 "gather runtime data", NULL),
1545 TEXT_SETTING(0, tagcache_scan_paths, "database scan paths", 1545 TEXT_SETTING(0, tagcache_scan_paths, "database scan paths",
1546 DEFAULT_TAGCACHE_SCAN_PATHS, NULL, NULL), 1546 DEFAULT_TAGCACHE_SCAN_PATHS, NULL, NULL),
1547 TEXT_SETTING(0, tagcache_db_path, "database path",
1548 ROCKBOX_DIR, NULL, NULL),
1547#endif 1549#endif
1548 1550
1549 /* replay gain */ 1551 /* replay gain */