diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2022-06-01 02:00:30 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2022-12-03 07:29:42 -0500 |
commit | 8f582c90de487c5a29cb61f41a715630cb143d45 (patch) | |
tree | e5421113a175a1760e5d9676568f2638eb05c032 /apps/settings.h | |
parent | f033fd390eaf23be3e94cc503c92f065660b4d72 (diff) | |
download | rockbox-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.h')
-rw-r--r-- | apps/settings.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/settings.h b/apps/settings.h index 9c5bf0470f..df82ae3687 100644 --- a/apps/settings.h +++ b/apps/settings.h | |||
@@ -585,6 +585,7 @@ struct user_settings | |||
585 | unsigned char autoresume_paths[MAX_PATHNAME+1]; /* colon-separated list */ | 585 | unsigned char autoresume_paths[MAX_PATHNAME+1]; /* colon-separated list */ |
586 | bool runtimedb; /* runtime database active? */ | 586 | bool runtimedb; /* runtime database active? */ |
587 | unsigned char tagcache_scan_paths[MAX_PATHNAME+1]; | 587 | unsigned char tagcache_scan_paths[MAX_PATHNAME+1]; |
588 | unsigned char tagcache_db_path[MAX_PATHNAME+1]; | ||
588 | #endif /* HAVE_TAGCACHE */ | 589 | #endif /* HAVE_TAGCACHE */ |
589 | 590 | ||
590 | #if LCD_DEPTH > 1 | 591 | #if LCD_DEPTH > 1 |