mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
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
This commit is contained in:
parent
f033fd390e
commit
8f582c90de
4 changed files with 71 additions and 32 deletions
|
|
@ -585,6 +585,7 @@ struct user_settings
|
|||
unsigned char autoresume_paths[MAX_PATHNAME+1]; /* colon-separated list */
|
||||
bool runtimedb; /* runtime database active? */
|
||||
unsigned char tagcache_scan_paths[MAX_PATHNAME+1];
|
||||
unsigned char tagcache_db_path[MAX_PATHNAME+1];
|
||||
#endif /* HAVE_TAGCACHE */
|
||||
|
||||
#if LCD_DEPTH > 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue